Short: Frontmost screen becomes default public screen Author: Gunther Nikl (gnikl@informatik.uni-rostock.de) Uploader: Gunther Nikl (gnikl informatik uni-rostock de) Type: util/misc Version: 1.3 Replaces: util/misc/FrontPub11.lha Architecture: m68k-amigaos Distribution: NoCD What is FrontPub? FrontPub is a small utility that automatically declares the frontmost screen to the default public screen provided this screen is actually a public screen. Together with the global public screen mode 'SHANGHAI' enabled all windows that normally open on the Workbench screen will now open on the new default public screen. (Because FrontPub would no be very useful with a disabled 'SHANGHAI'-mode, it will be switched on at program start). The program uses a timer.device generated software interrupt to monitor Intuitions frontscreen. All other actions are done by the main program. FrontPub should work on every Amiga running at least Kickstart 2.04 (V37). Features - it's a commodity, so it can be disabled/enabled/ended at any time - screen check can be delayed for some time - exits if CTRL-C was received - a (rather simple) AREXX port - amount of needed cpu-time is negligible - pure, can be made resident (not very useful though) - 100% written in C (and compiled with GCC ;-) History 1.3 (09/02/98) - replaced vertikal-blank interrupt handler with a sophisticated timer generated software interrupt - validates DELAY option from Workbench too *oops* - added a simple AREXX port 1.2 (31/01/98) - nearly completely rewritten (no more asm!) - global data no longer on stack but AllocMem()ed in public memory for safe access from within the interrupt handler - added 'DELAY' option on request (not released)