#	@(#) cshrc 23.2 91/08/29 
#
#	Copyright (C) 1988-1991 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
#
#	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

# if HUSHLOGIN is not set, set it to NO, not the default of FALSE
	if ( $?HUSHLOGIN == 0 ) set HUSHLOGIN = NO

# if not doing a hushlogin, issue message of the day
	if ( $HUSHLOGIN != TRUE ) then
		echo ""		# skip a line
		if ( -r /etc/motd ) cat /etc/motd
	endif

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

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

# if not doing a hushlogin, check mailbox and news bulletins

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

# if this script set HUSHLOGIN, unset it
	if ( $HUSHLOGIN == NO ) unset HUSHLOGIN
setenv MERGE_SPCL_MSG "DOS Services"	### MERGE
setenv CODEPAGE "pc437"	### MERGE
setenv COUNTRY "1"	### MERGE
setenv KEYB "us"	### MERGE
