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