xref: /freebsd/contrib/tcsh/src.desc (revision c80476e4c3e6730697b9424f88dfa74d1907cabd)
1Editor functions (ed.*c)
2ed.chared.c:	Editor basic function implementation. (Motion/Search etc.)
3ed.defns.c:	Editor command tables.
4ed.init.c:	Editor initialization. Tty/signal setup.
5ed.term.c:	Tty driver dependent initialization portion.
6ed.inputl.c:	Editor input, editor command parser, and dispatcher.
7ed.refresh.c:	Editor refreshing. How to change the old line to the current.
8ed.screen.c:	Termcap related functions.
9ed.xmap.c:	Key macro handling.
10
11glob.c:		The 4.4BSD globbing library function.
12
13Shell functions (sh*.c). All these files are from csh.
14sh.c:		Initialization, command loop and script handling.
15sh.char.c:	Character classification tables.
16sh.dir.c:	Directory handling (cd, pushd, popd, dirs). Initialization
17		and symbolic link resolution.
18sh.dol.c:	Input line processor. Dollar/History expansion.
19sh.err.c:	Error handling routines and table.
20sh.exec.c:	Command execution (searching and executing commands)
21		also which builtin.
22sh.exp.c:	Expression evaluation.
23sh.file.c:	Old csh file completion. Not used in tcsh.
24sh.func.c:	Csh builtin functions.
25sh.glob.c:	Wildcard matching. Also backquote, brace and tilde evaluation.
26sh.hist.c:	History book-keeping.
27sh.init.c:	Signal and builtin tables.
28sh.lex.c:	Lexical analyzer.
29sh.misc.c:	General purpose utilities.
30sh.parse.c:	Parser. Not really a parser. Recognizes sequences of tokens
31		as builtins.
32sh.print.c:	Primitive output (basic character output).
33sh.proc.c:	Job handling. Adds new children to the job list.
34		Catches dead children and removes them from the job list.
35		Builtins for stopping/killing/ and moving jobs to the background
36		foreground.
37sh.sem.c:	Job spawning (nice and time are handled here too) and I/O
38		redirection.
39sh.set.c:	Variable setting.
40sh.time.c:	Time keeping and reporting.
41
42Tcsh additions (tc*.c)
43tc.alloc.c:	Malloc/Free
44tc.bind.c:	Key binding user access functions.
45tc.const.c:	Short String constants.
46tc.disc.c:	Line discipline set/clear.
47tc.func.c:	Tcsh additional builtins.
48tc.os.c:	OS dependencies/system call emulations.
49tc.printf.c:	Stdio like printf using the routines in sh.print.c
50tc.prompt.c:	Prompt expansion.
51tc.sched.c:	Scheduling commands handling.
52tc.sig.c:	Signal emulation for SVR2, SVR1 and V5.
53tc.str.c:	<string.h> for short strings.
54tc.vers.c:	HOSTTYPE and $version
55tc.who.c:	Watch variable handling.
56
57Spelling, listing, and completion (tw*.c)
58tw.help.c:	Display help for a command by catting a file.
59tw.init.c:	Initialization and some utilities.
60tw.parse.c:	All the listing and completion. Tries to tokenize the line
61		and figure out where the word(s) started and if they were
62		commands or not. Then it applies the requested function to
63		the word fragment.
64tw.spell.c:	String spelling correction.
65tw.comp.c:	File completion builtin
66
67OS/Dependent files
68mi.termios.c:	Minix termios emulation
69mi.varargs.h:	Minix varargs
70mi.wait.h:	Minix wait.
71ma.setp.c:	MACH's setpath() library function
72atp.termcap.c:  Termcap routines for vmsposix
73