Re: Full-width characters can result in an unwanted space in filenames

2017-03-07 Thread Chet Ramey
On 3/3/17 9:53 PM, Misaki wrote: > 15 Mar 2015 > bash bug > Full-width character, followed by at least one full word with a space after > it. > > Example: あa a > > With trailing space. > > Typing before the full-width character causes the 'あ' to be pushed to next > line, with a blank space on

Re: Full-width characters can result in an unwanted space in filenames

2017-03-06 Thread Chet Ramey
On 3/6/17 2:11 PM, Misaki wrote: > At the risk of annoying people, I am replying to all. > > If a filename is displayed with 'ls', an extra space won't be copied if you > highlight and copy it (including middle-click paste/X selection). Is it not > possible to have user input work the same way?

Re: Full-width characters can result in an unwanted space in filenames

2017-03-06 Thread Misaki
On Sun, Mar 5, 2017 at 9:39 AM, L A Walsh wrote: > Chet Ramey wrote: > >> On 3/4/17 12:53 AM, Misaki wrote >> >>> Full-width character, followed by at least one full word with a space >>> after it. >>> >>> Example: あa a >>> With trailing space. >>> >>> >> >> This is a display artifact. If there i

Re: Full-width characters can result in an unwanted space in filenames

2017-03-06 Thread Misaki
On Sat, Mar 4, 2017 at 11:54 AM, Chet Ramey wrote: > On 3/4/17 12:53 AM, Misaki wrote: > > > 15 Mar 2015 > > bash bug > > Full-width character, followed by at least one full word with a space > after it. > > > > Example: あa a > > > > With trailing space. > > > > Typing before the full-width chara

Re: Full-width characters can result in an unwanted space in filenames

2017-03-05 Thread L A Walsh
Chet Ramey wrote: On 3/4/17 12:53 AM, Misaki wrote Full-width character, followed by at least one full word with a space after it. Example: あa a With trailing space. This is a display artifact. If there is one physical space left on the screen line, but the character to be printed occ

Re: Full-width characters can result in an unwanted space in filenames

2017-03-04 Thread Chet Ramey
On 3/4/17 12:53 AM, Misaki wrote: > 15 Mar 2015 > bash bug > Full-width character, followed by at least one full word with a space after > it. > > Example: あa a > > With trailing space. > > Typing before the full-width character causes the 'あ' to be pushed to next > line, with a blank space on

Re: Full-width characters can result in an unwanted space in filenames

2017-03-04 Thread Chet Ramey
On 3/4/17 12:53 AM, Misaki wrote: > 05 May 2015 > Maybe related bug. If line is offset, such as due to ctrl-C while a command > is running that doesn't doesn't cause a newline when it exits, then pasting > a string that contains full-width characters causes the display of the > first line to be tr

Full-width characters can result in an unwanted space in filenames

2017-03-03 Thread Misaki
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE