FS#7565 - Bug while resizing ncurses applications

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Thursday, 05 July 2007, 16:52 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 11 January 2008, 19:29 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
ncurses apps can not get new terminal window size after resizing.

It seems problem is in ncurses. I try to rebuild it with --enable-sigwinch, but nothing happens.

Steps to reproduce:
Run htop or dialog in xterm and resize xterm window.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 11 January 2008, 19:29 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Friday, 06 July 2007, 14:19 GMT
I fixed this by commenting

#export COLUMNS LINES

line in /etc/profile, So it seems as bash package bug.
Comment by Callan Barrett (wizzomafizzo) - Saturday, 14 July 2007, 18:51 GMT
Just to add, this isn't a problem with bash or ncurses so much. This comes from the fact xterm has a hard time updating variables when it resizes, you'll probably find bash and htop/whatever works perfectly in any other terminal.
Comment by Sergej Pupykin (sergej) - Saturday, 14 July 2007, 19:49 GMT
No, I checked urxvt and konsole also...
Comment by Fredrik (vEX) - Tuesday, 09 October 2007, 19:47 GMT
I just tried running htop in urxvt and resizing the window 'causes htop to exit for me. ncmpc doesn't exit, but keeps the old size (if resized to be bigger, otherwise it screws up completely for me) when resizing.
Comment by Roman Kyrylych (Romashka) - Friday, 11 January 2008, 13:34 GMT
export COLUMNS LINES is no longer in /etc/profile (in filesystem package from Testing)
Sergej, please confirm the bug is fixed.

Loading...