Bug 284523 - Konsole does not notify shell of window size when window size is 40 rows x 80 columns
Summary: Konsole does not notify shell of window size when window size is 40 rows x 80...
Status: RESOLVED DUPLICATE of bug 176902
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.6
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 08:21 UTC by koersen
Modified: 2011-10-20 09:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description koersen 2011-10-20 08:21:17 UTC
Version:           2.6 (using KDE 4.6.0) 
OS:                Linux

I like my terminal windows to be 80x40 (40 rows x 80 columns), just like good old XTerm. With this size set, when I open a new terminal stty -a shows 'rows 0; columns 0'.

Reproducible: Didn't try

Steps to Reproduce:
Open console, resize window to 80x40;
Close konsole and re-open;
run stty -a

Actual Results:  
stty -a shows rows 0; columns 0;

This gives problems later, especially when using the bash command history.

Expected Results:  
stty -a should show rows 40; columns 80;

As a work-around I used to have an "eval `resize`" in my .bashrc, but xterm does not need that and it's only needed for 80x40, so I think konsole should notify the shell of it's size at startup, even if it is 80x40, just like xterm.

It seems like konsole specifically checks for size 80x40. I hope this check is not there because of some other bug.
Comment 1 Jekyll Wu 2011-10-20 09:06:26 UTC

*** This bug has been marked as a duplicate of bug 176902 ***