Bug#419578: gnome-terminal: back arrow doesn't show correctly long command lines if terminal window is enlarged

Thomas Dickey dickey at radix.net
Tue Apr 17 23:21:16 UTC 2007


On Tue, Apr 17, 2007 at 01:46:45PM -0400, don Paolo Benvenuto wrote:
> El mar, 17-04-2007 a las 06:48 -0400, Thomas Dickey escribió:
> 
> > > Reproduce this bug this way:
> > > 
> > > You have an open gnome-terminal with its window not fully enlarged, and you time a command longer than a line.
> > 
> > The first thing to check for is whether you're using bash and (for example)
> > have escape characters in your prompt which are not delimited with \[ and \].
> 
> I have in .bash_rc:
> 
> PS1='\u@\h:\w\$ '
> 
> I intend it's ok!

It looks ok (all printable, no escapes).  I was asking about something
like this

	PS1='\e[1m\w\e[0m '

compared to this

	PS1='\[\e[1m\w\e[0m\] '

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070417/979600b8/attachment.pgp


More information about the pkg-gnome-maintainers mailing list