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 >
Text File  |  1993-08-28  |  4KB  |  120 lines

  1.  
  2.                              DEFPUBSCREEN V2.00
  3.                              ==================
  4.  
  5.            Created by Matt Francis (m.p.francis@newcastle.ac.uk)
  6.  
  7.  
  8. DISCLAIMER
  9. ----------
  10.  
  11. This software comes with no warranty, either expressed or implied.  The
  12. author cannot be held responsible for any damage or loss that may occur due
  13. to direct or indirect usage of this software.  You use this software
  14. entirely at your own risk.
  15.  
  16.  
  17. COPYRIGHT
  18. ---------
  19.  
  20. This software is freely distributable, BUT all programs and documentation
  21. are copyright 1993 Matt Francis.  Permission is NOT given to re-release this
  22. package if it has been altered in any way.
  23.  
  24.  
  25. DISTRIBUTION
  26. ------------
  27.  
  28. Permission is given to include this program in a public archive (such as a
  29. BBS, FTP site or PD library) providing that all parts of the original
  30. distribution are kept intact.  These are as follows:
  31.  
  32.     DefPubScreen/DefPubScreen
  33.     DefPubScreen/DefPubScreen.info
  34.     DefPubScreen/DefPubScreen.doc
  35.     DefPubScreen/DefPubScreen.doc.info
  36.     DefPubScreen.info
  37.  
  38. No charge may be made for this software, other than a reasonable copying
  39. fee, and/or the price of the media.
  40.  
  41.  
  42. REQUIRMENTS
  43. -----------
  44.  
  45. Kickstart V36 or above.
  46.  
  47.  
  48. INTRODUCTION
  49. ------------
  50.  
  51. Yes!  It's another public screen utility!  Not a manager though, just a
  52. little wedge that makes the front-most screen the default public screen.  If
  53. the front-most screen isn't a public screen, nothing changes.
  54.  
  55. I'm sure that there are other utilities to do this, and I even remembering
  56. trying one out but it kept crashing on me.  This little utility is small,
  57. clean and legal (I hope), and uses virtually no processor time.  It wedges
  58. into the vertical blanking interrupt server chain and watches Intuition's
  59. record of the front-most screen (DefPubScreen's server is minute and uses an
  60. absolutely negligible amount of CPU time).  When the front-most screen
  61. changes, the main task is signalled and responds to this by making the
  62. front-most screen the default public screen if possible.  This is all
  63. totally transparent and happens very quickly, and is very handy for people
  64. who have seperate screens for Shell windows etc.
  65.  
  66.  
  67. USAGE
  68. -----
  69.  
  70. DefPubScreen can be started from a Shell or from the Workbench (best to drop
  71. it into your WBStartup drawer).
  72.  
  73.   Format: DEFPUBSCREEN [SHANGHAI] [POPPUBSCREEN]
  74. Template: SHANGHAI/S,POPPUBSCREEN/S
  75.  
  76. SHANGHAI    - Enables the global public screen mode which causes windows
  77.           that usually appear on the Workbench screen (i.e.  those
  78.           that have "WBENCHSCREEN" for their type) to appear on the
  79.           default public screen instead.  This does not include
  80.           Workbench's own windows.
  81. POPPUBSCREEN    - Enables the global public screen mode which causes a
  82.           public screen to pop to the front whenever a visitor
  83.           window opens on it.
  84.  
  85. There are equivalent Workbench tool types for both the switches.  Note that
  86. if you use DefPubScreen to enable these options, you can only turn them off
  87. again by using a public screen manager or similar.  The reason they are
  88. included in DefPubScreen is so that they can be enabled at startup (which is
  89. when DefPubScreen is designed to be run).
  90.  
  91. If you run DefPubScreen from a Shell or from your User-Startup, you must
  92. start it as a background process (i.e.  "Run >NIL:  DefPubScreen").
  93.  
  94. DefPubScreen can be removed with a CTRL-C signal, or by executing the
  95. program again.
  96.  
  97. BTW:  Sorry about the appalling icon, I really hate drawing icons - if
  98. anyone draws a good one, please email it to me.
  99.  
  100.  
  101. TO DO
  102. -----
  103.  
  104. I will probably add a screen-exclusion feature at some stage (so that
  105. particular user-specified public screens will never be made the default
  106. public screen).
  107.  
  108. I may turn DefPubScreen into a commodity so that it can be turned on and
  109. off.  If I implement the feature above, I may well give the program a little
  110. GUI as well.
  111.  
  112.  
  113. HISTORY
  114. -------
  115.  
  116. V2.00    - Total re-write (not because of bugs fortunately), added two
  117.       options.
  118.  
  119. V1.00    - Conception.
  120.