The text of a manual · part 11 of 12
JANUS 900 MHz Terminal Emulation for the Model 200 Controller, pages 101 to 110
Pages 101 to 110 of 117
The original document is the PDF (599 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec J2020, Intermec J2010 and Intermec J2050
Page 101
VT/ANSI Keyboard Remapping
B
This appendix provides information about VT/ANSI key support and instructions for remapping keys on your JANUS device.
Understanding VT/ANSI Key Support These tables show how the numeric and special keys on VT keyboards map to the JANUS keys when you set the Keypad mode in the Terminal screen.
VT100 Terminals This table shows what code is transmitted to the host when you press the numeric or special keys on a VT100 numeric keypad and a JANUS keypad. The transmitted code depends on if the Keypad mode is set to Numeric or Application mode. VT100 Numeric Keypad Key
JANUS Keys (Numeric Keypad Mode On)
Numeric Mode Transmitted Code
Application Mode Transmitted Code
0
0
0
Esc O p
1
1
1
Esc O q
2
2
2
Esc O r
3
3
3
Esc O s
4
4
4
Esc O t
5
5
5
Esc O u
6
6
6
Esc O v
7
7
7
Esc O w
8
8
8
Esc O x
9
9
9
Esc O y
- (minus)
Alt h
- (minus)
Esc O m
, (comma)
Alt v
, (comma)
Esc O l
. (period)
Alt w
. (period)
Esc O n
PF1
F1
Esc O P
Esc O P
PF2
F2
Esc O Q
Esc O Q
PF3
F3
Esc O R
Esc O R
PF4
F4
Esc O S
Esc O S
Enter
F5
CR
Esc O M
B-3
Page 102
JANUS 900 MHz Terminal Emulation for the Model 200 Controller
VT220/320 Terminals This table shows what code is transmitted to the host when you press the keys on a VT220/320 keypad and a JANUS keypad.
B-4
VT220/320 Key
JANUS Key
VT220/320 Transmitted Code
Find
Home
CSI 1 ~
Insert Here
Insert
CSI 2 ~
Remove
Delete
CSI 3 ~
Select
End
CSI 4 ~
Previous Screen
Page Up
CSI 5 ~
Next Screen
Page Down
CSI 6 ~
F1 (Hold Screen)
None
None (Local function keys)
F2 (Print Screen)
None
None (Local function keys)
F3 (Set Up)
None
None (Local function keys)
F4
None
None (Local function keys)
F5 (Break)
None
None (Local function keys)
F6
F6
CSI 1 7 ~
F7
F7
CSI 1 8 ~
F8
F8
CSI 1 9 ~
F9
F9
CSI 2 0 ~
F10
F10
CSI 2 1 ~
F11 (Esc in VT100 mode)
Alt F1
CSI 2 3 ~
F12 (BS in VT100 mode)
Alt F2
CSI 2 4 ~
F13 (LF in VT100 mode)
Alt F3
CSI 2 5 ~
F14
Alt F4
CSI 2 6 ~
F15 (Do)
Alt F5
CSI 2 8 ~
F16 (Help)
Alt F6
CSI 2 9 ~
F17
Alt F7
CSI 3 1 ~
F18
Alt F8
CSI 3 2 ~
F19
Alt F9
CSI 3 3 ~
F20
Alt F10
CSI 3 4 ~
Page 103
VT/ANSI Keyboard Remapping
B
This table shows what code is transmitted to the host when you press the numeric or special keys on a VT220/320 numeric keypad and a JANUS keypad. The transmitted code depends on if the Keypad mode is set to Numeric or Application mode. VT220/320 Numeric Keypad Keys
JANUS Key(s) (Numeric Keypad On)
Numeric Mode Transmitted Code
Application Mode Transmitted Code
0
0
0
SS3 p
1
1
1
SS3 q
2
2
2
SS3 r
3
3
3
SS3 s
4
4
4
SS3 t
5
5
5
SS3 u
6
6
6
SS3 v
7
7
7
SS3 w
8
8
8
SS3 x
9
9
9
SS3 y
- (minus)
Alt h
- (minus)
SS3 m
, (comma)
Alt v
, (comma)
SS3 l
. (period)
Alt w
. (period)
SS3 n
PF1
F1
SS3 P
SS3 P
PF2
F2
SS3 Q
SS3 Q
PF3
F3
SS3 R
SS3 R
PF4
F4
SS3 S
SS3 S
Enter
F5
CR or CR LF
SS3 M
B-5
Page 104
JANUS 900 MHz Terminal Emulation for the Model 200 Controller
ANSI Terminals ANSI terminals support standard alphanumeric keys and arrow keys. However, they do not support function keys. This table lists the JANUS TE keys that carry out special runtime functions.
>G >H >I >K <C <E <B <D AC AE AB AD
JANUS Key
TE Runtime Function Enter Line mode Enter Character mode Enter hot key configuration menu Exit TE Move viewport up by one line Move viewport down by one line Move viewport left by one column Move viewport right by column Move viewport up by one viewport Move viewport down by one viewport Move viewport left by one viewport Move viewport right by one viewport
Remapping the JANUS Keys You can modify the TE.CFG file on your JANUS device to remap a JANUS key or a two-key sequence. When you remap JANUS keys, you are changing the function of the keys on your JANUS device. You may need to remap keys if your terminal emulation program requires users to press a key that is not on a standard 101-key keyboard. You can also create a macro and remap a key or two-key sequence to run the macro. You can remap any JANUS key or two-key sequence that performs an action specific to a PC or that does not perform any JANUS action. For example, you can remap because it performs the PC action of typing a lowercase letter A. You can also remap because it does not perform any JANUS action.
>
>C
You cannot remap a JANUS key or two-key sequence that performs an action specific to JANUS devices. For example, moves the viewport up, which is a JANUS-specific action.
B-6
Page 105
VT/ANSI Keyboard Remapping
B
>I
Note: You can change the hot key sequence ( ) that accesses the TE Configuration menu. If you remap the hot key sequence, at the Intermec JANUS 20X0 VT/ANSI Terminal Emulation screen you can still access the TE Configuration menu by pressing .
>I
Each key or two-key sequence generates a 4-byte hexadecimal code. This code identifies the key or keys pressed. For example: Key
Action
4-byte hex code
B
Types a lowercase B
0062
Shift B
Types an uppercase B
0042
Ctrl B
None
0002
Alt B
None
4030
To remap a JANUS key or two-key sequence 1. Choose the key or two-key sequence to remap and determine the current 4byte hex code of the keys and the code you will enter to remap the keys. For help, see the table at the end of this section. 2. On the JANUS device at the DOS prompt, type: edlin e:\te.cfg
3. At the end of the TE.CFG file, add the Remap command: remap=<key>=string where: key is the 4-byte hex code that identifies the key or keys.
string is the new action for the key or keys. The string can be a text string, ASCII mnemonic, or another 2-byte hex code. If the string includes blank spaces, enclose the entire string in quotation marks.
4. Save the TE.CFG file and exit the ASCII text editor.
>G
For example, whenever you press on the JANUS device, you want it to send a message and then enter a carriage return. In the TE.CFG file, type: remap=<405E>=“My battery is low<CR>“
B-7
Page 106
JANUS 900 MHz Terminal Emulation for the Model 200 Controller
To create a macro 1. Choose the key or two-key sequence that you want to use for the macro and the key or two-key sequence that will activate the macro. 2. Determine the current 4-byte hex code of the macro and the activation keys. For help, see the table at the end of this section. 3. On the JANUS device at the DOS prompt, type: edlin e:\te.cfg
4. At the end of the TE.CFG file, add the Remap command: macro=<key>=string where: key is the 4-byte hex code that identifies the key or keys.
string is the new action for the key or keys. The string can be a text string, ASCII mnemonic, or another 2-byte hex code. If the string includes blank spaces, enclose the entire string in quotation marks.
5. At the end of the macros, type: runmacro=<key> where key is the 4-byte hex code that identifies the key or keys that activates the macro. 6. Save the TE.CFG file and exit the ASCII text editor.
>K
For example, to activate the macro, you want to press . Then, when the macro is activated, you press and it sends a message and then enters a carriage return. If you do not activate the macro, the JANUS device sends an ‘a.’ In the TE.CFG file, type: macro=<0061>=“Send this message to the host<CR>“ runmacro=<4062>
B-8
Page 107
VT/ANSI Keyboard Remapping
B
Key Code Table Key
ASCII/Extended
ASCII/Extended With Shift
ASCII/Extended With Ctrl
ASCII/Extended With Alt
0
0030
0029
1
0031
0021
2
0032
0040
3
0033
0023
4079
4
0034
0024
407A
5
0035
0025
407B
6
0036
005E
7
0037
0026
407D
8
0038
002A
407E
9
0039
0028
407F
A
0061
0041
0001
401E
B
0062
0042
0002
4030
C
0063
0043
0003
402E
D
0064
0044
0004
4020
E
0065
0045
0005
4012
F
0066
0046
0006
4021
G
0067
0047
0007
4022
H
0068
0048
0008
4023
I
0069
0049
0009
4017
J
006A
004A
000A
4024
K
006B
004B
000B
4025
L
006C
004C
000C
4026
M
006D
004D
000D
4032
N
006E
004E
000E
4031
4080
4003
001E
4078
407C
B-9
Page 108
JANUS 900 MHz Terminal Emulation for the Model 200 Controller
Key Code Table (continued) Key
ASCII/Extended
ASCII/Extended With Shift
ASCII/Extended With Ctrl
ASCII/Extended With Alt
O
006F
004F
000F
4018
P
0070
0050
0010
4019
Q
0071
0051
0011
4010
R
0072
0052
0012
4013
S
0073
0053
0013
401F
T
0074
0054
0014
4014
U
0075
0055
0015
4016
V
0076
0056
0016
402F
W
0077
0057
0017
4011
X
0078
0058
0018
402D
Y
0079
0059
0019
4015
Z
007A
005A
001A
402C
‘
0027
0022
4028
,
002C
003C
4033
-
002D
005F
.
002E
003E
4034
/
002F
003F
4035
;
003B
003A
4027
=
003D
002B
4082
[
005B
007B
001B
\
005C
007C
001C
]
005D
007D
001D
`
0060
007E
B-10
001F
4081
401A
401B 4029
Page 109
VT/ANSI Keyboard Remapping
B
Key Code Table (continued) Key
ASCII/Extended
ASCII/Extended With Shift
ASCII/Extended With Ctrl
ASCII/Extended With Alt
F1
403B
4054
405E
4068
F2
403C
4055
405F
4069
F3
403D
4056
4060
406A
F4
403E
4057
4061
406B
F5
403F
4058
4062
406C
F6
4040
4059
4063
406D
F7
4041
405A
4064
406E
F8
4042
405B
4065
406F
F9
4043
405C
4066
4070
F10
4044
405D
4067
4071
F11 (extended)
4085
4087
4089
408B
F12 (extended)
4086
4088
408A
408C
Bksp
0008
0008
007F
4083
Center
0035
Del
4053
402E
4093
Del (extended)
4053
4053
4093
Down
4050
4032
4091
Down (extended)
4050
4050
4091
End
404F
4031
4075
End (extended)
404F
404F
4075
409F
Enter
000D
000D
000A
401C
Enter (extended)
000D
000D
000A
40A6
Esc
001B
001B
001B
4001
40A3
40A0
B-11
Page 110
JANUS 900 MHz Terminal Emulation for the Model 200 Controller
Key Code Table (continued) Key
ASCII/Extended
ASCII/Extended With Shift
Gray +
002B
Gray -
002D
ASCII/Extended With Ctrl
ASCII/Extended With Alt
Gray /
002F
003F
40A4
Home
4047
4037
4077
Home (extended)
4047
4047
4077
Ins
4052
4030
4092
Ins (extended)
4052
4052
4092
Left
404B
4034
4073
Left (extended)
404B
404B
4073
PgDn
4051
4033
4076
PgDn (extended)
4051
4051
4076
PgUp
4049
4049
4039
PgUp (extended)
4049
4049
4049
Right
404D
4036
4074
Right (extended)
404D
404D
4074
409D
Space
0020
0020
0020
0020
Tab
0009
400F
4094
40A5
Up
4048
4038
408D
Up (extended)
4048
4048
408D
4097
40A2
409B
40A1
4099
Scroll
B-12
4098