FS#50862 - [mc] $COLUMNS not updated in subshell

Attached to Project: Community Packages
Opened by Alad Wenter (Alad) - Wednesday, 21 September 2016, 22:15 GMT
Last edited by Jakob Gruber (schuay) - Saturday, 24 September 2016, 07:20 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jakob Gruber (schuay)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

See http://www.midnight-commander.org/ticket/3639

This renders the mc subshell mostly useless, as any window resize breaks terminal applications (including the shell itself).

Since the 4.8.18 release is still a while away <https://www.midnight-commander.org/milestone/4.8.18>, I propose to include this change to the 4.8.17 package. The relevant changeset applies cleanly:

http://www.midnight-commander.org/changeset/57d713085bdb8dfa02a605c99d800b39c15052b9

Additional info:
* package version(s)
v4.8.17
* config and/or log files etc.


Steps to reproduce:

1. run mc
2. go to subshell with ^o
3. echo $COLUMNS
4. resize terminal window
5. echo $COLUMNS
6. notice $COLUMNS is the same as in 3.
This task depends upon

Closed by  Jakob Gruber (schuay)
Saturday, 24 September 2016, 07:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.8.17-2

Loading...