Ashley Wilson wrote:
Repeat-By: Set a custom prompt using the PS1 variable as follows:PS1="\n\e[0;31m\u: \w\n# \e[m" Then, browse command history using up/down keys.
As the documentation states, you need to bracket sequences of non-printing characters in prompt strings with the \[ and \] escape sequences. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/