[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Interactive wrapping problem
From: |
Tim Waugh |
Subject: |
Interactive wrapping problem |
Date: |
Fri, 1 Aug 2003 10:43:41 +0100 |
User-agent: |
Mutt/1.4.1i |
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-D_GNU_SOURCE -O2 -g -pipe -march=i386 -mcpu=i686
uname output: Linux gene.surrey.redhat.com 2.4.21-20.1.2024.2.1.nptl #1 Fri Jul
11 06:04:52 EDT 2003 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=100831
"The problem shows up when I change bash prompt to use colors.
This prompt is useful as it makes it easier to find the lines
where commands are typed. I use xterm, but it also happens
in a few of other xterm-like windows.
After redefining the prompt to use colors, I get a nice, blue
prompt on my xterm window. Then when I type any long command
I get:
- Early wrapping: new command line does not use last columns
of the 80-chars xterm window
- Overwritting: A newline char is not issued when wrapping
occurs. The wrapped characters start to overwrite the
prompt and the first characters of the command.
I can live with early wrapping, but the overwritting
behaviour is terribly annoying!
Repeat-By:
$ export PS1="\e[1;38mTextHereDoesNotMatter>\e[0m "
Type any long command, the problem shows up as the command is
typed in.
pgpalOsxGvWpv.pgp
Description: PGP signature
- Interactive wrapping problem,
Tim Waugh <=