home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
sysutl
/
ansiset.arc
/
ANSISET.DOC
next >
Wrap
Text File
|
1987-11-09
|
2KB
|
81 lines
ANSISET (V1.00) ANSISET
NAME
ansiset - set foreground or background colors and do keyboard
reassignment using ANSI driver for DOS
SYNOPSIS
ansiset option1 option2 option3 ...
DESCRIPTION
Ansiset is a program that is used to set the foreground and
background colors and do keyboard reassignment using the ANSI
driver for DOS.
Options are of five kinds: foreground color options, background
color options, other color options, keyboard reassignment options
and miscellaneous options.
Any number of options may be specified in any order. They are
executed in the order given.
FOREGROUND COLOR OPTIONS
The foregound color options are:
black, red, green, brown, blue, magenta, cyan, and white.
BACKGROUND COLOR OPTIONS
The background color options are:
bblack, bred, bgreen, bbrown, bblue, bmagenta, bcyan, and bwhite.
OTHER COLOR OPTIONS
The other color options are:
normal (white on black), reverse (reverse video), and
bright (bold foreground).
KEYBOARD REASSIGNMENT OPTIONS
These options are of the form x=y where
x = a number from 1 to 255 (ASCII code of a key in decimal)
or
0; followed by a number from 1 to 255 (extended ASCII code
for function keys etc.)
y = a sequence of numbers (1..255) or strings (enclosed in double
quotes), each separated by a semicolon.
Examples: 101=69 (Reassign 'e' to 'E')
0;59=101 (Reassign F1 to 'e')
0;59=99;100;32 (Reassign F1 to 'cd ')
0;59="dir" (Reassign F1 to 'dir')
0;59="dir";13 (Reassign F1 to 'dir<cr>')
MISCELLANEOUS OPTIONS
-h, -H, -? gives help
-v, -V displays version number
EXAMPLES
ansiset bblue red 0;62="dir";13
sets the background color to blue, foreground color to red and
maps the F4 key to "dir<CR>".
AUTHOR
Venu P. Gopal
Inspired from a public domain batch file that set the foreground
and background colors in ANSI.