home *** CD-ROM | disk | FTP | other *** search
- XSE - An interface to XSendEvent()
-
- George Ferguson, ferguson@cs.rochester.edu
-
- OVERVIEW:
-
- Xse provides an interface to XSendEvent(); sort of an inverse of xev(1).
- It provides two interfaces depending on how it is invoked. If extra
- command-line arguments are given, then these are parsed into an event
- sequence and sent to the proper window (either the default or the one
- given by the "-window" argument). If no event sequence is given, then
- xse creates a tool as specified by the "widgets" resource of its
- application-defaults file. Presumably this tool will create Command buttons
- or menus which will use the xse-send() and xse-quit() actions.
-
- Included in this distribution is the program "ad2c" which converts an
- application-defaults file to C declarations for inclusion as fallback
- resources. Also, the code used to specify and create widgets from a
- resource entry is very modular (see translate.c and initWidgets() in
- xse.c).
-
-
- INSTALLATION:
-
- 1. Edit the Imakefile as necessary to reflect changes for your
- site. In particular, you may want to set BINDIR and MANDIR to
- change the install targets. You may have to edit the filename
- used in "ad2c" (the name of the sed script).
-
- 2. Execute
- % xmkmf
- to make the Makefile.
-
- 3. Execute
- % make depend
- to add the dependencies to the Makefile. IMPORTANT: Ignore the
- warning message from makedepend about missing Xse.ad.h; it will
- be created automatically.
-
- 4. Execute
- % make
- to make the program or
- % make install install.man
- to make and install it. Making xse required the program ad2c
- to translate an application-defaults file into C declarations.
- Ad2c should be included with this distribution.
-