Name ANSI.SYS
Abrv
Ver 2.0 ...
Type Ext
A device driver specified in CONFIG.SYS which provides many of the
commands defined by ANSI for controlling video displays and keyboards.
Controls: cursor positioning, display colors, video mdoes, keyboard mapping.
Replaces the CON driver. Enabled by a line placed in CONFIG.SYS (see Syntax).
Syntax DEVICE=drive:\path\ANSY.SYS /X /K /R
DEVICEHIGH=drive:\path\ANSY.SYS /X /K /R
Optional
Parameters
and Switches
drive:\path\ Specifies the drive and full path to the file ANSI.SYS on disk.
Default is C:\DOS subdirectory. DOS also looks in root directory
of startup drive.
/X Enables extended keys of a 101-key keyboard to be remapped.
/K Makes a 101-key keyboard look like a 84-key keyboard.
Required for older TSRs that do not know new kecodes.
Same as specifying SWITCHES=/K (but still ANSI.SYS /K).
/R Slows down line scrolling rate.
Notes
1) Cannot use /X and /R at same time.
2) ANSI.SYS uses about 4KB of memory.
3) All ANSI commands start with the ESC character and are case
   sensitive.
4) The MODE command requires ANSI.SYS to be
   loaded to be able to change the number of displayed text lines.
   MODE can switch between color and monochrome without ANSI.SYS.
5) When loaded ANSI.SYS initializes to white on black, overriding
   MENUCOLOR=. If this is a problem put an ANSI command in
   AUTOEXEC.BAT or load ANSI.SYS from a [COMMON] block before
   [MENU] block.
6) ANSI commands cannot be given from keyboard (where ESC means
   cancel current command). PROMPT can be used to contain ANSI
   commands. Another alternative is to put ANSI commands in a
   file and then do:
      COPY ANSI_CMD.TXT CON
7) See ANSI_COMMANDS for list of all supported commands.
See also
DEVICE DEVICEHIGH PROMPT

© 2005 Prem Sobel. All Rights Reserved.