Re: Ctrl-U doesn't clear read -ep prompt input properly

2015-08-07 Thread Chet Ramey
On 8/7/15 3:21 PM, Nellis, Kenneth wrote: >> Since you're adding the non-visible characters to the prompt, you can >> try bracketing them with \001 and \002, but you have to do that yourself. >> > Hey, that works! Thanx! Didn't see it in the documentation. My bad? It's in the readline documentati

RE: Ctrl-U doesn't clear read -ep prompt input properly

2015-08-07 Thread Nellis, Kenneth
On Friday, August 07, 2015 3:01 PM, Chet Ramey wrote: > On 8/7/15 9:36 AM, Nellis, Kenneth wrote: > > Bash Version: 4.3 > > Patch Level: 39 > > Release Status: release > > > > Description: > > Pressing CTRL-U after entering data in response to a read -ep prompt > should work as does the PS1 bash pr

Re: Ctrl-U doesn't clear read -ep prompt input properly

2015-08-07 Thread Chet Ramey
On 8/7/15 9:36 AM, Nellis, Kenneth wrote: > Bash Version: 4.3 > Patch Level: 39 > Release Status: release > > Description: > Pressing CTRL-U after entering data in response to a read -ep prompt should > work as does the PS1 bash prompt. > Consider a custom PS1 bash prompt containing ansi escape s

Ctrl-U doesn't clear read -ep prompt input properly

2015-08-07 Thread Nellis, Kenneth
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='x86_64-unknown-cygwin' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale' -D