3.252 bytes

Service Hints & Tips

Document ID: DJON-3G8SW3

Aptiva - Using ANSI.SYS

Applicable to: United States

ANSI.SYS is technically not a command, but rather a device driver that allows you to enhance the standard input and output support of your computer. It does this by:

- Reassigning the keyboard keys

- Manipulating the cursor

- Displaying color attributes

- Changing the number of rows in the screen by using the MODE command

The ANSI.SYS device driver is installed by placing a device statement in your CONFIG.SYS file. Syntax for the command is as follows:

DEVICE=[drive:]\[path]\ANSI.SYS [parameters]

drive: - tells DOS the drive where the ANSI.SYS driver file can be found.

Path - tells DOS the directory where the ANSI.SYS driver is located.

[parameters]:

/l - allows ANSI.SYS to retain the number of rows in the screen set through the MODE command when an application program will normally default to 25 rows (per screen).

WARNING: The /l option may cause problems with some applications. If this occurs, discontinue the use of this parameter.

/k - prevents ANSI.SYS from using extended keyboard functions; this option provides compatibility for those applications that do not understand the extended keyboard functions.

Most computer users load the ANSI.SYS driver in order to switch their display to "graphics" mode. In this case, you can add the following statement to the CONFIG.SYS file:

DEVICE=drive:\path\ANSI.SYS

In addition, you can use escape codes and/or programming statements in order to better use this device driver. For a list of valid escape codes and programming examples, you should consult a DOS reference manual or the DOS online HELP system.

Search Keywords

Hint Category

DOS/Windows 3.x, Windows 95

Date Created

17-04-97

Last Updated

25-01-99

Revision Date

20-05-99

Brand

IBM Aptiva

Product Family

Aptiva, PS/1

Machine Type

2134, 2136, 2137, 2138, 2140, 2142, 2144, 2159, 2161, 2162, 2168, 2176, 2011, 2121, 2123, 2133, 2155

Model

ALL

TypeModel

2144s15

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes