B.2. tcsh versus csh

 <  Day Day Up  >  

B.2. tcsh versus csh

The TC shell ( tcsh ) is an enhanced version of the Berkeley C shell ( csh ). Listed here are some of the new features.

  • An enhanced history mechanism

  • A built-in command line editor ( emacs or vi ) for editing the command line

  • Formatting the prompts

  • A spelling correction facility and special prompts for spelling correction and looping

  • Enhanced and programmed word completion for completing commands, filenames, variables , user names , etc.

  • Ability to create and modify key bindings

  • Automatic, periodic, and timed events (scheduled events, special aliases, automatic logout, terminal locking, etc.)

  • New built-in commands ( hup , ls “F , newgrp , printenv , which , where , etc.)

  • New built-in variables ( gid , loginsh , oid , shlvl , tty , uid , version , HOST , REMOTEHOST , VENDOR , OSTYPE , MACHTYPE )

  • Read-only variables

  • Better bug reporting facility

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net