xtrap(1) UNIX System V xtrap(1)
Name
xtrapreset, xtrapinfo, xtrapstats, xtrapout, xtrapin xtrapchar -
XTrap sample clients
Syntax
xtrapreset [ -d[isplay] display ]
xtrapinfo [ -d[isplay] display ]
xtrapstats [ -d[isplay] display ]
xtrapout [ -f script ] [ -e ] [ -d[isplay]
display ] [ -v ]
xtrapin [ -f script ] [ -d[isplay]
display ]
xtrapchar [ -v ] [ -d[isplay]
display ]
Description
These commands are sample clients provided with the XTrap X Server
Extension Sources, Version 3.2. XTrap is an X Server extension which
facilitates the capturing of server protocol and synthesizing core input
events. Information on how to obtain these sources can be found in the
SOURCES section below. The command is the simplest XTrap client in that
it merely performs an XQueryExtension() against XTrap. The name "reset"
is historical. The argument is parsed by the X Toolkit and specifies the
display where XTrap is to be loaded; see X(1). displays general
configuration information as a result of an GetAvailable XTrap request to
the specified server. It is simply designed to test the request/response
mechanism of the XTrap extension and client library as well as display
the configuration information that it finds.
tests the event and request vectoring of the server extension by
configuring XTrap to collect usage statistics on all core input events
and requests. It has a primitive command-line interface for showing the
counters, zeroing out the counters, and quitting the program.
tests the output transport from the XTrap extension to the XTrap client
library. As an aside, since xtrapout has the capability of "recording"
events and requests it receives, is ideal for providing input to test
Since events are the only concern for the input transport, the -e flag
can be specified to indicate that all input events (and only events)
should be recorded by is specified primarily for non-U*IX machines which
don't support I/O re-direction easily. The -v flag is used to force
recording of all requests and input events.
is used to test the input transport to the XTrap server extension. As
stated earler, it's input can be provided by using the -e qualifer.
While it's primary function is for testing XTrap and serving as an
example for XTrap functionality, it can reasonably used as a primitive
10/89 Page 1
xtrap(1) UNIX System V xtrap(1)
"playback" client for X sessions.
parses ANSI character sequences including application program sequences
to synthesize input events to X Window servers using the XTrap server
extension. The intent of this program is to serve as a sample
implementation for interfacing character-based alternative input sources
into X servers (e.g. voice recognition systems). Another application
might be "remote keyboards". The -v flag causes the program to display
XTrap configuration information and echo's characters processed to
stdout. If present, this must be the first argument.
Note: has only been used with Digital Workstations using the LK201
compatible keyboard. Though reasonable effort was done to maintain
portability, no claims are made as to the current level of portability
to non-DEC servers for this program.
Options
-d[isplay] display
Specifies the server to record from or playback to; see
-e Record only (and all) events. Should be used when creating input for
-f script
The pathname of the script to be recorded / played back.
-v Verbose mode.
Diagnostics
X Toolkit Error: Can't load DEC-XTRAP extension
The XTrap X server extension has not been linked into the specified X
server. VMS DECwindows V3 and UWS V4.2 are shipped with XTrap V3.1.
SOURCES
Sources have been posted on UseNet systems via anonymous ftp. They are:
East Coast (USA): export@lcs.mit.edu:contrib/XTrap_v32*.tar.Z West
Coast (USA): gatekeeper@pa.dec.com:X11/contrib/XTrap_v32*.tar.Z
If you encounter problems, have questions, etc. please contact one of the
following via mail, phone, etc. at:
Dan Coutu Ken Miller
coutu@decvax.dec.com kmiller@decvax.dec.com 603-
881-0087 603-881-1836 ..!decwrl!decvax!coutu
..!decwrl!decvax!kmiller
or paper mail at:
Digital Equipment Corp. Digital Equipment Corp. Dan
Coutu ZKO 3-3/V08 Ken Miller ZKO 2-3/R56 110 Spitbrook
Rd. 110 Spitbrook Rd. Nashua, NH 03062
Page 2 10/89
xtrap(1) UNIX System V xtrap(1)
Nashua, NH 03062
Naturally email is preferred and will get the fastest response.
See Also
X(1)
10/89 Page 3