Category : Display Utilities
Archive   : ANSI_ETC.ZIP
Filename : ANSI.DOC

 
Output of file : ANSI.DOC contained in archive : ANSI_ETC.ZIP
ANSI.SYS

supports EGA screens

config.sys installation:

device=ansi.sys [ [ [ ] ] ]

where:

'[' ']' indicates an option.

is a number in the range of 0 to 16384. It specifies the number
of bytes reserved that may hold key translation strings, in
addition to the storage that may be used by predefined translation
strings included in the source code. The default is 256.

is a number in the range of 16 to 256. It specifies the number
of bytes reserved for other functions if the translation buffer
is full. The default is 32.

is a number in the range of 0 to 4096. It specifies the number
of bytes reserved in a character stack. this may be used by
other programs to force the operating system to read specific
input characters from the CON driver. The default is 128.

If an error is encountered, no indication is given and defaults are used
for the remainder of the values.

nonstandard features:

An assembly option produces initialization code which requires a password
during bootup configuration. An incorrect character typed, causes the
processor to halt with interrupts disabled.

The control-] character encountered in console output is treated like an
escape (control-[). This enables screen control in text generated under
conditions where escape discards the current line. In particular, screen
control may be done from the command line using ECHO.

BEL (control-G) output is timed by the system clock, and does not delay
output. Multiple BEL's output in rapid sequence produce little or no
additional output in the current version.

Execution of the Print-Screen keyboard function may be enabled
or disabled.

A key click is provided. It may be disabled.

Several additional screen output functions have been added. For these,
the second character of the escape sequence is ']' instead of '['.

A special form-feed is provided. It outputs a double line from the
position encountered (normally the left of the screen) to the right
of the screen, then advances to the next line. This may be disabled.


']'P
or
']'P

Outputs the parameters to the screen as if they were not control
characters, even if they are.

]0;1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31P


']'I
or
']'I

Executes miscellaneous functions

parameters:

0 - flush input, wait for a key to be typed,
discard the input unless it is ctrl-C
1 - wait, if necessary, for a key,
discard the input unless it is ctrl-C
2 - erase from top of screen to position ahead of cursor,
use current attribute
3 - erase from top of screen to position ahead of cursor,
leave existing attribute
4 - erase from beginning of line to position adead of cursor,
use current attribute
5 - erase from beginning of line to position adead of cursor,
leave existing attribute
6 - erase from cursor position to end of line,
use current attribute
7 - erase from cursor position to end of line,
leave existing attribute
8 - erase from cursor position to end of screen,
use current attribute
9 - erase from cursor position to end of screen,
leave existing attribute
10 - key click off
11 - key click on
12 - print-screen disable
13 - print-screen enable
14 - disable special form-feed
15 - enable special form-feed


]A
or
]A

uses the bit values of for subsequent screen output,
where:

xxxxxxx1 = enable blue foreground
xxxxxx1x = enable green foreground
xxxxx1xx = enable red foreground
xxxx1xxx = enable high intensity foreground
xxx1xxxx = enable blue background
xx1xxxxx = enable green background
x1xxxxxx = enable red background
1xxxxxxx = enable blinking foreground


];K
or
];K

sets the start and end line of the cursor (cursor type).


]C or ]C

simulates a ctrl-C input from the keyboard.


related files:
PUSH
S
CLICK
PRSC


  3 Responses to “Category : Display Utilities
Archive   : ANSI_ETC.ZIP
Filename : ANSI.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/