tcsh

TENEX C Shell

Screenshot of a sample tcsh session
Developer(s) Ken Greer, Paul Placeway, Christos Zoulas, et al.
Stable release
6.20.00 / November 24, 2016 (2016-11-24)[1]
Repository github.com/tcsh-org/tcsh
Written in C
Operating system Cross-platform
Type Unix shell
License BSD License
Website www.tcsh.org

tcsh (/ˌtˈsʃɛl/ "tee-see-shell", /ˈtʃɛl/ "tee-shell", or as "tee see ess aitch") is a Unix shell based on and compatible with the C shell (csh). It is essentially the C shell with programmable command-line completion, command-line editing, and a few other features. Unlike the other common shells, functions cannot be defined in a tcsh script and the user must use aliases instead (as in csh). It is the native root shell for BSD-based systems such as FreeBSD.

History

The “t” in tcsh comes from the “T” in TENEX, an operating system which inspired Ken Greer at Carnegie Mellon University, the author of tcsh, with its command-completion feature.[2] Greer began working on his code to implement Tenex-style file name completion in September 1975, finally merging it into the C shell in December 1981.[3] Mike Ellis at Fairchild A.I. Labs added command completion in September 1983.[3] On October 3, 1983, Greer posted source to the net.sources newsgroup.[3]

Significant features

Deployment

Early versions of Mac OS X shipped with tcsh as the default shell, but the default for new accounts is bash as of 10.3. (tcsh is still provided, and upgrading the OS does not change the shell of any existing accounts). The tcsh is the default root shell of FreeBSD (the default user shell is POSIX-based)[4][5] and its descendants like DragonFly BSD and DesktopBSD.

See also

References

  1. Christos Zoulas. "tcsh-6.20.00 is now available!". mx.gw.com. Retrieved 24 November 2016.
  2. "The T in tcsh". Archived from the original on 14 April 2012. Retrieved 31 October 2013.
  3. 1 2 3 Ken Greer (Oct 3, 1983). "C shell with command and filename recognition/completion". Newsgroup: net.sources. Retrieved Dec 29, 2010.
  4. Michael Urban; Brian Tiemann (2002). Sams teach yourself FreeBSD in 24 hours. Sams Publishing. p. 56. ISBN 978-0-672-32424-6.
  5. POSIX 2008 Shell Command Language "The System V shell was selected as the starting point for the Shell and Utilities volume of POSIX.1-2008. The BSD C shell was excluded from consideration"
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.