Customizing your tacl environment, Customizing, Your tacl environment – HP NonStop G-Series User Manual

Page 88

Advertising
background image

Defining Function Keys and Writing Macros

Guardian User’s Guide 425266-001

5- 12

Customizing Your TACL Environment

Customizing Your TACL Environment

When you log on, the TACL program customizes your environment according to the
commands in the TACLLOCL and TACLCSTM files. Your system management creates
a single TACLLOCL file for everyone on the system. You create your TACLCSTM file
in your saved default subvolume. When you log on, the TACL program automatically
executes the commands in these two files.

Instead of using the LOAD command each time you log on to use your own function-
key definitions and macros, add the LOAD command for each library file to your
TACLCSTM file. Thus, the TACL program automatically loads your function-key and
macro definitions whenever you log on.

1. Create an EDIT file (file code 101) named TACLCSTM in your saved default

subvolume. (On some systems, TACLCSTM file is created for you.)

2. In this file, enter these commands to load your library files:

?TACL MACRO
COMMENT TACLCSTM file
LOAD / KEEP 1 / MYKEYS {Load My Key Definitions}
LOAD / KEEP 1 / MYMACS {Load My Macro Definitions}

Your TACLCSTM file must begin with a ?TACL MACRO. The LOAD commands
in this example are the same as those you would use to load your library files every
time you log on.

3. Add comments as needed, using the COMMENT command, the double equal signs

(==), or braces ({}).

4. Add any other commands that you want to execute when you log on.

For example, you can enter a SETPROMPT command so that your TACL prompt
contains the name of your current volume and subvolume. To automatically execute
this command whenever you log on, add it to your TACLCSTM file:

?TACL MACRO
LOAD / KEEP 1 / MYKEYS {Load My Key Definitions}
LOAD / KEEP 1 / MYMACS {Load My Macro Definitions}
SETPROMPT BOTH

You can add other built-in TACL functions to your TACLCSTM file. For example:

== Set the default search list
#SET #PMSEARCHLIST #DEFAULTS $SYSTEM.SYSTEM
== Set the TACL input format
#SET #INFORMAT TACL
== Set the TACL output format
#SET #OUTFORMAT TACL

To load any function-key definitions you changed while logged on, issue the LOAD
command to load the new definitions or log off and log on again.

See the TACL Reference Manual for more information about the TACLCSTM file.

Note. You cannot load definitions stored in files that begin with the ?TACL MACRO directive.

Advertising
This manual is related to the following products: