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[0m\] "
This works correctly with bash 4.0.24. Regards, Bernd -- Bernd Eggink http://sudrala.de