KERMIT-R19, KERMIT for the PRIME computer, written in PL/I

  Contributed by Leslie Spira, The SOURCE Telecomputing, McLean, Virginia,
  February 1984.

Installation Instructions:

This program is built from many files (about a hundred, most of them small).
For distribution purposes, these files have all been concatenated together
into one big file.  They are separated by a line of colons, like this:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Immediately below the line of colons comes the file name, as a PL/I comment,
like this:

/*INCLUDE#KERCOM.REQ*/

You should pick this big file apart, discarding each line of colons, and
storing each file under the name given in its heading comment.  One method for
doing this is shown at the end of this help file.

Then, follow these directions: 

Three command files are supplied to assist in the creation of Kermit-R19
from the source modules provided.

After all files should be placed in one ufd, the "home" ufd, they are to be run
as follows:
 
First, KERMIT.TREE.CREATE.CPL.
This will transform the flat ufd into the correct structure for the next
two programs.
 
Second, KERMIT.COMP.COMI.
This will compile all Kermit source code, placing the binaries in a subufd.
 
Third, KERMIT.BUILD.COMI.
This will link the object code into a KERMIT.SEG program.
 
Each of these three are to be run from the home ufd. For more information,
see the comments inside of each command file.

Here is a prime emacs macro to split PRIMEK.PLP into the individual files:

; by Jack Heath
; modified by Robert A. Larson, USC-ECLB, 4/16/84
(defcom splitk
  (do_n_times (numeric_argument 1)
    (next_line_command)
    (forward_char 2)
    (setq start (copy_cursor current_cursor))
    (end_line)
    (back_char 2)
    (setq file (point_cursor_to_string start))
    (begin_line)
    (mark)
    (forward_search_command "::::")
    (begin_line)
    (prepend_to_file 2 file)
))
