home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
norge.freeshell.org (192.94.73.8)
/
192.94.73.8.tar
/
192.94.73.8
/
pub
/
computers
/
pdp10
/
tops-10
/
declar.hlp
< prev
next >
Wrap
Text File
|
1995-04-05
|
2KB
|
51 lines
[DECLARE.HLP 8-Sep-1982]
The DECLARE program allows a user to manipulate user-defined commands.
The syntax to define a command is:
NAME=FILESPEC
or
NAME/UNIQUE:n=FILESPEC
where "n" is either 1,2,3 or 4.
When a command has been defined, the monitor will from then on search
the users' command table in parallel with the monitor command table. In
the case of conflicts, exact definitions are given precedence, and in
the case of conflicts within this, the users commands are given
precedence.
In the case of conflicts arising from an abbreviation being given, the
monitor re-searches its own command table without searching the users'
command table, and if it finds a unique match, it will use it.
A user may define "uniqueness" for a command, which the monitor will
behave as if the command had been given an exact definition for that
many characters.
Examples:
.DECLARE TECO=SYS:STECO
.TECO ;Will run SYS:STECO
.TEC ;Will run SYS:TECO (Monitor overrides in the case of abbrev.)
.TE ;Will run SYS:TECO
However,
.DECLARE TECO/UNIQUE:2=SYS:STECO
.TECO ;Will run SYS:STECO
.TEC ;Will run SYS:STECO
.TE ;Will run SYS:STECO
.T ;will say ?T? since even the monitor commands conflict
Other options allowed by this program are:
/CLEAR
Clear all user defined commands. This is a standalone
switch.
/LIST
Lists the command names that the user currently has
defined. This is also a standalone switch.
/KILL
This switch will remove the definition of a command.
This switch also requires a COMMAND NAME.
.KJOB
.