Previous Topic: TYPE Return Codes

Next Topic: EPI TYPESEC—Simulate Typing without Displaying in OPSLOG

3278 Host Key Names

The key equivalents described in the following table are for use with the TYPE and TYPESEC commands. There are 87 keys on the real 3278 keyboard; the following four of them, however, are not accessible from a virtual keyboard:

Keys that are the same on a PC keyboard and a 3278 keyboard (alphanumeric keys and some symbols) are accessed as usual.

The others are accessed through the HOSTKEYS command, which defines about 160 OPS/REXX variables to simulate the 3278 keyings a PC keyboard does not duplicate. Each variable consists of an exclamation point (!) followed by a variable name describing the host key. Thus, !A has not been assigned by HOSTKEYS (key A as usual), but !ALT_A has been assigned.

3278 Host Key

Simulated by Typing…

lowercase alphabetic keys (a-z)

a-z

uppercase alphabetic keys (A-Z)

A-Z - To simulate the Alt versions of these keys, type !ALT_x where x is the desired key. For example, to simulate Alt-A type !ALT_A.

numeric keys (0-9)

0-9

APL key

!APL

CLEAR

!CLEAR

Alt-Cursor

!ALT_CURSOR

DEV CNCL

!DEV_CNCL

Home key

!HOME

IDENT key

!IDENT

PA1

!PA1

PA2

!PA2

SYS_REQ

!SYS_REQ

TEST key

!TEST

@

@

#

#

$

$

%

%

&

&

*

*

(

(

)

)

-

-

=

=

_

_

+

+

<

< or !LT

>

> or !GT

{

{

}

}

/

/

\

\

?

?

!

!

.

.

,

,

:

:

;

;

'

' or !QUOTE1

"

" or !QUOTE2

backquote key

!BKQUOTE

Alt-¢ cent sign

!ALT_CENT_SIGN

~

!TILDE

|

!VERTICAL_BAR

¬

!NOT_SIGN

ATTN

!ATTN

backspace key

!BKSPACE

backtab key

!BACKTAB

clicker key

!CLICKER

CURSR BLINK

!CURSR_BLINK or !CSR_BLN

CURSR SEL

!CURSOR_SEL or !CSR_SEL

DUP key

!DUP

FIELD MARK key

!FIELD_MARK or !FLD_MRK

print screen key

!PRT_SCR

Reset key

!RESET - You can simulate the shifted versions of these keys by entering !SHF_xxxx, where xxxx is the OPS/REXX variable name for the simulated key. For example, to simulate Shift-ATTN, enter !SHF_ATTN.

PF keys (PF1-PF24)

!PF1-!PF24

down arrow

!D_ARROW

left arrow

!L_ARROW

right arrow

!R_ARROW

up arrow

!U_ARROW

cent sign

!CENT_SIGN

DELETE key

!DELETE

ENTER key

!ENTER

ERASE EOF

!ERASE_EOF or !ERS_EOF

ERASE INPUT

!ERASE_INPUT or !EI

Insert key

!INSERT

RETURN key

!RETURN

Space bar

!SPACE

Tab key

!TAB

Unused key

!UNUSED_KEY or !UK - To simulate the shifted and Alt versions of these keys, enter! SHF_xxxx or! ALT_xxxx, where xxxx is the OPS/REXX variable name for the simulated key. For example, to simulate Shift-Insert, enter !SHF_INSERT; to simulate Alt-Insert, type !ALT_INSERT.