Unix, tcsh and emacs
Tom Kelliher, CS23
Feb. 14, 1996
- Extension of csh
- See tcsh(1)
- Useful features:
- Command line editing ( emacs-style commands)
- Previous command recall
- Filename completion (enabled by setting filec)
Basic material in chapter 6 of A&L
-
*
--- matches any (possibly empty) sequence of characters
-
?
--- matches any single character
Examples:
Turning wildcards, special meanings, off: quoting
- Backslash quotation: single character ``unquoting''
- Single quotation: literal text
- Double quotation: weaker quotation
- Back quotation: run command and substitute output
Running a job in the background: &
Putting a foreground job in the background: ^z
, bg
- alias, unalias
- fg
- jobs
- set, unset
- setenv, unsetenv
- cwd
- filec
- history
- home
- ignoreeof
- mail
- noclobber
- path
- prompt --- You might try:
set prompt="\
%m:%~\
%% "
- shell
- term
- tty
- user
- USER
- HOME
- PAGER
- LESS
- TERM
- BLOCKSIZE
- PATH
- SHELL
- HOST
- PWD
- PRINTER
- TERMCAP
-
^s
-
^q
-
^c
-
^u
-
^p
-
^n
-
^d
-
^z
-
^r
--- reprint
-
^h
- pine ( pico)
- emacs's Rmail
is a four letter word
- Extremely powerful, flexible
- A real memory hog
- Build on top of elisp
- Can be confusing, frustrating to learn
Where to begin with emacs? C-h t!!
Thomas P. Kelliher
Tue Feb 13 15:25:32 EST 1996
Tom Kelliher