I have to work with a NFS user id between two hosts: A running Ksh 93 and B running pdksh 88. Both host run RedHat.
My problem has to do with the custom prompt I created on A: it works like a charm and display colors:
But I switch over to B, it all goes to hell (private info removed). The prompt fails to display colors like host A ; instead, the color codes are displayed "in clear".
The prompt on host B is not displaying colors like host A so I want B to display a basic prompt instead. To get around the problem, I edited my .kshrc file to add this code at the end
export NODE=`uname -n`
case $NODE in
The case statement does not work: PS1 does not switch to `PS1="[`logname`@`uname -n`]>"`.
Any idea what could be the problem? Thanks!