vi editing mode + color prompt = trouble?

2008-12-09 Thread Halim Issa
On bash 3.2 patchlevel 048 (and earlier) there appears to be problems in vi mode and prompts containing escape characters (such as to get bold text). To reproduce: Enter vi editing mode set -o vi Set the following prompt: export PS1="[\!] [EMAIL PROTECTED]:\w>" Type "one two three four five six

Re: vi editing mode + color prompt = trouble?

2008-12-20 Thread Halim Issa
Thanks for replying! On Saturday 13 December 2008 04:38:43 Chet Ramey wrote: > Halim Issa wrote: > > Type "one two three four five six seven eight" press ESCape and 7 B to go > > seven words back. This takes me right in the middle of the prompt while > > displaying