Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsl!cbnewsk!noraa From: noraa@cbnewsk.cb.att.com (aaron.l.hoffmeyer) Newsgroups: comp.unix.shell Subject: ksh prompt Message-ID: <1991Mar8.234706.15343@cbnewsk.att.com> Date: 8 Mar 91 23:47:06 GMT Sender: noraa@cbnewsk.att.com (aaron.l.hoffmeyer) Organization: AT&T Bell Laboratories Lines: 20 Thanks to Ihor Kinal, I've set PS1 so that it prints in reverse video on my terminal. This is what I have in my .profile: export RMSO=`tput rmso` export SMSO=`tput smso` export PS1='${SMSO}${SYSNAME} ${PWD#HOME/}-> ${RMSO} ' Yes, it can get long if the path to where you are at is long, but that doesn't bother me. What I like is that when I am running windows or layers I can immediately tell where I am at in a window. No need for pwd. Also, I can tell which machine I am logged on to in the window or layer (as long as I put the above lines in all my .profiles on the machines that I routinely work on. I know there are many ways to get this same information and have it displayed in X Windows, but I like to be consistent across machines. Anyway, try this out - you might like it. Aaron L. Hoffmeyer TR@CBNEA.ATT.COM