xscript is a program which sits between an X client and an X server, monitors the events flowing from the server to the client, and records events in a script file. Xscript can also play back events from a script file to a client. xscript is useful as part of a regression test system, as it can automate the playing of fixed sequences of operations into an application program based on X. xscript can detect application-program failures during playback. To do so, it detects the failure of windows to appear as necessary for playback, and reports errors when windows do not appear within one second of when they are expected. A failure of a window to appear is symptomatic of several classes of application failures, including failure of a popup to appear and an application crash. Please note that xscript was written for X11R5 and therefore has problems with some X11R6 programs! xscript is based on James L. Peterson's xscope program.