Bug 21578 - bash2 fails to notice window size changes.
Summary: bash2 fails to notice window size changes.
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: bash
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-01 13:03 UTC by David Woodhouse
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-12-03 19:55:06 UTC


Attachments (Terms of Use)

Description David Woodhouse 2000-12-01 13:03:33 UTC
If a window size change occurs while a child is executing, bash2 won't get
the SIGWINCH and won't adjust its idea of the terminal size.

It should use TIOCGWINSZ to check the window size (just like the SIGWINCH
handler does) after anything which could have caused it to miss window size
changes.

Comment 1 Florian La Roche 2001-01-06 12:43:10 UTC
There is an option to set in bash that changes the behaviour of bash
wrt SIGWINCH. Please look for checkwinsize.


Note You need to log in before you can comment on or make changes to this bug.