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

Bug#348524: marked as done (Incorrect terminal width causing line wrap problems)



Your message dated Fri, 19 May 2006 14:34:30 +0200
with message-id <20060519123430.GA5763@mad.intersec.fr>
and subject line Incorrect terminal width causing line wrap problems
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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!




--- End Message ---
--- Begin Message ---
On Tue, Jan 17, 2006 at 10:20:20AM -0500, spikethehobbitmage@excite.com wrote:
> 
> 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.

  this is most likely due to a bad $PROMPT.

  eg, if you use escape sequences to display colour, you *HAVE* to use
escapes to that the terminal ignores them to calculate the length of
your current line. please read your shell man page about that issue.

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: