This package provides functionality to pack SGML documents into a MIME type mail message and also unpack such a received message for display or storage, as proposed in an Internet draft "MIME Content-types for SGML Documents" by E. Levinson, November 1, 1994 and included in this package. The work was done in support of U. S. Department of Defense Program Manager - Joint Computer Aided Acquisition and Logistics Support (PM-JCALS), Contract No. DAAB07-D-T001. /* The U. S. Government Department of Defense wishes to make it known that: * * * DISCLAIMER * * "Although each program has been tested by its contributor, no * warranty, express or implied, is made by the contributor or the * U. S. Government Department of Defense, as to the accuracy and * functioning of the program and related program material, nor shall * the fact of distribution constitute any such warranty, and no * responsibility is assumed by the contributor or the U. S. Government * Department of Defense in connection herewith." * */ This is unsupported code available for test and evaluation. Installation instructions are contained in file INSTALL. Comments, questions and problems may be addressed to either of: elevinson@accurate.com mbyrne@accurate.com Two separate software programs have been modified to produce this package. They are the SGML parser (version 1.1) by J. Clarke and the mhn program (version 2.35) originally developed by the RAND Corporation and the University of California. Both programs are publically available. The parser code is contained here under the sgmls directory. Most files are copied unchanged from the version 1.1 distribution. The ones that have been modified are: sgmls.man sgmls.txt Makefile main.c pars1.c md2.c sgml1.c sgml2.c sgmldecl.c Two new files have been added. They are: pack.h pack.c Just one source file, "mhn.c" of the MH mail package has been modified and is contained here under the mhn directory. It replaces the existing source in directory $MH/uip (where $MH is the root directory of the MH source tree.) New files for the manual page are "mhn.man" and "mhn.txt" also in that directory. File "mhn.man" is derived from the file "mhn.l". The file "mh_profile" shows examples of possible entries the user might want to include in his/her profile. Note that both mhn and sgmls type entries may occur in the same file. Two UNIX shell scripts "storemulti" and "showmulti" are included. They work with the multipart/sgml entries shown in the profile. The user will probably want to customize these. For instance, the "showmulti" script would more appropriately invoke a viewer that can display an entire document. The "tests" directory contains files from a simple test involving a cover letter, a main document and a catalog card. The complete list of files in this package is shown in file FILELIST.