a.view(1)
NAME
a.view − establish C shell user aliases
FORMAT
source a.view
DESCRIPTION
a.view defines a number of aliases that simplify and enhance the use of the basic VADS commands for users of the C shell. The alias definitions allow a file name to be set once and thereafter alias commands use it until it is changed. Similarly, a main unit name need be entered only once. (It need not be entered at all if it is the same as the last specified file name prefix.) Compilation and linking aliases enter history and timing information into the ada.history file. For a full description, see the VADS Users Guide.
There are many alternatives for using the aliases. To use the aliases without any alteration, put the following single line in the >.login file.
source VADS_location/bin/a.view
This defines the aliases for interactive use. To write scripts that use these aliases, the same line must appear at the beginning of those scripts.
Aliases defined in a.view are summarized below. The term ‘tracking’ is used to indicate whether or not the main unit name is set to the same as the file name prefix.
ALIASES
a Compile established file name, put errors in ada.errors/filename, and history entry in ada.history.
ad Compile and run the debugger.
ah List last entry in ada.history.
al List established file name using more.
ald Link the established main unit.
am Execute a.make using file name specified in sm and put errors in ada.errors/unit_name.m.
ao Like a, but optimize code.
av Edit the established file name with vi.
ax Execute the established main unit.
axtime Same as ax, but also put timing entry into ada.timing.
e List erroneous lines and diagnostics from last compilation of established file name.
el List established file name with diagnostics from last compilation interspersed.
ev Edit the established file name with vi with diagnostics from last compilation interspersed.
s name Set file name prefix. If new working directory, then set tracking on. If tracking is on, then set main unit.
sb name Set file name prefix and main unit; set tracking on.
sm name Set main unit and set tracking off, so that the main unit name does not change with s command.
sp Print settings of file name prefix and main unit.
vs List status for the last executed VADS command.
FILES
ada.history history of compilations and results
ada.errors
directory containing error files from compilations
DIAGNOSTICS
Warnings are produced if any set command is used in a non-VADS library directory or if the specified source file does not exist in the library.