Re: prompt with \w incl. long UTF string messes up command line

2015-11-30 Thread Chet Ramey
On 11/25/15 3:33 AM, Ryo Furue wrote: > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > When PS1 includes \w and when \w contains long path including UTF > characters, the cursor position or the command line is messed up. > > Repeat-By: > 1. Source the attached s

Re: prompt with \w incl. long UTF string messes up command line

2015-11-26 Thread Linda Walsh
Your prompt might be too long. Your 'dir' string is awfully long... echo "$dir"|wc -c 270 --- I tried a shorter version on linux: sdir='△_ >' pre='Ishtar:/tmp/' ## prefix of my dir Ishtar:/tmp/△> 012345678901234567890123456 -bash: 012345678901234567890123456: command no

prompt with \w incl. long UTF string messes up command line

2015-11-25 Thread Ryo Furue
Dear bash maintainers, Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin14.5.0 Compiler: clang Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='darwin14.5.0' -DCONF_MACHTYPE='x86_64-apple-darwin14.5.0' -DCONF_VENDOR='apple'