On 12/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On 2006-12-22 04:34:22 -0600, dearvoid <[EMAIL PROTECTED]> said: I will need to "close" each prompt line with an end-hilight code, do the \n, then begin the next line with a start-hilight code, such as: PS1='\[\e[0;7m\]\h[\w]\[\e[0m\]\n\[\e[0;7m\]\u\$\[\e[0m\] ' . ^^^^^^^^^ ^^^^^^^^^^^
But do I put \[ \] around a \n (or include it there-in) ? Bash knows exactly what \n means in PS1 and can handle it well so we need not put \[ \] around \n . BTW: I also use MacOSX on my iBook G4. _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash