HP 9000 200 Series Manual page 35

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

2. Press
[]6ill}1
Glear line
I
to clear the key's current definition.
3. Enter the new definition.
Type the desired characters on the keyboard input line. In this example, type:
My very own keystrOkes.
4. Exit the softkey-edit mode.
After you have finished modifying the softkey's definition, press
I
Return
I
to exit the
softkey editing mode and update the softkey's definition. If you don't want to
update this softkey's definition, press
I
PAUSE
I
(~
on an ITF keyboard) to abort
the re-definition and retain the existing definition.
5. Verify that the key works as desired.
Press the soft key []I]
(CEIJ).
The following characters:
My very own keystrokes.
should be reproduced exactly as you typed them.
(If
not, go to step 1 and try
again.)
6. Press
I
Shift
H
Glear line
I
to clear the line for the next example.
Example 2
Let's now suppose that you want to define a typing-aid key that: clears the line you
are on, types a command, and then executes that command (this is how the RUN and
CONTINUE softkeys are defined by the system). Here is what you could type:
EDIT KEY
2
~
I
Shift
H
Glear line
II
GTRL
H
Shift
H
Glear line
I
LIST
I
GTRL
H
Return
II
Return
I
The notation
I
GTRL
H
Return
I
indicates that you are to hold down the
I
GTRL
I
key and then
press the
I
Return
I
key, then release the
I
Return
I
key followed by releasing the
I
GTRL
I
key.
The
I
GTRL
I
key tells the system that you don't want to execute that key's function, but
that you want it to produce a sequence of characters on the screen. The sequence begins
with the inverse-video
1t7'
character, CHR$(255), followed by another character; for
instance,
I
GTRL
~[]6ill}1
Glear line
I
produces
"~",
and
I
GTRL
H
Return
I
produces
"[3E".
After you enter your soft key definition for key 2, pressing key 2 will execute the LIST
command. If you include a key preceded by
I
GTRL
I
(as in the above
I
GTRL
H
Return
I) the
following key will be executed when you press the softkey. For example, if you tack a
I
GTRL
H
Return
I
at the end of your softkey definition,
I
Return
I
will be executed as part of
the softkey function.
2-18
Introduction to the System

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents