home *** CD-ROM | disk | FTP | other *** search
-
-
- M A I L T O O L
-
-
- A. Introduction
-
- This is an approach that uses the X11 Release 3 Toolkit Intrinsics and Toolkit
- Athena Widgets to develop a front end tool for using the ucb mail program.
- It has most of the features of the mail program. It is independent of the
- MH message handling system. The ucb mail program is the mail program that
- has the option -N that does not print initial header summary and the option
- -f that indicates the name of the file that replaces the system mailbox.
- This mail tool does not apply to the other mail program Mail that does not
- have these options.
-
- Five files and two subdirectories are provided. They are
-
- ./README -- This file
- ./xmtool.man -- The manual page for xmtool
- ./Imakefile -- The Imakefile that builds Makefile
- ./Makefile -- The Makefile that builds xmtool
- ./xmtool.c -- The source file for xmtool
- ./bitmap -- The subdirectory that contains 3 bitmap files
- ./hlp -- The subdirectory that contains 22 on-line help files
-
- The software was developed on a Sun 3/60 under Sun OS 3.5 with color monitor.
- It runs well on a Sun 3/50 with black and white monitor. It also runs well
- as a client for X servers running on Apollo, Dec, and Hp workstations.
-
-
- B. Makefile and the environment variable XMTOOLRESRC
-
- After you extract the sources, you need to do the following in order to get
- a workable executable code running:
-
- 1. Use imake to generate a Makefile. A sample Makefile for Sun machine
- is included.
-
- 2. In the Makefile, replace the TOPDIR by the absolute path of the directory
- in your system that contains the X11 Release 3 libraries.
- For example, if your system has the directory /filesys1/X11 that contains
- a subdirectory lib and this subdirectory contains the libraries libXaw.a,
- libXmu.a, libXt.a and libX11.a, then replace TOPDIR by /filesys1/X11.
- Assume your system has the proper paths for the inclusion directories.
- You can build the executable code xmtool.
-
- 3. Before you run xmtool, you need to set up the C shell environment variable
- XMTOOLRESRC that points to the absolute path of the directory that
- contains the subdirectories bitmap and hlp such as
-
- setenv XMTOOLRESRC path-name
-
- When xmtool is being started, it gets the content of this environment
- variable in order to locate the bitmap files and help files.
-
-
- C. Help Files
-
- There are 22 help files which contain step by step instructions about ways
- to use the mail tool. When you are executing xmtool, you can view each of
- these help files by selecting the help option from the menu display. Each
- of these file begins with a rough graphic description such as
-
- |-- message counter
- | |-- upper limit
- | |
- V V
- --------------------------------------------------------------------------------
- |001|001|plus|minus|range|set counter|view|delete|save|input |
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- |001|incr|select|reply to sender|reply to all|edit|create|... |help|
- --------------------------------------------------------------------------------
- ^
- |-- increment unit
-
- This is a description of the menu display and command selection.
- When you are executing xmtool, the boxes identified by plus, minus, range and
- incr actually display icons instead of texts. Each of the boxes plus and incr
- displays an icon of the shape of a triangle pointing upward. The box minus
- displays an icon of the shape of a triangle pointing downward. The box range
- displays an icon of the shape of an arrow pointing upward to a horizontal line.
- The boxes message counter, upper limit and increment unit are used for
- displays only (implemented as label widgets). The box input is used for input
- (implemented as asciiString widget). All other boxes are used for command
- selection (implemented as command widgets).
-
- To begin to learn xmtool, you will find it easier if you first read the help
- files for message counter, set counter, view and/or increment unit. (See a
- recommended width of the window that displays these help files in the section
- of Fonts)
-
- The help files for view, delete, save and mail to list contain description
- for ways to handle single message. The help files for range, select and update
- contain description for ways to handle multiple messages. The maximum number
- of messages that xmtool handles is 999.
-
-
- D. Fonts
-
- Xmtool is most suitable with the font 9x15 because it has been developed and
- tested with this font. A recommended width of the window that displays the help
- files with this font is 110. Xmtool can be used with any of the other fonts that
- your system supports.
-
-
- E. Comments
-
- Send comments, flames, etc to chang@edsews.eds.com or
-
- Peter Chang
- Electronic Data Systems Corporation
- 750 Tower Drive
- Troy, MI 48007-7019
-