xmessage
Display a message or query in a window (X-based
/bin/echo)
- Contributed by
- Mike Hopkirk (hops)
- Obtained from
- Net - ftp.org.com contrib
- Restrictions
- Copyright 1988,1991 Massachusetts Institute of Technology
Description
This program displays a window containing a message from the
command line, a file, or standard input. If the message
text doesn't fit entirely within the window scroll bars
appear, as necessary, along the left side and below the
message, to allow the user to browse through it. Along
the lower edge of the message is a row of buttons; click-
ing the left mouse button on any of these buttons will
cause xmessage to exit. Which button was pressed is
returned in the exit status and, optionally, by writing
the label of the button to standard output.
Xmessage is typically used by shell scripts to display
information to the user or to ask the user to make a
choice.
- Productivity
- Useful for shell scripts
- Safety
- Examined code + Use it intermittantly
- Work Planned
- Convert to use Motif
- Documentation
- Manual page
- Verification
- run Tests script in this dir
sh ./Tests
Build Notes
This source is configured to be installed under
/usr/skunk.
To build it for a different location, compile with
make I_DESTDIR=directory
.
SkunkWare 5.0 1995