1
0
Files
irix-657m-src/eoe/cmd/adm/cshrc
2022-09-29 17:59:04 +03:00

27 lines
573 B
Bash

#
# /etc/cshrc - Default settings for all csh users
#
# This is 'sourced' before $HOME/.cshrc, which in turn preceeds $HOME/.login
# when a csh user logs in or invokes /bin/su with the `-' option.
# Tell the shell where to look for mail.
if ($?MAIL == 0) setenv MAIL /usr/mail/$USER
set mail=$MAIL
if (! $?ENVONLY) then
# Print the message of the day.
cat -s /etc/motd
# Check for mail.
if ( -e /bin/mail ) then
if ( { /bin/mail -e } ) then
echo 'You have mail.'
endif
endif
endif
setenv MSGVERB text:action
setenv NOMSGLABEL 1
setenv NOMSGSEVERITY 1