home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / convergent / ctuser.h < prev    next >
Text File  |  2020-01-01  |  5KB  |  154 lines

  1. /*  C K U S E R . H  --  Symbol definitions for C-Kermit ckus*.c modules  */
  2.  
  3.  
  4. /* Values associated with top-level commands, must be 0 or greater. */
  5.  
  6. #define XXBYE   0    /* BYE */
  7. #define XXCLE   1    /* CLEAR */
  8. #define XXCLO   2    /* CLOSE */
  9. #define XXCON   3    /* CONNECT */
  10. #define XXCPY   4    /* COPY */
  11. #define XXCWD   5    /* CWD (Change Working Directory) */
  12. #define XXDEF    6    /* DEFINE (a command macro) */
  13. #define XXDEL   7    /* (Local) DELETE */
  14. #define XXDIR   8    /* (Local) DIRECTORY */
  15. #define XXDIS   9    /* DISCONNECT */
  16. #define XXECH  10    /* ECHO */
  17. #define XXEXI  11    /* EXIT */
  18. #define XXFIN  12    /* FINISH */
  19. #define XXGET  13    /* GET */
  20. #define XXHLP  14    /* HELP */
  21. #define XXINP  15    /* INPUT */
  22. #define XXLOC  16    /* LOCAL */
  23. #define XXLOG  17    /* LOG */
  24. #define XXMAI  18    /* MAIL */
  25. #define XXMOU  19    /* (Local) MOUNT */
  26. #define XXMSG  20    /* (Local) MESSAGE */
  27. #define XXOUT  21    /* OUTPUT */
  28. #define XXPAU  22    /* PAUSE */
  29. #define XXPRI  23    /* (Local) PRINT */
  30. #define XXQUI  24    /* QUIT */
  31. #define XXREC  25    /* RECEIVE */
  32. #define XXREM  26    /* REMOTE */
  33. #define XXREN  27    /* (Local) RENAME */
  34. #define XXSEN  28    /* SEND */
  35. #define XXSER  29       /* SERVER */
  36. #define XXSET  30    /* SET */
  37. #define XXSHE  31    /* Command for SHELL */
  38. #define XXSHO  32    /* SHOW */
  39. #define XXSPA  33    /* (Local) SPACE */
  40. #define XXSTA  34    /* STATISTICS */
  41. #define XXSUB  35    /* (Local) SUBMIT */
  42. #define XXTAK  36    /* TAKE */
  43. #define XXTRA  37    /* TRANSMIT */
  44. #define XXTYP  38    /* (Local) TYPE */
  45. #define XXWHO  39    /* (Local) WHO */
  46. #define XXDIAL 40    /* (Local) dial */
  47. #define XXLOGI 41    /* (Local) logon */
  48. #define XXGOTO 42    /* script GOTO */
  49. #define XXHAN  43    /* modem or line HANGUP */
  50. #define XXIF   44       /* script IF */
  51. #define XXPOP  45       /* POP out of Take File */
  52. #define XXRINP 46       /* REINPUT */
  53. #define XXASS  47       /* ASSIGN value to variable */
  54. #define XXASK  48       /* ASK prompt for variable value */
  55. #define XXASKQ 49       /* ASK without echo of response */
  56.  
  57. /* SET parameters */
  58.  
  59. #define XYBREA  0    /* BREAK simulation */
  60. #define XYCHKT  1    /* Block check type */
  61. #define XYDEBU  2    /* Debugging */
  62. #define XYDELA  3    /* Delay */
  63. #define XYDUPL  4    /* Duplex */
  64. #define XYEOL   5    /* End-Of-Line (packet terminator) */
  65. #define XYESC   6    /* Escape character */
  66. #define XYFILE  7    /* File Parameters */
  67. #define   XYFILN 0      /*  Naming  */
  68. #define   XYFILT 1      /*  Type    */
  69. #define   XYFILW 2      /*  Warning */
  70. #define   XYFILD 3      /*  ...     */
  71. /* empty space to add something */
  72. #define XYFLOW  9    /* Flow Control */
  73. #define XYHAND 10    /* Handshake */
  74. #define XYIFD  11    /* Incomplete File Disposition */
  75. #define XYIMAG 12    /* "Image Mode" */
  76. #define XYINPU 13    /* INPUT command parameters */
  77. #define XYLEN  14    /* Maximum packet length to send */
  78. #define XYLINE 15    /* Communication line to use */
  79. #define XYLOG  16    /* Log file */
  80. #define XYMARK 17    /* Start of Packet mark */
  81. #define XYNPAD 18    /* Amount of padding */
  82. #define XYPADC 19    /* Pad character */
  83. #define XYPARI 20    /* Parity */
  84. #define XYPAUS 21    /* Interpacket pause */
  85. #define XYPROM 22    /* Program prompt string */
  86. #define XYQBIN 23    /* 8th-bit prefix */
  87. #define XYQCTL 24    /* Control character prefix */
  88. #define XYREPT 25    /* Repeat count prefix */
  89. #define XYRETR 26    /* Retry limit */
  90. #define XYSPEE 27    /* Line speed (baud rate) */
  91. #define XYTACH 28    /* Character to be doubled */
  92. #define XYTIMO 29    /* Timeout interval */
  93. #define XYMODM 30    /* Modem type */
  94. #define XYTERM 31    /* Terminal type */
  95. #define XYCOUN 32    /* script Count */
  96. #define XYTAKE 33       /* Take Error Action */
  97. #define XYSEND 34    /* SEND End-Of-Packet Definition */
  98. #define   XYSND 0     /* End Character */
  99. #define XYRECV 35    /* RECEIVE End-Of-Packet Definition */
  100. #define   XYRCV 0    /* End character */
  101.  
  102. /* REMOTE command symbols */
  103.  
  104. #define XZCPY  0    /* Copy */
  105. #define XZCWD  1    /* Change Working Directory */
  106. #define XZDEL  2    /* Delete */
  107. #define XZDIR  3    /* Directory */
  108. #define XZHLP  4    /* Help */
  109. #define XZHOS  5    /* Host */
  110. #define XZKER  6    /* Kermit */
  111. #define XZLGI  7    /* Login */
  112. #define XZLGO  8    /* Logout */
  113. #define XZMAI  9    /* Mail */
  114. #define XZMOU 10    /* Mount */
  115. #define XZMSG 11    /* Message */
  116. #define XZPRI 12    /* Print */
  117. #define XZREN 13    /* Rename */
  118. #define XZSET 14    /* Set */
  119. #define XZSPA 15    /* Space */
  120. #define XZSUB 16    /* Submit */
  121. #define XZTYP 17    /* Type */
  122. #define XZWHO 18    /* Who */
  123.  
  124. /* Symbols for logs */
  125.  
  126. #define LOGD 0            /* Debugging */
  127. #define LOGP 1          /* Packets */
  128. #define LOGS 2          /* Session */
  129. #define LOGT 3          /* Transaction */
  130.  
  131. /* If Conditions */
  132.  
  133. #define XXIFSU 0       /* If last statement successful */
  134. #define XXIFFA 1       /* If last statement failed     */
  135. #define XXIFCO 2       /* If COUNT[tlevel] > 0         */
  136. #define XXIFEQ 3       /* If equal                     */
  137. #define XXIFDE 4       /* If named parameter defined   */
  138. #define XXIFEX 5       /* If named file exists         */
  139.  
  140. /*  Take Parameters */
  141.  
  142. #define XXTKEC 0       /* Take file echo */
  143. #define XXTKER 1       /* Take file error */
  144.  
  145. /* Take  Echo Conditions */
  146.  
  147. #define XECON 0        /* Take file echo on */
  148. #define XECOFF 1       /* Take file echo off */
  149.  
  150. /* Take Error Conditions */
  151.  
  152. #define XERON 0        /* Take file error on - take file aborts */
  153. #define XEROFF 1       /* Take file error off - take file continues */
  154.