#
# Prompt pattern for tcsh. Each sequesnce means following features.
# If you want to know more, please type ``man tcsh''.
#   %m  HOSTNAME (before first dot)
#   %n  Your login-name
#   %c  Current directory
#   %h  Current history number
set prompt="%n@%m(%c)%h% "

# oracle8i
setenv  ORACLE_TERM ansi
setenv  ORACLE_SID  eap
setenv  ORACLE_HOME a
setenv  ORA_NLS33   $ORACLE_HOME/ocommon/nls/admin/data
setenv  NLS_DATE_FORMAT "YY/MM/DD HH24:MI:SS"
setenv  NLS_LANG    japanese_japan.ja16euc

# Directory list for executable commands.
#   /opt/local/bin      Local tools (not bundled with OS)
#   /opt/sfw/bin        GNU tools
#   /usr/ccs/bin        System bundled development commands
#   /usr/openwin/bin    OpenWindows (X-Window) commands
#   /usr/bin            System bundled commands
set path=( /usr/local/bin /usr/local/sbin \
        /usr/bin /bin /usr/sbin /sbin /usr/ccs/bin \
        /opt/sfw/bin /usr/openwin/bin /usr/ucb .)

# Number of history events to save
set history=20
set autologout=0
unset   watch


# Set japanese locale environment
setenv  LANG        ja

# Use less commands as pager (default is more commands)
setenv  TERM        vt100

# Directory list for online manual
#setenv  MANPATH /usr/local/man:/usr/share/man:/usr/man
setenv  LD_LIBRARY_PATH /usr/local/lib:/lib:/usr/lib

# umask
umask 022

#
#setenv  autologout    1200

#
stty intr ^C
stty erase ^H
stty istrip
setenv TERM vt100

# alias
alias   ls  ls -CFa
alias   la  ls -a
alias   rm  rm -i
alias   cp  cp -i
alias   h   history
alias   mv  'mv -i'
alias   l   'ls -lag'
alias   .   'echo $cwd'
alias   ..  'set dot=$cwd;cd ..'
alias   cd  'chdir \!*;echo $cwd'
alias   grep    grep -n

if ( -x /usr/ucb/hostname ) then
    set host = "`uname -n`"
    set prompt="%n@%m% "
#    set prompt = "! $host "$LOGNAME"> "
#    set prompt="`hostname`(`whoami`){\!}% "
else
    set prompt = "! csh> "
endif
