home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
utility
/
system
/
setvt52
/
setvt52.1
< prev
next >
Wrap
Text File
|
1991-11-02
|
6KB
|
172 lines
NAME
setvt52 - change settings of vt52 console
SYNTAX
setvt52 [options]
USAGE
'setvt52' is a program to change some parameters of the vt52
console on an Atari ST. It recognizes the following options:
clear This clears the screen and puts the cursor top-left.
home Put the cursor top-left.
fgcolor=C Sets the foreground color. See below under COLORS
bgcolor=C Sets the background color. See below under COLORS
curon Turns the cursor on.
curoff Turns the cursor off.
revon Sets reverse video on.
revoff Sets reverse video off.
wrapon Sets linewrap on.
wrapoff Sets linewrap off.
reset Sets the console in a default state. This is: cursor on,
reverse off, black foreground, white background,
wrap on and clear the screen.
You may enter one or more of the above mentioned options.
COLORS
You can specify the colors in 'fgcolor' and 'bgcolor' in a
number of ways.
1) Enter the name of the color in either Dutch or English.
E.g.
white, black, green
The program knows of the 7 basic colors (white, black,
red, blue, cyan, yellow and magenta). You can prepend 'l'
for each color to get the 'light' variant, e.g. lyellow.
2) Enter the number of the color (0..7). Prepend 'l' to get
the 'light' variant.
The number of colors you can use is dependent of the mode
you're working in:
High-res : 2 colors
Med.-res : 4 colors
Low.-res : 16 colors.
EXAMPLE
setvt52 fgcolor=lblue bgcolor=white wrapoff clear
This sets the foreground color to lightblue, the background
to white, disables linewraps and clears the screen.
STARTUP
WILDCARDS
You may use the GEMDOS wildcards ? and * when specifying
filenames. For now they may only occur in the filenamepart,
the last part of a pathname. These wildcards will be
expanded into a sorted list of filenames. For example:
c:\signum\doc\*.*
Expands to all the files in the 'c:\signum\doc' directory. If
a wildcard matches not at least one file, the program is
aborted with the message: "File not found".
Everything within quotes is not expanded, so
'c:\usr\signum\doc\*.*'
is not expanded. As quotes the following characters are
recognized: ', " and %. I've added the last one since some
shells remove quotes when passing a commandline to a
program.
You can use the character ^ to stand for a space, since some
shells have the habit of breaking a word always at a space,
even when it is quoted. So One^Word becomes "One Word" in
your C-program.
ESCAPE MECHANISM
Use the slash (/) to enter controlcodes and other codes that
are difficult to type. A slash also provides a mechanism to
suppress the usual meaning of ?, * and ^. So *.* expands to a
list of filenames but /* is just a asterisk. ^ is normally
converted to a space but /^ is a caret.
The following codes have a special meaning:
/n - linefeed /t - horizontal tab
/r - return /b - backspace
/e - escape /xxx - the character whose decimal code
/^ - caret is xxx, e.g. /65 is 'A'.
/* - asterisk
/? - question mark
All other codes are ignored, so /A is just the letter A. Use
// to enter a single slash.
I/O REDIRECTION
It is possible to redirect the input and output even if you
shell doesn't offer this capability. Just add one or more of
the following on the commandline
in=<filename> Get standard input from given file.
out=<filename> Store standard ouput in given file.
out+=<filename> Append standard output to given file.
err=<filename> Store standard error in given file.
err+=<filename> Append standard error to given file.
These words may occur anywhere on the commandline and are
effective immediately. Note that 'err=' and 'out=' destroy
the outputfile if it exists already (the old contents are
lost), while 'err+=' and 'out+=' append the information to
the given file.
AUTHOR
A.V. Sijtsma
Telderslaan 23
3527 KD Utrecht
The Netherlands
Fidonet: 2:/281/701.4
If you use this program, please send me a nice postcard. Suggestions,
bug reports etc. are also welcome.
DISCLAIMER
NO GUARANTEE IS GIVEN FOR THE FUNCTIONS
PERFORMED BY THIS SOFTWARE. USE IT AT YOUR
OWN RISK. IF ALL THE DATA ON YOUR SYSTEM
VANISH INTO THIN AIR, IT IS YOUR OWN
RESPONSIBILITY. THE AUTHOR CANNOT BE HELD
RESPONSIBLE FOR ANY USE OF THIS SOFTWARE IN
ANY CONCEIVABLE OR UNCONCEIVABLE WAY.
THIS IS PUBLIC DOMAIN SOFTWARE. FEEL FREE TO
DISTRIBUTE IT. YOU MAY, HOWEVER, CHARGE NO
MONEY APART FROM A SMALL FEE FOR POSTAGE AND
HANDLING. THIS SOFTWARE IS UNSUPPORTED BY ME.
THAT IS: I'VE MADE IT JUST FOR FUN AND HAVE
NO INTENTION OF MAINTAINING IT FOR ANYONE BUT
MYSELF.
IDENTIFICATION
$Id: setvt52.prf,v 1.2 1991/11/02 13:38:12 LexSijtsma Exp LexSijtsma