:
#	@(#) cshrc 1.6 89/03/29 
#
#
#    Portions Copyright 1983-1989 The Santa Cruz Operation, Inc
#		      All Rights Reserved
#	Copyright (c) 1984, 1986, 1987, 1988 AT&T
#		      All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#	Copyright (c) 1987, 1988 Microsoft Corporation
#	  All Rights Reserved

#	This Module contains Proprietary Information of Microsoft
#	Corporation and should be treated as Confidential.

#ident	"@(#)adm:cshrc	1.2"

umask 077	# set default file creation mask

# issue message of the day
	echo ""		# skip a line
	if ( -r /etc/motd ) cat /etc/motd

# set default attributes for terminal
	stty erase '^h' echoe

	if ( $?LOGTTY == 0) set LOGTTY = `tty`

# check mailbox and news bulletins

	if ( $?MAIL == 0 ) setenv MAIL /usr/spool/mail/$LOGNAME
	if ( ( -z $MAIL  || -e $MAIL ) && !( -z $MAIL && -e $MAIL ) ) echo "\nYou have mail"
	if ( $LOGNAME != root && -x /usr/bin/news ) news -n
