Hi,

On Tue, Mar 11, 2003 at 10:40:13AM +0800, Chan-Wah Ng wrote:
> I have this annoying problem with bash: whenever I tried to autocomplete
> a long path, or try to press  the up arrow key to go back to a previous
> long command, bash always thinks that my console or Eterm window is less
> than 80 columns and wraps around in a way that mess up the screen.

I had the same problem:

I changed my PS1 (the variable which defines the prompt) to have colors
with ANSI-sequences, like \033[31;1m.  But these ANSI-sequence must be
cirumscribed by \[ and \] (e.g. \[\033[31;1m\]; as the Gentoo default).

hth,
Ingo

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to