[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#348524: Incorrect terminal width causing line wrap problems



Package: konsole

Version: 4:3.4.3-3

Severity: minor



Incorrect terminal width causing line wrap problems



Linux pingchan 2.6.13.2-k8.5 #1 Thu Nov 24 06:11:17 MST 2005 x86_64 GNU/Linux



When entering or pasting text into Konsole, it wraps onto the same line instead of the line below.  Also, actual terminal width does not match reported width.



Easy way to reproduce:

-open new Konsole window

-hold down 'a' for a while



This produces:

aaaaaaaaaaaaaa:~$ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa



Instead of:

mylogin@prompt:~$ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaa



Note that the top example is 79 columns, while the bottom is 80. I believe the problem is that while Konsole is reporting 80x25, it is only using 79 columns.

Resizing the window fixes the problem.  The odd part is, choosing 80x25 in the menu makes the actual window narrower and taller by 2 pixels instead of wider.



another related, but weirder, symptom:

-open new Konsole window

-press Enter 4-6 times

-hold down 'a' until bad wrapping occurs

-backspace to undo wrapping

-prompt should move up 2 lines, with partial line displayed below it



each time you cause a bad wrap, then undo it with backspace, the prompt should move up another 2 lines



Konsole 4:3.5.0-4 has an additional fix:

-if you press backspace with an empty command line, it fixes itself. 3.4.3 does NOT do this.



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!





Reply to: