Red Hat Bugzilla – Bug 855660
bash fail display properly when windows is resized
Last modified: 2014-01-12 19:14:46 EST
Description of problem:
In some condition, bash dont display a new line while editing long commands
Steps to Reproduce:
1. open a virtual terminal not maximized
2. start something like vi
3. maximize the virtual tty with alt + F10
4. quit vi
5. try write a very long command
bash display something like :
"end of commandend of prompt $ begin of the very long command"
"begin of prompt end of prompt $ begin of the very long command
end of command"
The problem is fixed with setting the checkwinsize option. With should be done by default.
shopt -s checkwinsize
the problem is better described here:
checkwinsize option is set on in /etc/bashrc. That file is part of setup package. And because it is set there, I'm closing this bug as not a bug.