Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-08-06 Thread Chet Ramey
On 8/6/16 12:02 AM, Eric Blake wrote: > In the cygwin build of bash, I've added 'set -o igncr', which controls > whether bash ignores ALL \r on input sources (script parsing, command > substitution, read builtin), which has been in use for many years now. > Maybe I should find the time to clean up

Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-08-05 Thread Eric Blake
On 08/05/2016 04:31 PM, Eric Blake wrote: > On 03/20/2016 11:49 AM, Chet Ramey wrote: >> On 3/20/16 12:54 AM, Жанна Целых wrote: >> >>> uname output: CYGWIN_NT-6.1 microsoft-win7 2.4.1(0.293/5/3) 2016-01-24 >>> 11:24 i686 Cygwin >>> Machine Type: i686-pc-cygwin >>> >>> Bash Version: 4.3 >>> Patch L

Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-08-05 Thread Eric Blake
On 03/20/2016 11:49 AM, Chet Ramey wrote: > On 3/20/16 12:54 AM, Жанна Целых wrote: > >> uname output: CYGWIN_NT-6.1 microsoft-win7 2.4.1(0.293/5/3) 2016-01-24 >> 11:24 i686 Cygwin >> Machine Type: i686-pc-cygwin >> >> Bash Version: 4.3 >> Patch Level: 42 >> Release Status: release >> >> Descripti

Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-03-20 Thread Жанна Целых
21.03.2016 3:49, Chet Ramey пишет: It may be the setmode() call in the read builtin, but that's been there forever. I don't use cygwin or test on it. You'll probably have better luck filing a bug report with the cygwin folks. Done it. Thank you for considering the previous email. Will try to so

Re: read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-03-20 Thread Chet Ramey
On 3/20/16 12:54 AM, Жанна Целых wrote: > uname output: CYGWIN_NT-6.1 microsoft-win7 2.4.1(0.293/5/3) 2016-01-24 > 11:24 i686 Cygwin > Machine Type: i686-pc-cygwin > > Bash Version: 4.3 > Patch Level: 42 > Release Status: release > > Description: > In bash-4.3-p42 from Cygwin read builti

read builtin ignores a byte after \r in bash-4.3-p42 in Cygwin

2016-03-20 Thread Жанна Целых
Configuration Information: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DRECYCLES_PIDS