Customizing Your Configuration—Chapter 5
235TE 2000
5250 Terminal Emulation Programmer’s Guide
S string is the new fu nction for the key or keys, which can be a text
string, ASCII mnemonic, or another 2-byte hexadecimal code. En-
close the entire string in quotation marks.
4 Save the new file as REMAP.CFG.
5 Download REMAP.CFG to drive C: on your terminal.
Example 1
Suppose you want to remap “+” on your terminal to send a message and
then enter a carriage return. In the REMAP.CFG file, add this command:
remap=<002b>=“My battery is low.<CR>”
Example 2
To remap the function of the function keys to another key, replace string
with the transmitted code for the function and replace key with the 4-digit
hexadecimal key that will do the function. For example, to remap the [F6]
function to the “B” key, add this command to the REMAP.CFG file:
remap=<0042>=“<ESC>[17~”
Example 3
This is an example of multiple hexadecimal codes in the right-most argu-
ment which makes a key into a text sequence with embedded EHLLAPI
values for the [F4 ] and [F5] keys.
r
emap=<xxxx>=”EHLLAPI value”<1034>”EHLLAPI value
2”<1035>”END
Creating a Macro
1 Using any text editor, add the macro=<key>=“string” Macro
command to the end of the REMAP.CFG file, where:
S macro is the command you enter in REMAP.CFG.
S key is the 4-digit hex adecimal key or keys you are r emapping.
S string is the new action for the key or keys. The string can be a text
string, ASCII mnemonic, or another 2-byte hexadecimal code. En-
close the entire string in quotation marks.
2 At the end of the macro, type
runmacro=<key>
where key is the
4-digit hexadecimal code that identifies the keys that activate the macro.
3 SavethefilenameasREMAP.CFGforthemacrostowork.
4 Append the new remap to the original hex file using one of the follow-
ing commands. Replace ??? with your type of terminal:
S 59XX Terminals
FLSHCONV -a –eE000 FWP59??H0.HEX REMAP.CFG –oNEW.HEX
S 17XX, 11XX Terminals
FLSHCONV -a –eFFC0 FWP1???H0.HEX REMAP.CFG –oNEW.HEX
5 Download REMAP.CFG to drive C on your terminal.