Re: Bug: terminal width incorrect if changed in child process

2006-07-28 Thread Chet Ramey
Devin Landes wrote: > PLATFORM > bashver 3.00.16(1)-release > hardware: intel 32 bit > os: fedora core 4 > > BUG > If the terminal width is changed while a child process of bash is > running (e.g. less), bash does not notice the change when it regains > control and line wrapping for the commandlin

Bug: terminal width incorrect if changed in child process

2006-07-28 Thread Devin Landes
PLATFORM bashver 3.00.16(1)-release hardware: intel 32 bit os: fedora core 4 BUG If the terminal width is changed while a child process of bash is running (e.g. less), bash does not notice the change when it regains control and line wrapping for the commandline works incorrectly. RECREATE make te

PATCH: direct xtrace to a file descriptor

2006-07-28 Thread Brian J. Murrell
Please find below a patch to allow one to direct the xtrace output of a shell to an alternate file descriptor. It can be used as such: $ XTRACE_FD=4 ./bash -x [script] 4>bash.debug or in a script: exec 4>bash.debug XTRACE_FD=4 set -x who This is very useful for separating the stderr of the she