[Gllug] Coloured bash prompt

Tethys tet at createservices.com
Fri Apr 23 13:30:56 UTC 2004


Christian Smith writes:

>>[1] Solaris behaves the same, but it works fine on Tru64. I had initially
>>    thought it would be all SVR4 derived terminfos, but I guess DigiPaquard
>>    have fixed theirs.
>
>HPOX also does not handle setf or setaf, so it may be better to simply
>stick with the vt100 escape sequences for color, if you can assume you're
>using vt100 compatible terminal all the time.

Actually, it turns out I was just being dense. Solaris and AIX both handle
setaf perfectly... if terminfo for $TERM includes a setaf escape sequence!

Although I was using rxvt, $TERM was set to xterm, which doesn't support
colour...

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list