if ($term =~ xterm) then
  set noglob;eval `tset -s -I -Q xterm`||unset noglob
endif

if (("$term" == switch) || ("$term" == network) || ("$term" == dialup)) then
  if (! $?DEF_TERM) setenv DEF_TERM vt100
  set noglob; eval `tset -s -I -Q "?${DEF_TERM}"` || unset noglob
endif

set ignoreeof
# ^D won't log you out
