On Thu, 6 Aug 1998, Marcus Brinkmann wrote:

 :   set_prompt ()
 :   {
 :     local SAVE_CRS=`tput sc 2> /dev/null`
 :     local RESET_CRS=`tput rc 2> /dev/null`
 :     local CLOCKPOS=`tput cup 0 90 2> /dev/null`
 :     local FOREG=`tput setf 6 2> /dev/null` 
 :     local ALT_FOREG=`tput setf 3 2> /dev/null`
 :     local BACKG=`tput setb 0 2> /dev/null`
 :     local NORMAL=`tput sgr0 2> /dev/null`
 :     local BOLD=`tput bold 2> /dev/null`
 : 
 :     PS1="\[${NORMAL}${SAVE_CRS}${CLOCKPOS}${FOREG}${BACKG}${BOLD} \@ [EMAIL 
PROTECTED]:\w\$ "
 :   }
 :   set_prompt

Doesn't this execute those tput's everytime a new prompt has to be generated
(i.e. after every command) ?

 -Remco


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to