home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pdp10 / k10glb.bli < prev    next >
Text File  |  2020-01-01  |  5KB  |  151 lines

  1. MODULE KERGLB (IDENT = '2.0.003'
  2.         ) =
  3. BEGIN
  4.  
  5. SWITCHES LANGUAGE (COMMON);
  6.  
  7. !<BLF/WIDTH:100>
  8.  
  9. !++
  10. ! FACILITY:
  11. !
  12. !    KERMIT common message processing global storage.
  13. !
  14. ! ABSTRACT:
  15. !
  16. !    This module contains all of the global storage locations used
  17. !    by KERMSG.  These are in a separate module to make it possible
  18. !    to load the global storage into a common under P/OS.
  19. !
  20. ! ENVIRONMENT:
  21. !
  22. !    TOPS-10, P/OS, VAX/VMS
  23. !
  24. ! AUTHOR: Nick Bush, CREATION DATE: 21-December-1983
  25. !--
  26.  
  27. %SBTTL 'Table of Contents'
  28. !
  29. ! TABLE OF CONTENTS:
  30. !
  31. %SBTTL 'Revision History'
  32.  
  33. !++
  34. !
  35. ! 2.0.000    Extract this module from KERMSG.BLI.
  36. !
  37. ! 2.0.001    By: Robert C. McQueen            On: 16-Feb-1984
  38. !        Move SEND_TIMEOUT from KERMSG to this module.
  39. !
  40. ! 2.0.002    By: Nick Bush                On: 2-April-1984
  41. !        Add SRV_TIMEOUT from time between NAK's.
  42. !
  43. ! 2.0.003    By: David Stevens            On: 29-July-1985
  44. !        Remove IBM_FLAG, it is no longer needed
  45. !--
  46.  
  47. %SBTTL 'Library files'
  48. !
  49. ! INCLUDE FILES:
  50. !
  51. !
  52. ! KERMIT common definitions
  53. !
  54.  
  55. REQUIRE 'KERCOM';
  56.  
  57. %SBTTL 'Global storage for KERMSG'
  58.  
  59. GLOBAL
  60. !
  61. ! Receive parameters
  62. !
  63.     RCV_PKT_SIZE,                ! Receive packet size
  64.     RCV_NPAD,                    ! Padding length
  65.     RCV_PADCHAR,                ! Padding character
  66.     RCV_TIMEOUT,                ! Time out
  67.     RCV_EOL,                    ! EOL character
  68.     RCV_QUOTE_CHR,                ! Quote character
  69.     RCV_SOH,                    ! Start of header character
  70.     RCV_8QUOTE_CHR,                ! 8-bit quoting character
  71. !
  72. ! Miscellaneous parameters
  73. !
  74.     SET_REPT_CHR,                ! Repeat character
  75. !
  76. ! Send parameters
  77. !
  78.     SND_PKT_SIZE,                ! Send packet size
  79.     SND_NPAD,                    ! Padding length
  80.     SND_PADCHAR,                ! Padding character
  81.     SND_TIMEOUT,                ! Time out
  82.     SND_EOL,                    ! EOL character
  83.     SND_QUOTE_CHR,                ! Quote character
  84.     SND_SOH,                    ! Start of header character
  85.     SEND_TIMEOUT,                ! Time out
  86. !
  87. ! Server parameters
  88. !
  89.     SRV_TIMEOUT,                ! Amount of time between NAK's in server
  90. !
  91. ! Statistics
  92. !
  93.     SND_TOTAL_CHARS,                ! Total characters sent
  94.     RCV_TOTAL_CHARS,                ! Total characters received
  95.     SND_DATA_CHARS,                ! Total number of data characters sent
  96.     RCV_DATA_CHARS,                ! Total number of data characters received
  97.     SND_NAKS,                    ! Total NAKs sent
  98.     RCV_NAKS,                    ! Total NAKs received
  99.     SND_COUNT,                    ! Count of total number of packets
  100.     RCV_COUNT,                    ! Count of total number packets received
  101.     SMSG_COUNT,                    ! Total number of packets sent
  102.     RMSG_COUNT,                    ! Total number of packets received
  103.     SMSG_TOTAL_CHARS,                ! Total chars sent this file xfer
  104.     RMSG_TOTAL_CHARS,                ! Total chars rcvd this file xfer
  105.     SMSG_DATA_CHARS,                ! Total data chars this file xfer
  106.     RMSG_DATA_CHARS,                ! Total data chars this file xfer
  107.     SMSG_NAKS,                    ! Total number of NAKs this file xfer
  108.     RMSG_NAKS,                    ! Total number of NAKs received
  109.     XFR_TIME,                    ! Amount of time last xfr took
  110.     TOTAL_TIME,                    ! Total time of all xfrs
  111.                             !  this file xfer
  112.     LAST_ERROR : VECTOR [CH$ALLOCATION (MAX_MSG + 1)],    ! Last error message
  113. !
  114. ! Misc constants.
  115. !
  116.     FILE_NAME : VECTOR [CH$ALLOCATION (MAX_FILE_NAME)],
  117.     FILE_SIZE,
  118.     SI_RETRIES,                    ! Send init retries to attempt
  119.     PKT_RETRIES,                ! Number of retries to try for a message
  120.     DELAY,                    ! Amount of time to delay
  121.     DUPLEX,                    ! Type of connection (half or full)
  122.     PARITY_TYPE,                ! Type of parity to use
  123.     DEV_PARITY_FLAG,                ! True if output device does
  124.                             !  parity, false if we do it
  125.     CHKTYPE,                    ! Type of block check desired
  126.     ABT_FLAG,                    ! True if aborted file should be discarded
  127.     DEBUG_FLAG,                    ! Debugging mode on/off
  128.     WARN_FLAG,                    ! File warning flag
  129. !![2.0.003]    IBM_FLAG,            ! Talking to an IBM system
  130.     IBM_CHAR,                    ! Turnaround character for IBM mode
  131.     ECHO_FLAG,                    ! Local echo flag
  132.     CONNECT_FLAG,                ! Connected flag; True if
  133.                             !  terminal and SET LINE are
  134.                             !  the same
  135.     ABT_CUR_FILE,                ! Abort current file
  136.     ABT_ALL_FILE,                ! Abort all files in stream
  137.     TYP_STS_FLAG,                ! Type status next message
  138.     TY_FIL,                    ! Type file specs
  139.     TY_PKT,                    ! Type packet info
  140.     FIL_NORMAL_FORM,                ! Use normal form file names
  141.     GEN_1DATA : VECTOR [CH$ALLOCATION (MAX_MSG)],! Data for generic command
  142.     GEN_1SIZE,                    ! Size of data in GEN_1DATA
  143.     GEN_2DATA : VECTOR [CH$ALLOCATION (MAX_MSG)],! Second argument for generic command
  144.     GEN_2SIZE,                    ! Size of data in GEN_2DATA
  145.     GEN_3DATA : VECTOR [CH$ALLOCATION (MAX_MSG)],! Third arg for generic command
  146.     GEN_3SIZE;                    ! Size of data in GEN_3DATA
  147. %SBTTL 'End of KERGLB'
  148. END                        ! End of module
  149.  
  150. ELUDOM