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 commandline works incorrectly.
> 
> RECREATE
> make terminal width very narrow (like 10 chars)
> run bash
> run less
> make terminal width wide again
> exit less
> type in a long command on the commandline
> 
> FIX
> bash should query the terminal size (and possibly other similar info
> that might have changed) when returning from a child process.

Please read the description of the `checkwinsize' shell option in the
man page, under the description of the `shopt' builtin.

This issue is also covered by question E11 in the Bash FAQ.

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

Reply via email to