2.9BSD/usr/src/ucb/vsh/doc/roadmap

This is a roadmap of Vsh files and what they contain.

classify.h
	When a file is selected, Vsh determines what kind of file it
	is.  The classify procedure in classify.c returns one of the
	file types in classify.h.

command.h
	Important definitions for the command processor are found in
	command.h.  This includes definitions of important structures
	and macros and procs for accessing those structures.

hd.h
	This fle is included in all Vsh programs.  It contains an
	assortmant of useful macros and fundimental parameters.

mydir.h
	Include this file if necessary to access the directory.

strings.h
	 This file contains useful definitions for character string
	 manipulation.  Ascii acts as an array indexed from
	 -1 (EOF) to 0x7f (the highest ascii character).
	 Ascii [char] returns a bit string which classifies char.

account.c
	Account.c keeps track of the users of Vsh.  On entry procedure
	comein logs the starting time.  On exit, procedure goout
	stores usage statistics in a log file.

ascii.c
	This file contains initialization necessary for the
	macros in ascii.h

at.c
	This file contains routines for manipulating the display.

classify.c
	Classify returns the file type of its argument.  See classify.h
	for possible file types.

cmdini.c
	This file contains initialization for tables used by the
	command processor.

cmdload.c
	Cmdload loads commands and parameters from the .vshrc file.

cmdrun.c
	Procedure command runs its argument as a command.

curdir.c
	Curdir is called during initialization to determine the full
	path name of the current directory.  It calls /bin/pwd to
	do the work.

curses.c
	This loads information from the termcap file necessary
	for addressing the cursor.

dir.c
	Dir.c contains the basic directory procedures.

dircmd.c
	Dircmd processes commands only available on the directory page.

dirlist.c
	This file contains procedures which print status found in a
	file's inode in the manner of Ls(I).

enterf.c
	Enterfile classiffies a file and then takes action to
	appropriately select that file.

file.c
	File is a command procedure which interfaces to enterfile.
	Create is a command procedure which creates new files.

grep.c
	This file contains an interface to grep (I).

help.c
	This contains procedures which mostly display help files,
	although any file may be displayed.

main.c
	Here one finds lots of initialization, and then a call to
	the main loop in process.c

make.c
	This contains fmake and wmake, two interfaces to make.

miscmd.c
	This contains the date and the shell commands.

page.c
	Page displays a file in 23 line pages.

process.c
	This contains the main loop.

readarg.c
	Readarg is a simple scanner used to load .vshrc.

remove.c
	Remove is a command procedure which removes files.

show.c
	This file contains the procedures which implement
	showfile mode.

showopen.c
	Showopen opens the showfile for show, make, and grep commands.

strings.c
	This contains useful character character string oriented procs.

tty.c
	Procedures for minipulating sgtty options.

xeq.c
	This file contains procedures for executing other programs.