![HP Guardian Скачать руководство пользователя страница 78](http://html.mh-extra.com/html/hp/guardian/guardian_user-manual_165061078.webp)
Defining Function Keys and Writing Macros
Guardian User’s Guide — 425266-001
5 -2
Defining and Using Your Function Keys
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:
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
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.
Type
Description
Example
Alias
Defines a function key as a name
for a TACL command or
application.
Define the F1 key as an alias for the FILES
command; when you press F1, the TACL
program executes this command.
Macro
Defines a function key to invoke
one or more TACL commands or
run an application.
To specify arguments for a macro, enter them
on the TACL command line before you press
the function key.
?SECTION function-key type
command
[ command ]...
Содержание Guardian
Страница 24: ...About This Guide Guardian User s Guide 425266 001 xxii Your Comments Invited ...
Страница 30: ...Part I Using the Compaq Tandem Advanced Command Language TACL Guardian User s Guide 425266 001 ...
Страница 100: ...Part II Managing Files Using the File Utility Program FUP Guardian User s Guide 425266 001 ...
Страница 146: ...Part III Managing Disk and Tape Processes Guardian User s Guide 425266 001 ...
Страница 232: ...Backing Up and Restoring Disk Information Guardian User s Guide 425266 001 11 26 Backcopy Examples ...
Страница 234: ...Part IV Using the Spooler and Its Utilities Guardian User s Guide 425266 001 ...
Страница 248: ...Introduction to the Spooler Guardian User s Guide 425266 001 12 14 Sending Output to a SPOOL DEFINE ...
Страница 300: ...Performing Routine Spooler Operations Using Spoolcom Guardian User s Guide 425266 001 14 38 Problem Solving Summary ...
Страница 322: ...Part V Security Features and Other Guardian Utilities Guardian User s Guide 425266 001 ...
Страница 368: ...Monitoring Event Messages Guardian User s Guide 425266 001 17 14 Using the Event Viewer ...
Страница 378: ...Displaying Version and System Information Guardian User s Guide 425266 001 18 10 Task 2 Interpret SYSINFO Output ...
Страница 410: ...Monitoring Hardware Components Guardian User s Guide 425266 001 19 32 Automating System Monitoring ...
Страница 460: ...Index Guardian User s Guide 425266 001 Index 24 Special Characters ...