[BACK]Return to ksh.kshrc CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/ksh.kshrc between version 1.2 and 1.3

version 1.2, 1996/12/16 03:49:50 version 1.3, 1998/03/22 03:39:10
Line 37 
Line 37 
         #       install whoami.sh          #       install whoami.sh
         USER=`whoami 2>/dev/null`          USER=`whoami 2>/dev/null`
         USER=${USER:-`id | sed 's/^[^(]*(\([^)]*\)).*/\1/'`}          USER=${USER:-`id | sed 's/^[^(]*(\([^)]*\)).*/\1/'`}
           UID=`id -u`
         case $UID in          case $UID in
         0) PS1S='# ';;          0) PS1S='# ';;
         esac          esac
Line 54 
Line 55 
         tty=`tty`          tty=`tty`
         tty=`basename $tty`          tty=`basename $tty`
         TTY=${TTY:-$tty}          TTY=${TTY:-$tty}
         # console is the system console device  
         console=`sysctl machdep.console_device | cut -d' ' -f3`  
   
         set -o emacs          set -o emacs
   
Line 82 
Line 81 
                 ;;                  ;;
         esac          esac
         case "$TERM" in          case "$TERM" in
         sun*)          sun*-s)
                 # these are not as neat as their csh equivalents                  # sun console with status line
                 if [ "$tty" != "$console" ]; then                  if [ "$tty" != "$console" ]; then
                         # ilabel                          # ilabel
                         ILS='\033]L'; ILE='\033\\'                          ILS='\033]L'; ILE='\033\\'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3