home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR3
/
KLS30.ZIP
/
KLS.DOC
< prev
next >
Wrap
Text File
|
1994-01-23
|
14KB
|
386 lines
STEENBURGH'S STUFF
Mildly Useful Utilities
For Batch Files
Version 3.0
Copyright 1991-1993 by Chuck Steenburgh and Tay-Jee Software
_______
____|__ | (TM)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Page 1
KLS 3.0 |
Copyright 1991-1994 Chuck Steenburgh & Tay-Jee Software
KLS is a simple replacement for the DOS screen-clearing
function (CLS).
Usage: KLS [color] [/Bn] [/M] [/V] [/X | /N] [/H] |
color A number from the list below:
0 - Black
1 - Blue
2 - Green
3 - Cyan
4 - Red
5 - Magenta
6 - Brown
7 - White
/Bn Change border to color n, where n:
0 - Black
1 - Blue
2 - Green
3 - Cyan
4 - Red
5 - Magenta
6 - Brown
7 - White
8 - Grey
9 - Bright blue
10 - Light green
11 - Light cyan
12 - Light red
13 - Light magenta
14 - Yellow
15 - Bright white
/H | /? Display brief help screen.
/M Report EGA/VGA memory installed. |
Page 2
/N Return to normal 25-line mode.
/V Verbose report
/X Enter extended video mode (43 lines
for EGA, 50 lines for VGA).
Examples:
KLS 4 Clears the screen & paints it red.
KLS 6 Clears the screen & paints it brown.
KLS /B4 Turns border magenta.
KLS /B1 6 Clears screen & paints it brown with
a blue border.
KLS /4 /B4 /E Clears screen, sets screen to 43- or
50-line mode, and paints screen and
border red.
KLS /N Clears screen, returning it to 25-
line mode and default color.
KLS /V /M Clears screen, reports amount of |
EGA/SVGA memory (if applicable), and |
reports findings to screen in detail. |
When the screen is cleared, it will be set to the color indi-
cated on the command line. Entering KLS without parameters
is the same as issuing CLS (i.e., clear screen without color).
"KLS 0" is useful if you have used ANSI or some other method
to set your screen to a color other than black, but you want
a black screen temporarily.
The /B switch, by itself, does NOT clear the screen. Some-
times you will want to reset the border color without erasing
what is on the screen (such as when a "misbehaved" program
changes the color of your screen border and does not reset it).
KLS also detects the type of video display card installed
and returns errorlevel codes as shown below:
0 - monochrome display adapter (MDA)
1 - color graphic adapter (CGA)
2 - extended graphics adapter (EGA)
3 - video graphics array (VGA)
Page 3
4 - multi-color graphics adapter (MCGA)
5 - Hercules graphics adapter
SVGA cards:
6 - VESA-compatible SVGA card |
7 - AHEAD-A chipset |
8 - AHEAD-B chipset |
9 - ATI 18800 chipset |
10 - ATI 18800-1 chipset |
11 - ATI 28800 chipset |
12 - C&T 82c451 chipset |
13 - C&T 82c452 chipset |
14 - C&T 82c453 chipset |
15 - Genoa 6000 chipset |
16 - Oak OTI-067 chipset |
17 - Paradise PVGA1a chipset |
18 - Paradise WD90C00 chipset |
19 - Paradise WD90C11 chipset |
20 - Trident 8800 chipset |
21 - Trident 8900 chipset |
22 - Tseng ET3000 chipset |
23 - Tseng ET4000 chipset |
24 - Video7 chipset |
25 - Cirrus Logic 54xx chipset |
26 - S3 chipset |
27 - Trident 8900B/C chipset |
When using the /V switch, a brief screen message describing
the installed video card is displayed.
When using the /M switch, the errorlevel is set too indicate |
the type of card and amount of video memory as follows: |
Errorlevel Video card & memory |
========== =================== |
41 EGA w/64k |
42 EGA w/128k |
43 EGA w/192k |
44 EGA w/256k |
51 SVGA w/512k |
52 SVGA w/1024k |
53 SVGA w/1536k |
54 SVGA w/2048k |
etc... |
If you make an error (specify an invalid color value), KLS
will sound a tone return an errorlevel of 255.
OMBUDSMAN
Page 4
This program is produced by a member of the Association of
Shareware Professionals (ASP). ASP wants to make sure that
the shareware principle works for you. If you are unable to
resolve a shareware-related problem with an ASP member by
contacting the member directly, ASP may be able to help. The
ASP Ombudsman can help you resolve a dispute or problem with
an ASP member, but does not provide technical support for
members' products. Please write to the ASP Ombudsman at 545
Grover Road, Muskegon, MI 49442 or send a CompuServe message
via CompuServe Mail to ASP Ombudsman, 70007,3536.
DISCLAIMER
The programs described in this documentation are guaran-
teed to do absolutely nothing! They have, however, in my exper-
ience performed essentially as described herein. The author
will not be responsible for any loss or damages caused through
the use of these programs. No warranty, express or implied,
is provided for this software's performance, merchantability,
or fitness for a particular purpose.
All trademarks are property of their respective owners.
The programs and documentation are Copyright 1991,1992 by
Chuck Steenburgh. You are encouraged to distribute these pro-
grams provided the following conditions are met:
- all files contained in the archive or distribution disk
must be distributed together in UNMODIFIED form
- you charge no more than a reasonable fee for copying or
subscription, and clearly indicate that payment of such
a fee does NOT grant ownership of the programs.
This program is part of set of utilities known as STEEN-
BURGH'S STUFF (Mildly Useful Utilities). The full set of
utilities includes the following programs:
BATBOX: Simple menu creation/input system
CHKDRV: Checks disk drive status
CHKPRN: Checks parallel printer status
CLK: Displays time on screen
CURSOR: Change cursor shape
DOSVER: Checks for DOS version currently running
INPUT: Simple prompt/input system
KLS: Colorful screen-clearing utility
Page 5
LAUNCHER: File selection/execution system
MUSIC: Plays transcribed sheet music on the PC
RAND: Random number generator
SKIP: Prints blank lines from batch files
SOUNDER: Wide range of noise making options
SPACE: File/disk space reporting utility
WAITFOR: Timed pauses
WHENISIT: Date/time telling utility
WRITE: Colorful output anywhere on screen
XD: Create/switch directories at the same time
You may evaluate these programs for up to 30 days on a free
trial basis. After 30 days, you should register your use of
these programs. The registration fee is $20, payable to the
author at the address given below. For those registering
directly with Tay-Jee Software, we offer a $5 cash discount.
Let's be real: I don't plan to make a lot of money this way.
Registration does have its advantages:
- I am improving these programs all the time. Registration
will get you IMMEDIATELY a disk with the latest version.
You will also get the next major release of the program set
sent to you free of charge.
- While I can't promise to include everyone's suggestions
in program updates, you can bet I'll listen to registered
users before any of you scrounges out there.
- You will make me feel all warm and fuzzy and appreciated,
and all that good stuff.
- You will also get an evaluation copy of my text file for-
matting program (used to produce the margins in this doc-
ument), and any other electronic creations I have decided
to unleash on a foolish, unsuspecting world.
Send comments/registrations to:
Tay-Jee Software
Post Office Box 835
Lexington, VA 24450
(703)464-5290
!!!VIRGINIA RESIDENTS ADD 4.5SALES TAX!!!
CIS 72330,1776 (I haunt the IBMSYS and IBMPRO forums)
Page 6
Page 7