bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash prompt misbehaving - correction.


From: Chris Jones
Subject: Re: bash prompt misbehaving - correction.
Date: Tue, 30 Jun 2009 07:48:21 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

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 characters.
>> ...
>
>> PS1="\[\033[0;41m\][\$(date +%T)][\u@\h:\w]\\$\[\033[0m\] "
>
> This works correctly with bash 4.0.24.

I guess I need to check the NEWS file of this version to see if there
are any fixes that might have addressed this issue since 3.2.29.

CJ




reply via email to

[Prev in Thread] Current Thread [Next in Thread]