Re: bash prompt misbehaving - correction.

2009-06-30 Thread Chet Ramey
Chris Jones wrote: > On Tue, Jun 30, 2009 at 08:30:35AM EDT, Chet Ramey wrote: >> Chris Jones wrote: >>> Not sure whether this is a bug in my version of bash, but I copied over >>> my colored PS1 prompts from debian etch - regular user & root - and some >>> convenient keyboard actions are misbehavi

Re: bash prompt misbehaving - correction.

2009-06-30 Thread Chris Jones
On Tue, Jun 30, 2009 at 08:30:35AM EDT, Chet Ramey wrote: > Chris Jones wrote: > > Not sure whether this is a bug in my version of bash, but I copied over > > my colored PS1 prompts from debian etch - regular user & root - and some > > convenient keyboard actions are misbehaving. After retrieving a

Re: bash prompt misbehaving - correction.

2009-06-30 Thread Chet Ramey
Chris Jones wrote: > Not sure whether this is a bug in my version of bash, but I copied over > my colored PS1 prompts from debian etch - regular user & root - and some > convenient keyboard actions are misbehaving. After retrieving a command > from the history via a CTRL-R, an ensuing CTRL-A moves

Re: bash prompt misbehaving - correction.

2009-06-30 Thread Chris Jones
On Tue, Jun 30, 2009 at 05:23:27AM EDT, Bernd Eggink wrote: > Chris Jones schrieb: >> ... > > After retrieving a command >> from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to >> somewhere in the middle of the prompt and CTRL-E is short of the >> retrieved command's end by some ten

Re: bash prompt misbehaving - correction.

2009-06-30 Thread Bernd Eggink
Chris Jones schrieb: ... > After retrieving a command from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to somewhere in the middle of the prompt and CTRL-E is short of the retrieved command's end by some ten characters. ... PS1="\[\033[0;41m\][\$(date +%T)]...@\h:\w]\\$\[\033

bash prompt misbehaving - correction.

2009-06-30 Thread Chris Jones
Not sure whether this is a bug in my version of bash, but I copied over my colored PS1 prompts from debian etch - regular user & root - and some convenient keyboard actions are misbehaving. After retrieving a command from the history via a CTRL-R, an ensuing CTRL-A moves the cursor to somewhere in