.cshrc
will do the following things
(here is the current .cshrc
template):
if !($?OSdir) setenv OSdir /strw0/manager
source $OSdir/lib/settings
set history=100
set ignoreeof
set nobeep
set notify
set time=(10 Elapsed:%E,User=%U,System=%S,CPU=%P.)
alias prompt 'set prompt="$HOST [\\!] > "'
prompt
alias which is used in some other aliases
that are included in the default .alias
file as examples.
set autolist=ambiguous
set correct=cmd
set prompt2='%R:'
set prompt3="Should't that be '%R' (y|n|e) ? "
set pushdsilent
set who='%n has %a %l from %m at %t'
tcsh
specific initializations, provided mainly
as examples.
alias precmd 'if ($?TITLEPATH) $OSdir/bin/termtitle $HOST \[$cwd\]'
bindkey '\e[2~' overwrite-mode
bindkey '\e[5~' history-search-backward
bindkey '\e[6~' history-search-forward
tcsh
: the insert key will toggle
overwrite-mode and the PgUp and PgDn keys can be used to search through
the command history.
if (-e $HOME/.alias) source $HOME/.alias
if (-e $HOME/.settings) source $HOME/.settings
.settings
for compatibility
with the old SFINX system.
package *
.packages
file. If an .packages
file
already existed, these entries are created when SfinxLite is
installed.