Miscellaneous VMS Utilities (V00487)
process space or a command table file (such as SYS$SHARE:DCLTABLES.EXE).
These verb definitions can then be changed and recompiled via the
command definition utility, SET COMMAND. This program is similar to the
3.n program CLEX, except that it works with version 4.n, and 5.n command
tables. This program is a must if you need to change verb definitions,
or if you just hate the DEC defaults (getting tired of HELP/PAGE, or
LINK creating maps when executed from a batch job?).
VERB allows you to do wildcard searches for verbs (commands) and
lists of verbs, such as VERB A*,B*,%%% (which would return all the verb
definitions for commands that start with A, B, and all three letter
commands).
You can specify a table to search for the verb, or even to
search your process space. The command defaults to searching your
process space, but if you enter VERB/TABLE it will default to using the
system command table SYS$SHARE:DCLTABLES, you can of course specify a
table other than that, as in VERB/TABLE=MY_OWN_TABLE. Note that the
LIB$FIND_IMAGE_SYMBOL routine is used to load the command tables.
A temporary logical ("VERB_TABLE") is defined to point at what you
pass via the /TABLE qualifier.
VERB allows you to put the output in a file, as in
VERB/OUTPUT=filename, VERB also can list available verbs (commands), w/o
the verb definition, as in VERB/LIST/ALL, and note the /ALL qualifier.
restrictions:
When extracting several verbs (such as BASIC,MACRO,FORTRAN) they
may each reference a TYPE definition that is different for each verb,
but has the same name. Since the TYPE definitions are actually different
each one will be included in the file, but CDU will not appreciate
having similarly named TYPE definitions. In such cases simply extact the
verbs into seperate files.
To use:
You may define this command as a real command (using SET COMMAND)
or you may define it as a foreign command (VERB == "$<wherever>VERB"). If
you want to define it as a real command, I would suggest that you copy
VERB_CLD.CLD to VERB.CLD, then edit it, adding an "IMAGE <wherever>VERB"
clause just after the "define verb VERB" line. You then do use SET COMMAND
to define the command for your own process, or use the appropriate SET
COMMAND command to add it to the system command tables (See the CDU manual).
Files in this directory:
AAAREADME.TXT This file.
OLD-VERB.DIR directory containing the previous version of VERB
written in macro (it has one known bug).
VERB.C, Source files for the VERB utility (no known bugs).
VERB.H, (I rewrote it in C rather than fixing the Macro code!)
VERB_CLD.CLD,
VERB_COMMAND.C,
VERB_DISALLOWS.C,
VERB_ENTITY,
VERB_FIND_ENTITY.C,
VERB_TYPE.C,
STRING_DEF.H,
INIT_CLI.C
MAKEFILE. 'Make' file for the MAKE utility (for compiling)
COMPILE.COM Command procedure to build VERB
VAXC.OPT Linker options file to link against the C RTL.
Click on FTP to download from the FTP archives.
![[FTP]](http://www2.encompassus.org/hidedecus/graphics/i_ftp.gif)