Argonne National Laboratory BG/L System

Main

How to use BGL

Getting Started
About the BG/L System
Presentations/Papers
CS Research
ANL BGL Wiki
Current Status and News
Support
BG Consortium
App Docs
Mailing lists
Policies
Search the site

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 your MCS personal account pages accessible from the main MCS account page https://accounts.mcs.anl.gov/account.php.
Versions 6.10
Package type Shell
Known Problems No known bugs.
Documentation
Man page (man tcsh) - available on any Argonne BG/L machine.

Info (info tcsh) - available on any Argonne BG/L 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