# MachTen (example) .cshrc template file
# An instance of csh begins by executing the commands in the
# .cshrc file in the user's home directory (~/.cshrc).
#
# For more information about csh, see the csh(1) man page.

#only run the following on interactive shells
if ($?prompt) then
    # Set up csh control variables:
    # Enable filename completion with <esc> and ^d
    set filec
    # Remember last 20 commands
    set history=20
    # Capture local host name once
    set host=`hostname`
    # Disable logout by typing ^d at the start of a command line
    set ignoreeof
    # Where csh should look for (and notify you about) new mail
    set mail="/var/mail/$USER"
    # Do not overwrite existing files during I/O redirection.
    set noclobber
    # Set prompt to include the user's name and local host's name
    set prompt="$USER@$host% "
    # Provide immediate job completion messages
    set notify
    # Remember last 20 commands from previous login
    set savehist=20

    # Set Mail control variables
    setenv EDITOR /usr/bin/nvi
    setenv VISUAL /usr/bin/nvi

    # ex/vi settings.
    setenv EXINIT 'set shell=/bin/csh magic redraw'

    # Command alias section.
    # Set up some useful short versions of often used commands.
    alias psh pushd .
    alias pop popd 
    alias hi history
    alias j jobs -l
    # Set up alias for cd/back.  cd works like regular cd
    # and sets shell variable $old so that the back alias
    # will put us back to the previous directory.
    alias cd 'set old="$cwd"; chdir \!*'
    alias back 'set back="$old"; set old="$cwd"; cd "$back"; unset back; dirs'
    # Set up alias that will show the 15 newest files in the
    # local directory, newest first.
    alias new 'ls -aglt \!* | head -15'
    alias z suspend
endif
setenv LESSCHARSET japanese-sjis
setenv PRINTER qms3g414
setenv TEXBIN /usr/local/tex/ntt/bin
setenv LCVUEBIN /home/fujiik/bin
setenv EDPATH /usr/local/tkpad
set path=($LCVUEBIN \
	/usr/local/bin \
	/usr/bin \
	/usr/sbin \
	/bin \
	/sbin \
	/usr/X11/bin \
	/usr/libexec \
	$EDPATH/bin \
	$TEXBIN\
)
setenv VUEJFONTSIZE 12
setenv MYOWNWS fujiipb
setenv WWW_HOME 'http://www-jlc.kek.jp'
setenv MAIL /var/mail/$LOGNAME
setenv LPDEST qms3g414
setenv PRINTER qms3g414
setenv MANPATH /usr/local/man\:/usr/local/tex/ntt/man\:/usr/local/canna/man\:/usr/local/share/man\:/usr/X11/man\:/usr/share/man

