MakeVPort_Patch V1.0 16-Aug-90 Copyright (c) 1990 Martin Taillefer, All Rights Reserved This software package may be freely redistributed (see conditions below) Copyright and Disclaimer ======================== Title to this software and all copies thereof remain vested in the authors indicated in the above copyright notice. Holders of this software are granted the right to reproduce and use the same for personal, non-commercial purposes. All other rights are reserved. NO REPRESENTATIONS OR WARRANTIES ARE MADE WITH RESPECT TO THE ACCURACY, RELIABILITY, PERFORMANCE, OR OPERATION OF THIS SOFTWARE, AND ALL SUCH USE IS AT YOUR OWN RISK. THE AUTHORS DO NOT ASSUME ANY RESPONSIBILITY OR LIABILITY WHATSOEVER WITH RESPECT TO YOUR USE OF THIS SOFTWARE. This software package may be distributed freely provided no fee is required other than media or transmission costs. For inquiries regarding commercial uses of this software, contact: Martin Taillefer 136 Des Frenes Montreal, Quebec CANADA H1B 1X8 TEL : 514/640-5734 BIX : vertex INTERNET: martin@pnt.CAM.ORG The source code to this software may be used to develop commercial or non-commercial software for the Amiga. No limitations on this use are imposed. Purpose ======= CheckLastProc is mostly useful to software developers during testing of an application. This very small program has for purpose to check whether the last process executed in a shell has correctly cleaned up after itself. If a problem is found, it is corrected, an error message is printed, and the shell's failure code is set to 5. CheckLastProc currently checks whether or not the previous process deallocated all of its signal bits, whether or not the previous process left hanging Forbids, and finally whether or not the previous process left hanging Disables. All conditions are corrected when they are detected. The most practical use of this program is when it is included as part of the shell prompt. That is, every time the prompt is displayed, CheckLastProc is executed and ensures the previous process cleaned up after itself. Executing this program from a prompt can be done under AmigaDOS 2.0 by declaring a prompt string such as: Prompt "*`CheckLastProc*`> " Several shells support this "program in a prompt" facility including the AmigaDOS 2.0 shell, WShell and the ARP Shell. The AmigaDOS 1.3 shell unfortunately doesn't. This program can only be run from a shell.