			ASSIGNMENT OF KEYS

You can assign (change, map, program) what occurs in the computer in response 
to pressing a key. For the assignments to work, most DOS systems require the 
line DEVICE=ANSI.SYS in the CONFIG.SYS file. Any assignments you make will 
probably be ignored by separately purchased programs. You are limited to about 
200 stored characters for such assignments, and each assignment occupies at 
least 4 characters. See the "SUMMARY COMMAND_EDITING" topic for information 
about the default key assignments for function keys.

Key (re)assignment can be done by the PROMPT, ECHO, and ESC commands. Such 
commands are usually stored in a batch file. Such a batch file MUST run with 
ECHO OFF, or the keys won't get reassigned. Each command used to reassign a 
key must be displayed on the screen, or ANSI.SYS won't "see" the escape string,
and no reassignment will occur. When PROMPT command(s) are used, each command 
will erase the screen. After a series of such PROMPT commands, you will
probably want to enter a final PROMPT to re-establish the prompt displayed 
by DOS to solicit your next command. Instead of a PROMPT command, an ECHO 
command can be used. An ESC command can also be used (on those systems which 
have the ESC command). The first "[" on these PROMPT, ECHO, and ESC commands 
is required. Subsequent "["s and "]"s indicate that what follows is optional.
