Browse Prior Art Database

Demonstration Aid Giving a Picture of Mouse Activity

IP.com Disclosure Number: IPCOM000115036D
Original Publication Date: 1995-Mar-01
Included in the Prior Art Database: 2005-Mar-30
Document File: 2 page(s) / 54K

Publishing Venue

IBM

Related People

Goodson, KJ: AUTHOR

Abstract

Software crashes at customer sites or pre-release demonstrations are embarrassing, even when the code is at beta test release level. In the AIX operating system very basic crash recovery can be handled by signal handlers. A more elegant recovery scheme is described herein which, although developed for use within the AIX operating system using X windows, may be more applicable.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 56% of the total text.

Demonstration Aid Giving a Picture of Mouse Activity

      Software crashes at customer sites or pre-release
demonstrations are embarrassing, even when the code is at beta test
release level.  In the AIX operating system very basic crash recovery
can be handled by signal handlers.  A more elegant recovery scheme is
described herein which, although developed for use within the AIX
operating system using X windows, may be more applicable.

      Consider an X windows program named "Prog" which is known to
have instabilities and is likely to crash.  If another X windows
application named "Recover" is invoked automatically when Prog is
invoked, and the two are linked by having the standard error stream
of Prog providing input to the standard input stream of Recover, then
the varying state of Prog can be monitored by Recover.  Prog sends
tagged messages to Recover.  Any output on Prog's standard error
stream that does not have the unique tag is simply copied to the
standard error stream of Recover.  The messages might contain for
example the  name of a recovery file that contains the state of the
application which is automatically saved at regular intervals.  The
standard error stream of Prog is set to be unbuffered, so that
messages are sent to Recover as soon as they are issued.

      The last message that must be sent to Recover in the event of
a normal exit from the application is "normal exit".  If an "End of
File" is detected on the standard input of...