stty dec new -tostop
setenv TERMCAP /etc/termcap
setenv EDITOR /usr/local/bin/mg
setenv ESHELL /bin/csh
setenv MANPATH /usr/man:/usr/local/man
setenv LESS   dQM
setenv TTY    "`tty`"

setenv NETHACKOPTIONS 'name:Yuric,dogname:Ankhseti,catname:Bolt,fruit:banana,male,time,nopickup,pettype:dog,showexp'


limit coredumpsize 0	# No core dumps shall be done in case of errors
mesg y			# Other users are allowed to write to the terminal

if ( "$TTY" =~ /dev/tty[pqr]? && "$TERM" != annex && "$TERM" != network ) then
	# Remote login
else
	# Normal login
	source /usr/local/lib/setting
endif
