Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 uname output: Linux cerise 2.6.22 #3 PREEMPT Thu Dec 13 08:16:24 PST 2007 i686 GNU/Linux Machine Type: i486-pc-linux-gnu
Bash Version: 3.1 Patch Level: 17 Release Status: release Description: When an xterm is resized while a job is running, Bash does not notice unless the shell option "checkwinsize" is set. This behavior is rarely (never?) desirable when Bash is being used with readline editing enabled. Repeat-By: Open an xterm and run bash interactively. Type a command the wraps past the end of the line, for example: echo "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Use C-p to view the previous line in the history. Notice that the line is printed correctly. Use C-n to clear the line. Run a program that takes some time, such as "sleep 30", and, during that time, use your window manager to resize the terminal window to have more columns. Use C-p C-p to view the line again. Notice that the text is garbled and useless. Curse under your breath. Fix: Bash should default to setting checkwinsize whenever it is started with readline editing enabled. The bash documentation need not be updated, as it currently says nothing about checkwinsize's default state. Question E11 can be removed from the FAQ.