Defining And Using Your Function Keys; Creating A Library File For Your Function Keys - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Defining Function Keys and Writing Macros

Defining and Using Your Function Keys

There are 32 function keys you can define for your use:
Function keys F1 through F16
Shifted keys SF1 through SF16 (hold down the shift key while pressing a function
key F1 through F16)
F16 is predefined as the TACL HELP key, but you can redefine it using the #HELPKEY
built-in variable, as described in the TACL Reference Manual.
You can create two types of function-key definitions:
Type
Description
Alias
Defines a function key as a name
for a TACL command or
application.
Macro
Defines a function key to invoke
one or more TACL commands or
run an application.

Creating a Library File for Your Function Keys

To define your function keys, you create a library file that contains the function-key
definitions. Your library file is an EDIT file (file code 101). Create this file in your
saved default subvolume, using a text editor such as TEDIT. Give the file a descriptive
name such as MYKEYS.
For each function key you want to define, enter:
?SECTION function-key type
command
[ command ]...
?SECTION
TACL directive that indicates the beginning of a definition.
function-key
Name of the function key you are defining. Unshifted function keys (F1 through
F16) or shifted function keys (SF1 through SF16).
type
Type of definition: ALIAS or MACRO. Other types of function-key definitions are
described in the TACL Reference Manual.
command
TACL command that you want this function key to execute.
Example
Define the F1 key as an alias for the FILES
command; when you press F1, the TACL
program executes this command.
To specify arguments for a macro, enter them
on the TACL command line before you press
the function key.
Guardian User's Guide —425266-001
5 -2
Defining and Using Your Function Keys

Advertisement

Table of Contents
loading

Table of Contents