Previous PageNext Page

Chapter 4 - The Keyboard

Configuring the keyboard. ACONFIG allows you to manipulate two different keyboard maps. The Edit 3270 Keys option lets you set the keys that you use to communicate with the mainframe during emulation. The Edit Workstation Keys option allows you to change the keys that you use to control the logical unit windows, screen colors, and other parameters.
Using the keyboard. This section describes the functions of each key used in the 3270 emulation environment. It also shows where each 3270 key maps on the PC keyboard in the default configuration.

Configuring the Keyboard

Figure 4-1. Sample Edit 3270 Keys Screen

Alt Cursor a-F9 Left2 c-Left PF15 a-E
ATTN F8 Left Left PF16 a-R
Backspace Bkspace NextLine PgDn PF17 a-T
BackTab BackTab PA1 F1 PF18 a-Y
Blink a-F3 PA2 F3 PF19 a-U
Clear F2 PA3 F5 PF20 a-I
Click a-F5 PF1 a-1 PF21 a-O
Cursor Sel PgUp PF2 a-2 PF22 a-P
Del Del PF3 a-3 PF23 a-A
Dev Cancel a-X PF4 a-4 PF24 a-S
Down Down PF5 a-5 Print c-P
DUP F7 PF6 a-6 Reset End
Enter2 Enter2 PF7 a-7 Right2 c-Right
Enter Enter PF8 a-8 Right Right
Erase EOF F6 PF9 a-9 SysReq a-F8
Erase Input a-F4 PF10 a-0 Tab Tab
FM F9 PF11 a-- Test a-F7
Home Home PF12 a-= Up Up
Ident a-F1 PF13 a-Q    
Insert Mode Ins PF14 a-W    

Notation on the Edit 3270 Keys Screen

Table 4-1. Edit 3270 Keys Screen Notation

Notation Meaning
a-<Key> Hold down the <Alt> key and press the indicated key. For example, a-g means "hold down the Alt key and press G."
c-<Key> Hold down the <Ctrl> key and press the indicated key. For example, c-h means "hold down the Control key and press h."
Left Left Arrow key
Right Right Arrow Key
Up Up Arrow Key
Down Down Arrow Key
s-<Key> Hold down the <Shift> key and press the indicated key. For example, s-I means "hold down the Shift key and press I."
k-<Key> Press the indicated key on the keypad. For example, k-9 means "press 9 on the keypad".

Reassigning a 3270 Key

Figure 4-2. Specify New Keyboard Mapping Screen

Reassigning Workstation Keys

Duplicating PC keys

Figure 4-3. Sample Duplicate Key Resolution Screen

If you choose YES, you swap the PC key assignments shown in the Current Key Assignments. In the example shown in Figure 4-3, the PC key <F1> would be mapped to the 3270 key <PF1>, and the PC key sequence <ALT-1> would be mapped to the 3270 key <PA1>.
If you choose NO, the PC key shown at the top of the screen is assigned to both 3270 keys shown in the Current Key assignments. In the example shown in Figure 4-3, the PC key <F1> would be mapped to the 3270 keys <PA1> and <PF1>. Either the PA1 function or the PF1 function are then unavailable while this conflict exists.

Making Key Assignments

You can use the <ALT>, <SHIFT> and <CTRL> keys in combination with other keys. However, you cannot use them together. For example, you cannot assign <CTRL-ALT-X> to a 3270 function.
Be careful when using <SHIFT> key assignments. A <SHIFT> key combination could take away one of the printing characters. For example, if you assign a 3270 function to <SHIFT-A>, you cannot use an upper-case A in emulation. Typing A produces the 3270 function instead.

Additional Keys on the 101-key Keyboard

Table 4-2. Keys for Remapping on the 101-key Keyboard

<Shift-PgDn> <Alt-Pause>
<Shift-PrtSc> <Shift-Insert>
<Shift-Pause> <Alt-PrtSc>
<Pause> <Right Control>
<Alt-Left Control> <Left Control>
<Scroll Lock>  

Table 4-3. Key Sequences That Cannot Be Remapped

