         << LINES .001/.009 ARE RESERVED FOR SYSTEMS INTEGRATION >>     00000001
<< LINES .001/.009 ARE RESERVED FOR SYSTEMS INTEGRATION>>               00005000
<<==========================================================>> <<04893>>00010000
<<==========================================================>> <<04893>>00015000
<<=====                                                =====>> <<04893>>00020000
<<=====                  INCLRIT                       =====>> <<04893>>00025000
<<=====                                                =====>> <<04893>>00030000
<<==========================================================>> <<04893>>00035000
<<==========================================================>> <<04893>>00040000
<<                                                          >> <<04893>>00045000
<< This is the include file for the Reply Information Table.>> <<04893>>00050000
<< The RIT is used to store information about processes that>> <<04893>>00055000
<< that are waiting for a reply from the console operator.  >> <<04893>>00060000
<< The information is stored in the following manner:       >> <<04893>>00065000
<<                                                          >> <<04893>>00070000
<< Table Header:                                            >> <<04893>>00075000
<< Consists of 57 words.                                    >> <<04893>>00080000
<< 0) contains the number of entries in the RIT.            >> <<04893>>00085000
<< 1) Contains the maximum number of entries allowed.       >> <<04893>>00090000
<< 2) Points to first open entry space                      >> <<04893>>00095000
<< 3) Number of impeded processes                           >> <<04893>>00100000
<< 4-56) PIN# of queued processes                           >> <<04893>>00105000
<<                                                          >> <<04893>>00110000
<< Entry Format:                                            >> <<04893>>00115000
<< Consists of 51 words.                                    >> <<04893>>00120000
<< 0) Process Identification Number (PIN).                  >> <<04893>>00125000
<< 1) Data Segment Table number (DST #).                    >> <<04893>>00130000
<< 2) Buffer address (DST relative).                        >> <<04893>>00135000
<< 3) First byte - Max. length of string.                   >> <<04893>>00140000
<< 3) Second byte - Reply type expected.                    >> <<04893>>00145000
<< 4) Not used.                                             >> <<04893>>00150000
<< 5) Not used.                                             >> <<04893>>00155000
<< 6) Not used.                                             >> <<04893>>00160000
<< 7) Number of bytes in message.                           >> <<04893>>00165000
<< (8 - 50) Message in ASCII.                               >> <<04893>>00170000
<<                                                          >> <<04893>>00175000
<<                                                          >> <<04893>>00180000
<< The modules which use the RIT and are affected by this   >> <<04893>>00185000
<< include file are PROGEN (09), MESSAGE (59), and          >> <<04893>>00190000
<< OPCOMMAND (85).  INITIAL (00) builds the RIT but does not>> <<04893>>00195000
<< use this include file.  Therefore any changes that affect>> <<04893>>00200000
<< the structure of the table must be changed in this file  >> <<04893>>00205000
<< and also in INITIAL.                                     >> <<04893>>00210000
                                                               <<04893>>00215000
DEFINE                                                         <<04893>>00220000
                                                               <<04893>>00225000
<< Header Format >>                                            <<04893>>00230000
  RIT'HEAD'ENT = 0#,     << Current num. of entries in use. >> <<04893>>00235000
  RIT'HEAD'MAXENT = 1#,  << Max. number of entries in table.>> <<04893>>00240000
  FIQ=4#,                << Contains ptr. to first in queue  >><<04893>>00245000
  LIQ=2#,                << Contains ptr. to last in queue   >><<04893>>00250000
  QUEUED'ENTRIES=3#,     << Current num. of queued entries   >><<04893>>00255000
                                                               <<04893>>00260000
<< Entry Format >>                                             <<04893>>00265000
  RIT'PINNUM = 0#,       << PIN # waiting for reply.        >> <<04893>>00270000
  RIT'DSTOFFSET = 2#,    << Offset in DST for reply.        >> <<04893>>00275000
  RIT'REPLYLEN = 3).(0:8#,  << Reply length expected.       >> <<04893>>00280000
  RIT'REPLYTYPE = 3).(8:8#, << Reply type expected.         >> <<04893>>00285000
  RIT'MSGLEN = 7#,       << Offset in entry to msg. length. >> <<04893>>00290000
  RIT'MSGBASE = 8#,      << Offset in entry to msg. area.   >> <<04893>>00295000
                                                               <<04893>>00300000
<< Overhead >>                                                 <<04893>>00305000
  RIT'SIZE = 51#,        << Size of RIT entry.              >> <<04893>>00310000
  RIT'HEADSIZE =57#,     << Length of RIT header.           >> <<04893>>00315000
  RIT'REPLYPIN =1#,      << PIN of process waiting for reply>> <<04893>>00320000
  RIT'SIR =21#,                                                <<04893>>00325000
  RIT'DST = 28#,                                               <<04893>>00330000
  RIT'MSGSIZE=(RIT'SIZE -RIT'MSGBASE)*2#,<< MSG.SIZE IN BYTES>><<04893>>00335000
  FIRSTENTRY = 5#,       << FIRST POSITION FOR ENTRY        >> <<04893>>00340000
  LASTENTRY = 57#,        << LAST POSITION FOR ENTRY         >><<04893>>00345000
  MAX'QUEUED'ENTRIES=52#, << Size of header alloted to queue >><<04893>>00350000
                                                               <<04893>>00355000
<< Possible Reply Type Values >>                               <<04893>>00360000
  REPLYTYPE'NUMBER = 0#, << Reply to be a number.           >> <<04893>>00365000
  REPLYTYPE'YN = 1#,     << Reply to be either YES or NO.   >> <<04893>>00370000
  REPLYTYPE'STRINGS = 2#,<< Reply to be 1 or 2 strings.     >> <<04893>>00375000
  REPLYTYPE'YN'NUM = 3#, << Reply to be a YES or NO or num. >> <<04893>>00380000
  REPLYTYPE'ONESTRING=4#;<< Reply to be 1 string.           >> <<04893>>00385000
                                                               <<04893>>00390000
<<==========================================================>> <<04893>>00395000
<<==========================================================>> <<04893>>00400000
<<=====                                                =====>> <<04893>>00405000
<<=====               END OF INCLRIT                   =====>> <<04893>>00410000
<<=====                                                =====>> <<04893>>00415000
<<==========================================================>> <<04893>>00420000
<<==========================================================>> <<04893>>00425000
