Re: Cursor misplaced while iterating history

2008-04-11 Thread João Abecasis
Paul Jarc wrote: > "João Abecasis" <[EMAIL PROTECTED]> wrote: > > > $ PS1='\e[0;[EMAIL PROTECTED] \W]$i\[\e[m\]' > > Sorry, ignore the previous message - you're missing \[ before the > first escape sequence. You're right, that fixed it. Thanks for the pointer to the FAQ as well -- it was i

Re: Cursor misplaced while iterating history

2008-04-11 Thread Paul Jarc
"João Abecasis" <[EMAIL PROTECTED]> wrote: > $ PS1='\e[0;[EMAIL PROTECTED] \W]$i\[\e[m\]' Sorry, ignore the previous message - you're missing \[ before the first escape sequence. paul

Re: Cursor misplaced while iterating history

2008-04-11 Thread Paul Jarc
"João Abecasis" <[EMAIL PROTECTED]> wrote: > $ PS1='\e[0;[EMAIL PROTECTED] \W]$i\[\e[m\]' See entry E3 in the bash FAQ: http://tiswww.case.edu/php/chet/bash/FAQ paul

Cursor misplaced while iterating history

2008-04-11 Thread João Abecasis
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: darwin9.2.2 Compiler: /usr/bin/gcc-4.0 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='darwin9.2.2' -DCONF_MACHTYPE='i386-apple-darwin9.2.2' -DCONF_VENDOR='apple' -DLOCALEDIR='/opt/loca