[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to make colour prompts for pdksh



Hi!

I want to make my shell's prompt colourful :)

I'm using pdksh. There are tons of information provided by google, but 
none of them are working.

Setting my prompt to:
PS1=$'\E[31m'$USER@$'\E[1;33m'`hostname -s`:$'\E[0m>'

makes my prompt:
$\E[31mleva@$\E[1;33mleva:$\E[0m>

The colour codes gets ignored. Is this only working with the original 
korn shell? Is there colour support for the public domain korn shell?

Thanks!

Daniel

-- 
LeVA



Reply to: