home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / decpro300 / proglb.bli < prev    next >
Text File  |  2020-01-01  |  4KB  |  153 lines

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