AminetAminet
Search:
84717 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/sys/BetterCloseScreen.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Ensure public screens always get closed
Author:Chris Handley
Uploader:http://cshandley.co.uk/email
Type:util/sys
Version:r3
Architecture:ppc-amigaos
Date:2011-07-04
Download:http://aminet.net/util/sys/BetterCloseScreen.lha - View contents
Readme:http://aminet.net/util/sys/BetterCloseScreen.readme
Downloads:6026

This is a little Shell program which patches CloseScreen() so that it can never
fail for public screens.  If closing would fail (usually due to a foreign
'visitor' window) then it waits one second & tries again, until it succeeds.

I wrote this patch because Ringhio notifications (e.g.  from TuneNet) seem to
prevent most Amiga programs from closing their screen (including all MUI ones!),
because they wrongly assume the screen closed correctly.


Changes for this release:

* Programs using CloseScreen(NULL) will no-longer crash.  Thanks to Chris Young
  for the bug report.
* Quitting with Ctrl-C will now abort any CloseScreen() calls that have gotten
  stuck waiting for the screen to close.
* Refactored the patching code into a separate reusable module. :-)


Contents of util/sys/BetterCloseScreen.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                11843   17564  67.4% -lh5- 1027 Jun 15 15:47 BetterCloseScreen.info
[generic]                49507  169116  29.3% -lh5- 2bb7 Jul  4 14:47 BetterCloseScreen/BetterCloseScreen
[generic]                 1636    3354  48.8% -lh5- 4909 Jul  4 14:48 BetterCloseScreen/BetterCloseScreen.txt
[generic]                  915    1906  48.0% -lh5- 6b27 Jul  4 14:46 BetterCloseScreen/source/BetterCloseScreen.e
[generic]                 2791    8175  34.1% -lh5- a19e Jun 30 16:45 BetterCloseScreen/source/PEmodules/CSH/pAmigaOS4_patch.e
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   66692  200115  33.3%            Jul  4 19:13

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>