home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d910
/
defpubscreen.lha
/
DefPubScreen
/
DefPubScreen.doc
< prev
next >
Wrap
Text File
|
1993-08-28
|
4KB
|
120 lines
DEFPUBSCREEN V2.00
==================
Created by Matt Francis (m.p.francis@newcastle.ac.uk)
DISCLAIMER
----------
This software comes with no warranty, either expressed or implied. The
author cannot be held responsible for any damage or loss that may occur due
to direct or indirect usage of this software. You use this software
entirely at your own risk.
COPYRIGHT
---------
This software is freely distributable, BUT all programs and documentation
are copyright 1993 Matt Francis. Permission is NOT given to re-release this
package if it has been altered in any way.
DISTRIBUTION
------------
Permission is given to include this program in a public archive (such as a
BBS, FTP site or PD library) providing that all parts of the original
distribution are kept intact. These are as follows:
DefPubScreen/DefPubScreen
DefPubScreen/DefPubScreen.info
DefPubScreen/DefPubScreen.doc
DefPubScreen/DefPubScreen.doc.info
DefPubScreen.info
No charge may be made for this software, other than a reasonable copying
fee, and/or the price of the media.
REQUIRMENTS
-----------
Kickstart V36 or above.
INTRODUCTION
------------
Yes! It's another public screen utility! Not a manager though, just a
little wedge that makes the front-most screen the default public screen. If
the front-most screen isn't a public screen, nothing changes.
I'm sure that there are other utilities to do this, and I even remembering
trying one out but it kept crashing on me. This little utility is small,
clean and legal (I hope), and uses virtually no processor time. It wedges
into the vertical blanking interrupt server chain and watches Intuition's
record of the front-most screen (DefPubScreen's server is minute and uses an
absolutely negligible amount of CPU time). When the front-most screen
changes, the main task is signalled and responds to this by making the
front-most screen the default public screen if possible. This is all
totally transparent and happens very quickly, and is very handy for people
who have seperate screens for Shell windows etc.
USAGE
-----
DefPubScreen can be started from a Shell or from the Workbench (best to drop
it into your WBStartup drawer).
Format: DEFPUBSCREEN [SHANGHAI] [POPPUBSCREEN]
Template: SHANGHAI/S,POPPUBSCREEN/S
SHANGHAI - Enables the global public screen mode which causes windows
that usually appear on the Workbench screen (i.e. those
that have "WBENCHSCREEN" for their type) to appear on the
default public screen instead. This does not include
Workbench's own windows.
POPPUBSCREEN - Enables the global public screen mode which causes a
public screen to pop to the front whenever a visitor
window opens on it.
There are equivalent Workbench tool types for both the switches. Note that
if you use DefPubScreen to enable these options, you can only turn them off
again by using a public screen manager or similar. The reason they are
included in DefPubScreen is so that they can be enabled at startup (which is
when DefPubScreen is designed to be run).
If you run DefPubScreen from a Shell or from your User-Startup, you must
start it as a background process (i.e. "Run >NIL: DefPubScreen").
DefPubScreen can be removed with a CTRL-C signal, or by executing the
program again.
BTW: Sorry about the appalling icon, I really hate drawing icons - if
anyone draws a good one, please email it to me.
TO DO
-----
I will probably add a screen-exclusion feature at some stage (so that
particular user-specified public screens will never be made the default
public screen).
I may turn DefPubScreen into a commodity so that it can be turned on and
off. If I implement the feature above, I may well give the program a little
GUI as well.
HISTORY
-------
V2.00 - Total re-write (not because of bugs fortunately), added two
options.
V1.00 - Conception.