<CTRL-1> <CTRL-=> (Equal sign)
<CTRL-3> <CTRL-;> (Semicolon)
<CTRL-4> <CTRL-'> (Single quote)
<CTRL-5> <CTRL-'> (Apostrophe)
<CTRL-7> <CTRL-,> (Comma)
<CTRL-8> <CTRL-.> (Period)
<CTRL-9> <CTRL-/> (Slash)
<CTRL-0>  

Table 4-4. Key Sequences That Cannot Be Remapped: 83-Key Keyboard

<Alt-Esc> <Alt-/> (Slash)
<Alt-Backspace> <Alt-*> (or */PrtSc)
<Alt-Tab> <Alt-,> (Comma)
<Alt-; (Semicolon) <Alt-.> (Period)
<Alt-'> (Apostrophe) <Alt-\> (Backslash)
<Alt-'> (Single quote)  

Print Screen Functions

The DOS print screen function takes the entire contents of the PC screen and sends it to the configured printer. If you have a standard type 2 display, a DOS print screen function would send the 3270 status line to the printer.
The 3270 print screen function sends only the contents of the 3270 emulation screen to the configured printer. A 3270 print screen function does not send the status line to the printer.

Edit Hotkey Mapping

Figure 4-4. Sample Edit Hotkey Mapping Screen

Using the Keyboard

Host-dependent Keys are keys whose functions depend on the application program running on the host computer.
3270 Function Keys are those keys that you can control through the emulator.

Host-dependent Keys

Table 4-5. Host-dependent Key Map

Host-dependent Key PC Key Host-dependent Key PC Key
PF1 Alt 1 PF13 Alt q
PF2 Alt 2 PF14 Alt w
PF3 Alt 3 PF15 Alt e
PF4 Alt 4 PF16 Alt r
PF5 Alt 5 PF17 Alt t
PF6 Alt 6 PF18 Alt y
PF7 Alt 7 PF19 Alt u
PF8 Alt 8 PF20 Alt i
PF9 Alt 9 PF21 Alt o
PF10 Alt 0 PF22 Alt p
PF11 Alt - PF23 Alt a
PF12 Alt = PF24 Alt s
       
PA1 F1    
PA2 F2    
PA3 F3    

3270 Function Keys

Table 4-6. 3270 Function Keys

3270 Key PC Key Purpose
IDENT <Alt-F1> Changes the local copy printer assignment.
CLEAR <F2> Clears all data from the screen and moves the cursor to the top left corner of the screen.
BLINK <Alt-F3> Turns the blinking cursor function on or off.
ERASE INPUT <Alt-F4> Erases data from all unprotected fields. Moves the cursor to the first unprotected field.
CLICK <Alt-F5> Switches the keyboard click on and off.
ERASE EOF <F6> Erases all characters from the right of the cursor in an unprotected field.
DUP <F7> Places an asterisk in the current field. The asterisk indicates that the host application should duplicate the information from the same field in the previous record, then move to the next field.
TEST <Alt-F7 Reserved.
ATTN <F8> Signals the host to change the direction of the data flow.
SYS REQ <Alt-F8> Switches the session between SYS OPR (SSCP-LU) and MY JOB (LU-LU).
FM <F9> Inserts a Field Mark character in an unprotected field at the cursor location.
ALT CURSOR <Alt-F9> Switches the character representing the cursor from an underscore to a block or from a block to an underscore.
HELP <F10> Locks the keyboard and displays a menu from which you can control printer functions, end emulation, or display current key assignments.
FLIP <Alt-F10> Switches the screen display to another active session.
DEV CNCL <Alt-X> Unlocks the keyboard if input is prohibited because of a Printer-Busy or Printer-Very-Busy condition.
ENTER <ENTER> Sends data to the host, locks the keyboard, and inhibits input from the keyboard. Normal operation resumes when the transmission is completed.
RESET <End> Unlocks the keyboard and clears an error message from the status line.
PRINT <Shift-PrtSc> Prints the current contents of the screen to the local copy printer or redirection disk file. There is no data transmission during printing. Normal operation resumes when the printing is completed.

Character Sets

Table 4-7. Special 3270 characters

