beautypg.com

Viewing function keys in your command history – HP NonStop G-Series User Manual

Page 84

background image

Defining Function Keys and Writing Macros

Guardian User’s Guide 425266-001

5 -8

Using Your Function Keys

1. Enter the argument values in order:

2. Press F8.

The TACL program displays:

The dummy argument %*% accepts any number of command options you might
list. For example, you can redefine the F1 key as a macro that uses the dummy
argument %*%:

?SECTION F1 MACRO
FILES %*%

To pass a list of subvolume names to the FILES command:

1. Enter the subvolume names:

2. Press F1.

The TACL program displays:

Viewing Function Keys in Your Command History

To display the commands you entered and the function keys you pressed at each
command line, enter the HISTORY command:

For each function key you used, the TACL program displays the name of the key
followed by any function arguments you entered before you pressed the key. The TACL
Help key (F16) does not appear in the HISTORY display.

7> 4 PRI 150

Process Pri PFR %WT Userid Program file Hometerm
$Z43 4,23 150 R 000 8,56 $SYSTEM.SYSTEM.TACL $STEIN
$Z76 B 4,45 150 001 0,0 $SYSTEM.SYSTEM.TACL $ABT
$Z55 4,56 150 004 8,24 $SYSTEM.SYSTEM.TACL $RHALL

8> STEIN ABT

\LONE.$GERT.STEIN
BOOK
\LONE.$GERT.ABT
CHECK

9> HISTORY
1> TEDIT MYKEYS
2> LOAD / KEEP 1 / MYKEYS
3> KEYS
4> F1 $GERT.STEIN
5> F2 FERN.HERST
6> F7 BELL PRINT2
7> F8 4 PRI 150
8> F1 STEIN ABT
9> HISTORY

This manual is related to the following products: