set mail = /usr/spool/mail/$user msgs -q # .login - INITIALIZATION DONE AFTER .cshrc IS PROCESSED # user-dependent stuff for login shell is done here. # make sure USER in environment is set if (! $?USER) setenv USER $home:t # everyone may read but not write users files & directories umask 22 # remember the last 20 commands entered set history=300 # prevent control-D from logging out - must use "logout" set ignoreeof # check for mail set mail=/usr/spool/mail/$USER # tighten constraints when using '>' and '>>' # set noclobber # ttyis sets the terminal type #add X11 for dis77link setenv PRINTER esd_90_2floorCR_hplj8100dn setenv XKEYSYMDB /usr/openwin/lib/XKeysymDB alias ttyis 'tset -s -Q -k -e \!* > /tmp/ts$$; source /tmp/ts$$; rm -f /tmp/ts$$ ' # can logout by entering "bye" alias bye logout alias lo logout # TSET is tset, in case terminal gets stuck # alias TSET tset # can enter "hi" to print the last 20 commands entered alias hi history # get the better mail program alias mail Mail # set EX options setenv EXINIT "set eb number redraw report=0 sh=/bin/csh" # install personal symbols and aliases e.g. # set uslttmac = /usr/src/local/text/tmac echo "hit RETURN or (if you know it) TERMINAL-NAME RETURN" ttyis -m :\?$term # check for new messages # msgs -q setenv IP esd_90_2floorCR_hplj8100dn