Using Jazz  |  Getting Started  |  About the LCRC  |  Presentations  |  Status  |  FAQ  |  Search   |   Main Page  

Alternate Shells - tcsh

tcsh A popular shell provided with the operating system, tcsh is available as a login shell. To change your login shell use the LCRC personal account pages accessible from the main LCRC account page https://accounts.lcrc.anl.gov/account.php.
Versions 6.10
Package type Shell
Known Problems No known bugs.
Documentation
Man page (man tcsh) - available on any LCRC machine.

Info (info tcsh) - available on any LCRC machine.

From the tcsh documentation:

When and how tcsh executes startup files.

For Login shells (subject to the -f option):
    On logging in:
       If `/etc/csh.cshrc' exists, then source it.

       If `/etc/csh.login' exists, then source it.

       If `~/.tcshrc' exists, then source it,
          else if `~/.cshrc' exists, then source it.

       If `~/.history' exists, then source it.

       If `~/.login' exists, then source it.

       If `~/.cshdirs' exists, then source it
          (or the value of the dirsfile shell variable)


    On logging out:
       If `/etc/.csh.logout' exists, source it.

       If `~/.logout' exists, source it.

For non-login interactive shells (subject to the -l and -d options):
    On starting up:
       If `/etc/csh.cshrc' exists, then source it.

       If `~/.tcshrc' exists, then source it,
          else if `~/.cshrc' exists, then source it.

Command line editor and bindkey

tcsh has the ability to edit the command line and history. You can set your editor style to vi-style or emacs-style by placing one of the following commands inside your $HOME/.tcshrc file:

     bindkey -v For vi-style
     bindkey -e For emacs-style

Help Security/Privacy Notice Disclaimer