Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15693
| From | Алексей Шилин <rootlexx@mail.ru> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue |
| Date | 2019-12-03 21:43 +0300 |
| Message-ID | <mailman.212.1575398629.1979.bug-bash@gnu.org> (permalink) |
| References | (2 earlier) <db11c81c9312dec35fa6579db44dc03d03bb27fd.camel@mail.ru> <f7cb9c63-1eeb-89c0-2bb7-439794075279@case.edu> <f2e0255652f53d22135229ed61f27cca00a312fe.camel@mail.ru> <2f0b7923-3b8b-f16c-f35f-f4c8c6782161@case.edu> <855d321fac7116e8eaa7561ea30b0ac5a309df94.camel@mail.ru> |
В Ср, 27/11/2019 в 20:29 -0500, Chet Ramey пишет:
> I poked around enough and found the cause. There will be a
> fix in the next devel branch push.
The first issue with the line not being cleared is indeed fixed.
Thanks!
The second one with incorrect history entry output position after e.g.
End is pressed is unfortunately still there:
test@sid-bash:~$ echo $0
/usr/local/bin/bash
test@sid-bash:~$ PS1='\[\e]0;тестоваястрока\a\]test prompt\$ '
test prompt$ echo hello world
hello world
test prompt$
# Press C-r, type 'he' and press End
# Result:
test prompt$rld
^------ cursor is here
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security
uname output: Linux sid-bash 4.19.0-6-amd64 #1 SMP Debian 4.19.67-
2+deb10u2 (2019-11-11) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0
Patch Level: 11
Release Status: maint
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: [readline] Multibyte invisible chars cause weird prompt length calculation issue Алексей Шилин <rootlexx@mail.ru> - 2019-12-03 21:43 +0300
csiph-web