Bug 284523

Summary: Konsole does not notify shell of window size when window size is 40 rows x 80 columns
Product: [Applications] konsole Reporter: koersen
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: minor CC: adaptee
Priority: NOR    
Version: 2.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

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 ***