Path: utzoo!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!sdd.hp.com!cs.utexas.edu!uunet!infonode!ingr!nijmeg!clercqm From: clercqm@nijmeg (Marien de Clercq) Newsgroups: comp.unix.shell Subject: Re: ksh prompt Message-ID: <1991Mar12.180408.26450@nijmeg> Date: 12 Mar 91 18:04:08 GMT References: <1991Mar8.234706.15343@cbnewsk.att.com> Organization: Intergraph Nijmegen Lines: 25 noraa@cbnewsk.cb.att.com (aaron.l.hoffmeyer) writes: >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} ' I don't know if you use the environment variables RMSO and SMSO again at other places, but if you don't, why bother defining them if you could the same with: PS1=`tput smso`'${SYSNAME} ${PWD#HOME/}-> '`tput rmso` (I don't know why you should export PS1, I never did) -- Marien de Clercq Intergraph European Mfg. bv. Nijmegen - The Netherlands Mail: (..!)uunet!ingr!nijmeg!m_clercq