[EMAIL PROTECTED] wrote:

> I have it set thusly now:
> PS1='\[\e[0;7m\]\h[\w]\n\u\$\[\e[0m\] '
> .                     ^^  two-line prompt
> Is \n considered a printing character or not?

Yes.  It causes the visual display to change:  the cursor moves to the
next line.  Readline takes the newline into account when performing its
redisplay.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to