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