# Sets the terminal type for interactive shells:
# Last edited on 2001-01-28 22:46:44 by stolfi

# === TERMINAL SETTINGS ===============================================

# The shell is interactive. Set the command prompt:

set prompt  = "${USER}@${HOSTNAME} \!> "

# Tell DeskSet and XView applications to use 8-bit ISO characters:

setenv LC_ALL "C"
setenv LC_CTYPE "iso_8859_1"

if ( ! ( $?TERM ) ) setenv TERM "xterm"

# Fix terminal settings for rlogin shells run under emacs:

if ( "x$TERM" == "xemacs" ) then
  /bin/stty -onlcr -echo -echoprt -echoctl -icrnl -opost
else if ( "x$TERM" == "xxterm" ) then
  /bin/stty sane 
endif

# Redefine BACKSPACE to delete characters, DEL to delete words:

/bin/stty pass8 erase '^h' werase '^?'