3270 Character PC Key
| ]
¢ [
¢¬ ^

Notes on 101/102 Key Keyboards

 <Insert>  <Pg Down>
 <Delete>  <Right arrow>
 <Home>  <Left arrow>
 <End>  <Down Arrow>
 <Pg Up>  <Up arrow>

Workstation Keys

Table 4-8. Workstation Keys

3270 Key PC Key Purpose
NUMLOCK <Num Lock> Switches the numeric keypad on and off. When on, the keypad produces numbers. When off, the keypad produces 3270 functions (directional arrow keys, Reset, Home, New line, and Cursor Select).
CURSOR SELECT <PgUp> Switches the Light Pen Selector on and off in those applications that use it. Move the cursor into a light pen selectable field, and press the Cursor Select key.
INSERT <Ins> Switches text insertion on and off. When off, new text overwrites existing text. Note that the keyboard locks if insert mode is on and the cursor is in a protected field, or if inserting new text in an unprotected field forces text beyond the boundary of the field. Press <Reset> to unlock it.
DELETE <Del> In an unprotected field, this key deletes the character at the cursor position and moves the remaining characters one space to the left. In a protected field, locks the keyboard and inhibits input. Press <Reset> to unlock the keyboard.
HOT <Shift-Shift> Switches from the current emulator session to DOS or from DOS back to the emulator session. You must press both <Shift> keys at the same time.
Arrow Keys Arrow Keys Moves the cursor one character in the direction indicated on the key. Press the <Ctrl> and <Right Arrow> to move the cursor two spaces to the right. Press the <Ctrl> and <Left Arrow> keys to move the cursor two spaces to the left.
HOME <Home> Moves the cursor to the first character position in an unprotected field.
NEW LINE <PgDn> Moves the cursor to the first character in an unprotected field on the next line.
TAB <Tab> Moves the cursor to the first character of the next unprotected field.
BACKTAB <Shift-Tab> Moves the cursor to the first character of the previous unprotected field.
BACKSPACE <Backspace> Moves the cursor one space to the left.
SPACEBAR Spacebar Moves the cursor one space to the right and erases any character at that position in an unprotected alphanumeric field.
In an unprotected numeric field, pressing the spacebar locks the keyboard and inhibits input. Press <Reset> to unlock the keyboard.

Color Function Keys

Table 4-9. Color Function Keys

Color Selection Key
Red <Shift-F1>
Pink <Shift-F2>
Green <Shift-F3>
Yellow <Shift-F4>
Blue <Shift-F5>
Turquoise <Shift-F6>
White <Shift-F7>
Default color <Shift-F8>
Inherit <Shift-F9>

Color Selection Indicator

Color (First Character)

R - Indicates the color of the next character you type (R for Red, B for Blue, P for Pink, and so forth).

O - The next character you type appears in the default color.

User Selection (Second Character)

blank - The host application does not allow you to select a color.

O - You have selected a color.

I - Field Inherit. Indicates that either you have selected field inherit, or the host application will let you select a color, but you have not yet done so. In field inherit mode, the current field's Extended Field Attribute specifies the color. The host application sets the extended field attribute.

Highlighting Function Keys

Table 4-10. Highlighting Function Keys

Color Selection Key
Reverse video <CTRL-F>
Blink <CTRL-B>
Underline <CTRL-U>
Default highlighting <CTRLD->
Field inherit mode <CTRL-I>

Reverse Video Key

RI RO I BI BO UO UI

Blink Character Key

RI RO I BI BO UO UI

Underline Character Key

RI RO I BI BO UO UI

Highlight Selection Indicator

Highlighting Type (First Character)

blank - No highlighting is active

R - Reverse video highlighting is active

B - Blink highlighting is active

U - Underline highlighting is active

User Selection (Second Character)

blank - The host application does not allow you to select highlighting.

O - You (not the host) have selected a highlighting type.

I - Field Inherit. Indicates that either you have selected field inherit, or the host application will let you select a highlighting type, but you have not yet done so. In field inherit mode, the current field's Extended Field Attribute specifies the highlighting type. The host application sets the extended field attribute.

Highlighting is not in use, and
The host application does not permit you to specify a highlighting type.

Status Line Examples

Example 1: BO YI

Example 2: R BI

Example 3: I GO

 

Previous PageTop Of PageNext Page