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