home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
k
/
kls20.zip
/
KLS.DOC
< prev
next >
Wrap
Text File
|
1993-01-10
|
11KB
|
306 lines
STEENBURGH'S STUFF
Mildly Useful Utilities
For Batch Files
Version 2.5
Copyright 1991,1992 by Chuck Steenburgh and Tay-Jee Software
_______
____|__ | (TM)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Page 1
KLS 2.0 |
Copyright 1991 by Chuck Steenburgh & Tay-Jee Software
KLS is a simple replacement for the DOS screen-clearing
function (CLS).
Usage: KLS [color] [/Bn] [/E | /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
/E Enter extended video mode (43 lines |
for EGA, 50 lines for VGA). |
/N Return to normal 25-line mode. |
/H Display brief help screen. |
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 |
Page 2
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. |
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)
4 - multi-color graphics adapter (MCGA)
5 - Hercules graphics adapter
If you make an error (specify an invalid color value), KLS
will sound a tone return an errorlevel of 255.
OMBUDSMAN
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
Page 3
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
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.
Page 4
- 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 5