home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 4.ddi / etc / cshrc next >
Encoding:
Text File  |  1990-12-08  |  703 b   |  28 lines

  1. #    Copyright (c) 1987, 1988 Microsoft Corporation
  2. #      All Rights Reserved
  3.  
  4. #    This Module contains Proprietary Information of Microsoft
  5. #    Corporation and should be treated as Confidential.
  6.  
  7. #ident    "@(#)/etc/cshrc.sl 1.1 4.0 12/08/90 22582 AT&T-USL"
  8.  
  9. umask 022    # set default file creation mask
  10.  
  11. # calculate available disk space in root filesystem.
  12.     echo ""        # skip a line
  13.     /bin/sh /etc/dfspace
  14.  
  15. # issue message of the day
  16.     echo ""        # skip a line
  17.     if ( -r /etc/motd ) cat /etc/motd
  18.  
  19. # set default attributes for terminal
  20.     stty erase '^h' echoe
  21.  
  22.     if ( $?LOGTTY == 0) set LOGTTY = `tty`
  23.  
  24. # check mailbox and news bulletins
  25.     mail -e
  26.     if ( $status == 0 ) echo "\nyou have mail"
  27.     if ( $LOGNAME != root ) news -n
  28.