-----BEGIN PGP SIGNED MESSAGE-----

sCREENS V.0,01.
Copyright 1996 Jon Wickmann
ALL RIGHTS RESERVED

   YOU HAVE TO READ THIS

I wrote this software therefore I have all the rights to this software,
I do not give away this software or any rights to it. However, I grant
you the right to use this software if you accept all the conditions in
this documentation.

   Disclaimer -- NO WARRANTY

This software is distributed "AS IS" WITHOUT ANY WARRANTY
OF ANY KIND, either expressed or implied. Without ANY warranties
of merchantability or fitness for ANY particular purpose. 
The user (YOU) ASSUMES THE ENTIRE RISK of using this software.

IN NO EVENT SHALL Jon Wickmann BE LIABLE FOR ANY DAMAGES
CAUSED BY using THIS SOFTWARE.

   Licence

This software is FreeWare for private users (You do not have to pay).
People that earn money by using this software (business, governmental,
professionals) have to pay (mail me and we will make a deal).

If you would like to distribute this software on CD-ROM, BBS, floppies
or any other mediae please mail me with a pointer to where it is distributed
from (e.g. BBS name and number). IMPORTANT NOTE!! If you distribute
this software you may not charge any more than the cost of distributing this
software. What you can charge for is the medium it is distributed on and the
maintenance of your archive. If you have been charged for more than this
please mail me and tell me about it.

   Contact information

You can reach me by email at: wickmann@sn.no
By web: http://home.sn.no/~wickmann/screens.html

   What does it do?

Well it checks the screen mode and returns it in exit codes, 
it can also set the screen mode.
   
   How to make it do what it can?

    The switches

You can use both slashes (/) and minuses (-) before the commands.

To get the screen mode just issue 'drives /g' and you have the screen mode, 
either on the screen or in exit codes. 
The equals for the exit codes would be:

 Mode #  Description' 0a 0d
   0     40x25 B/W text (CGA, EGA, MCGA and VGA)
   1     40x25 16 colour text (CGA, EGA, MCGA and VGA)
   2     80x25 16 shades of gray text (CGA, EGA, MCGA and VGA)
   3     80x25 16 colour text (CGA, EGA, MCGA and VGA)
   4     320x200 4 colour graphics (CGA, EGA, MCGA and VGA)
   5     320x200 4 colour graphics (CGA, EGA, MCGA and VGA)
   6     640x200 B/W graphics (CGA, EGA, MCGA and VGA)
   7     80x25 monochrome text (MDA, HERC,EGA and VGA)
   8     160x200 16 colour graphics (PCjr)
   9     320x200 16 colour graphics (PCjr)
  10     640x200 4 colour graphics (PCjr)
  11     Not in Use (EGA Function 11)
  12     Not in Use (EGA Function 11)
  13     320x200 16 colour graphics (EGA and VGA)
  14     640x200 16 colour graphics (EGA and VGA)
  15     640x350 monochrome graphics (EGA and VGA)
  16     640x350 16 colour graphics (EGA and VGA with 128k or more)
  16     640x350 4 colour graphics (EGA 64k)
  17     640x480 B/W graphics (MCGA and VGA)
  18     640x480 16 colour graphics (VGA)
  19     320x200 256 colour graphics (MCGA and VGA)
  20     EGA, MCGA or VGA no clearing
  21     EGA, MCGA or VGA no clearing

To set the screen mode use 'scr/e x' where x is the mode. 
You can make sCREENS silent with the /s or /q switch 
E.g. scr /sg 

To get my email address you issue the command scr /c.
If you need help then just scr /h.

    The magic it can do in a batch file

If You would like a batch file to do something specific when you are in 
a specified screen mode. You could use a batch file similar to this below.

- --------cut--
@echo off
drives /sg
IF ERRORLEVEL = 2 GOTO ccc
IF ERRORLEVEL = 1 GOTO bbb
IF ERRORLEVEL = 0 GOTO aaa
GOTO END
:aaa
rem Whatever You wish to do when you are in mode 0
GOTO END
:bbb
rem Whatever You wish to do when you are in mode 1
GOTO END
:bbb
rem Whatever You wish to do when you are in mode 2
GOTO END
:END
- --------cut--

   It did not work?

It is not so very much I can do with that. Maybe you had some 
Antivirus utile running that blocked sCREENS or maybe some
other security utile on your system, if you encounter this more
than once, please mail me and tell about it. 


   What does it mean that this file is PGP signed?

I have signed this file and scr.com (scr.sig) with my PGP
signature, so that You have the opportunity to check wherever
some one has changed these files before you got them. Please report
by mail to me if they where. You can get my PGP public key
from my web page and public key servers.

   Comments, Improvements

If you have some mail them to me.



Copyright 1996 Jon Wickmann
Brands and product names mentioned above and in sCREENS V.0,01.
are trademarks or registered trademarks of their respective holders.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: cp850
Comment: Remember security

iQEVAwUBMsRLl5qvcJdBw69FAQE81Qf9H4ssqAvh7kvh+Z7SpRcPcnBw2LVQn+KL
TO2a4ZZbQNwadikKZwbtkgpSTojeaaCyKxK37T1Fb8CLfpgeW9VD5uuzCTqykk5H
yiCAEF/pm346d9peFah0yHjLtKyjGMJAx/4vq8DiMtG46EVUi1XWGtJVoAPLAxZe
typoXX6yoQs7moPt3BRXX3swxt6W4VUK+jJb+ELe3QDjZZMEGnG82W8NCLGk+FjO
2O0wngPzBkyI/Ytqs+jei+RVoCqZg/7kkAxqA/x/0J95ATAsk+lRS2VrUovGSEim
5zzyns3v4oryjidlfpcUF5Ju3HDFmJS4QTYf+JxY1JCZHil83GOPcA==
=FowB
-----END PGP SIGNATURE-----
