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 >
Text File  |  1995-04-05  |  2KB  |  51 lines

  1. [DECLARE.HLP    8-Sep-1982]
  2.  
  3. The DECLARE program allows a user to manipulate user-defined commands.
  4. The syntax to define a command is:
  5.  
  6.         NAME=FILESPEC
  7. or
  8.         NAME/UNIQUE:n=FILESPEC
  9. where "n" is either 1,2,3 or 4.
  10.  
  11. When a command has been defined, the monitor will from  then  on  search
  12. the users' command table in parallel with the monitor command table.  In
  13. the case of conflicts, exact definitions are given  precedence,  and  in
  14. the  case  of  conflicts  within  this,  the  users  commands  are given
  15. precedence.
  16. In the case of conflicts arising from an abbreviation being  given,  the
  17. monitor  re-searches  its own command table without searching the users'
  18. command table, and if it finds a unique match, it will use it.
  19. A user may define "uniqueness" for a command,  which  the  monitor  will
  20. behave  as  if  the  command had been given an exact definition for that
  21. many characters.
  22. Examples:
  23.  
  24.         .DECLARE TECO=SYS:STECO
  25.         .TECO   ;Will run SYS:STECO
  26.         .TEC    ;Will run SYS:TECO (Monitor overrides in the case of abbrev.)
  27.         .TE     ;Will run SYS:TECO
  28. However,
  29.         .DECLARE TECO/UNIQUE:2=SYS:STECO
  30.         .TECO   ;Will run SYS:STECO
  31.         .TEC    ;Will run SYS:STECO
  32.         .TE     ;Will run SYS:STECO
  33.         .T      ;will say ?T? since even the monitor commands conflict
  34.  
  35. Other options allowed by this program are:
  36.  
  37. /CLEAR
  38.                 Clear all user defined commands.  This is  a  standalone
  39.                 switch.
  40.  
  41. /LIST
  42.                 Lists the command names  that  the  user  currently  has
  43.                 defined.  This is also a standalone switch.
  44.  
  45. /KILL
  46.                 This switch will remove the  definition  of  a  command.
  47.                 This switch also requires a COMMAND NAME.
  48.  
  49. .KJOB
  50. .
  51.