Customizing Your ConfigurationChapter —5
236 TE 2000
5250 Terminal Emulation Programmer’s Guide
Example
You can assign “+” to activate a macro that remaps [B] to send the mes-
sage, “Change the battery pack now.” In the REMAP.CFG file, add this
command:
macro=<0042>=”Change the battery pack now.<CR>”
runmacro=<002b>
Nesting
Macrosdonotnest.Theright-mostargumentisprocessedaskeystrokes
and not scanned for macro values. For example:
// swap “3” and “5” keys
remap=<0033>=“5” // map “3” key to a “5” key
remap=<0035>=“3” // map “5” key to a “3” key
The “3” key produces a “5” key. If nesting was allowed, the “5” key is rec-
ognized as a macro that produces the “3” key and the “3” key is recognized
as a “5” key that produces the “7” key, and so forth.
Remapping Keys for Each Session
Use the following syntax to remap keys for each session. The session num-
ber can be 1, 2, 3 or 4 for 700 Series, CK30, CK31, and CV60 Termi-
nals. The 2415, 2425, 2435A, 2455, 2475, and 248X Terminals only sup-
port session 1 and 2. 6400, 5020, 5055, 59XX, 17XX, and 11XX
Terminalsdonotallowthisfeature.
remap=Session1<keyval>=”string”
Macro=Session1<keyval>=”string”
Runmacro=Session1<keyval>
Note: The string comparison for the “Session” string is case-sensitive.
Key Code Table
Note:Valuesthatarenotlistedheremayworkbutarenotsupported.
remap=<0020>=“string” /* SPACE key */
remap=<0021>=“string” /* ! key */
remap=<0022>=“string” /* ” key */
remap=<0023>=“string” /* # key */
remap=<0024>=“string” /* $ key */
remap=<0025>=“string” /* % key */
remap=<0026>=“string” /* & key */
remap=<0027>=“string” /* ’ key */
remap=<0028>=“string” /* ( key */
remap=<0029>=“string” /* ) key */
remap=<002a>=“string” /**key*/
remap=<002b>=“string” /* + key */
remap=<002c>=“string” /* , key */
remap=<002d>=“string” /* - key */
remap=<002e>=“string” /* . key */
remap=<002f>=“string” /* / key */