home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume39 / elfshell / part01 / .elven / csh / session < prev   
Encoding:
Text File  |  1993-08-29  |  1.2 KB  |  44 lines

  1. #----------------------------------------------------------------------#
  2. #   File:    ~/.elven/session
  3. #   Author:  Christoph. A. North-Keys
  4. #   Rev:     32,0 Dienstag.d.18.6.1991, Freitag.d.2.10.1990
  5. #----------------------------------------------------------------------#
  6. message 'session '
  7.  
  8. set history = 200 savehist = 100 filec
  9.  
  10. set _tag = '>' ; if ("`logname`" == "root") set _tag = '#'
  11. if ($?tcsh) then
  12.     set prompt2 = '    ' ;     unset autologout ;     alias cwdcmd .
  13.     if ( "1" == "`alias title | wc -l`") then
  14.         if($?prompt3) then
  15.             set prompt = '}-'${SHLVL}'.%h-'${_tag}' ' 
  16.         else
  17.             set prompt = '}-'${SHLVL}'.\!-'${_tag}' ' 
  18.         endif
  19.     else
  20.         if($?prompt3) then
  21.             set prompt = '}-%m(%c)-'${SHLVL}'.%h-'${_tag}' '
  22.         else
  23.             set prompt = '}-'${HOSTNICK}'-'${SHLVL}'.\!-'${_tag}' '
  24.         endif
  25.     endif
  26. else
  27.     if ( "1" == "`alias title | wc -l`") then
  28.         set prompt = '}-'${SHLVL}'.\!-'${_tag}' ' 
  29.     else
  30.         set prompt = '}-'${HOSTNICK}'-'${SHLVL}'.\!-'${_tag}' '
  31.     endif
  32. endif
  33. unset _tag
  34.  
  35. #    Timing information -- START
  36. set time=('65535' '===Timing Information\
  37.  Elapsed  :%E\
  38.  CPU Usage:%P (Kernel:%Ss User:%Us)\
  39.  Bl.Input :%I    Unsh Data:%Dk\
  40.  Bl.Output:%O    Unsh Stac:%Kk\
  41.  Swaps    :%W    Max RealM:%Mk\
  42.  Faults   :%F    Avg SharM:%Xk')
  43. #    Timing information -- END
  44.