What's up guys? Quick question.. I have always used bash and am relatively new to ksh. I have OpenBSD running on my netbook but am finding ksh lacking in functionality. man terminfo was not very helpful either.. I am basically just looking to change the colors of the prompt at this point and was wondering if anyone is familiar with ksh and has any good references. I am working with the .profile (although I did create a .kshrc and played with it as well). Nothing that I have located via Google has helped so far.. although I keep running into two statements... A) OpenBSD users are encouraged to keep ksh and not switch to bash to quickly B) I can do "almost" everything with ksh that I can do with bash... Ha
The bash documentation is definitely far superior to ksh as well.. This is where I am at this point... PS1=`logname`@:'$PWD>' That works fine but then I add: $'\E[31m' and $'\E[0m>' So that I have: PS1=$'\E[31m'`logname`@:'$PWD>' $'\E[0m>' This gives me an unexpected EOF end of file but I have played with it for a while to no avail... I have no qualms about going back to bash.. this is just bugging me... incidentally this would have been done in about fifteen seconds in bash! Ha Sorry for the n00b question! later Very Respectfully, Billy Haines Associate of (ISC)2 toward CISSP, CCNA Security, CCNA R&S, ETA FOI [email protected]

