bug-bash
[Top][All Lists]
Advanced

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

Re: off by one in wrapping long lines in bash-3.1


From: Mike Frysinger
Subject: Re: off by one in wrapping long lines in bash-3.1
Date: Thu, 12 Jan 2006 18:24:32 -0500
User-agent: KMail/1.9

On Thursday 12 January 2006 14:21, Chet Ramey wrote:
> > Repeat-By:
> >  - run 'bash'
> >  - hold down a letter until it gets to the edge of the terminal
> >  - observe the line wrapping too soon and overwriting current line
> >  - hit enter/resize terminal/etc...
> >  - hold down a letter until it gets to the edge of the terminal
> >  - observe the line wrapping properly now
>
> I can't reproduce it on MacOS X or Linux, using Terminal, xterm, or
> aterm.  It sounds like readline is getting an incorrect value for
> the terminal autowrap capability.

so there's no confusion, here's a screen shot of Eterm:
http://dev.gentoo.org/~vapier/bash-no-wrap.png

i have ncurses-5.5 / readline-5.1 installed on both my Gentoo/Debian 
machines ... i normally use Eterm, but i tried xterm, gnome-terminal, aterm, 
rxvt, screen, and the linux console and got the same incorrect results ...

fired up OS X (10.3.9) with Terminal and when i ssh into either my Gentoo or 
Debian box it fails to wrap properly ...

i talked to a friend who uses Fedora Rawhide and has bash-3.1(patch5), 
readline-5.5-10, and ncurses-5.0-3.1 and he was able to reproduce the bad 
behavior (he uses gnome-terminal) ...

not quite sure where to take this next as ive never poked around readline or 
bash before and terminals scare me :)
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]