Re: fd redirection behaves strangely on OSX
George Huo wrote: > - A description of the bug behaviour. > While trying to use fd redirection, I seem to run into lingering bad fds that > I > need to exhaust with subsequent commands. See example below. I can't reproduce > the behaviour on a Linux machine running the same version of bash. When something like this happens, it's almost always due to a race condition. In this case, it's probably that the read end of the pipe has been closed or does not exist when cat tries to fstat it. I've spent quite a while looking for the race condition, but haven't found it yet. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/ ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash
Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.
Volkov Peter wrote: > Hello. > > The issue was reported at http://bugs.gentoo.org/156292 and is still > reproducible in bash-3.2 patch level 10 and with redisplay-cursor-patch. > > To save you time steps to reproduce the problem: > 1. Set PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' > 2. cd /usr/share > 3. press +R, then press letter 'e' and press button. > > Cursor appears at the first position in the line (the most left column). I can't reproduce this with bash-3.2.15 and Fedora Core 5 in a Parallels VM, with the Home key bound to beginning-of-line. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/ ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash