Sorry for not reading the documentation ... it just used to work and I didn't expect it to break :)
Thanks for clarifying things. Regards, Christian On Monday 29 October 2007 18:26:06 Bob Proulx wrote: > Christian Schubert wrote: > > PS1='\e[32m$\e[m' > > Non-printing characters need to be bracked with \[...\] to inform bash > that they do not display. Please see the bash documentation in the > section on "PROMPTING". > > \[ begin a sequence of non-printing characters, which could > be used to embed a terminal control sequence into the > prompt > \] end a sequence of non-printing characters > > I believe that will fix your problem. > > Bob