home *** CD-ROM | disk | FTP | other *** search
/ Frostbyte's 1980s DOS Shareware Collection / floppyshareware.zip / floppyshareware / BOUT / BT2404SC.ZIP / XFER.H < prev    next >
C/C++ Source or Header  |  1990-08-16  |  6KB  |  134 lines

  1. /*
  2. ** Henry Clark 1:124/6120 made changes here 7/28/90
  3. */
  4. /*--------------------------------------------------------------------------*/
  5. /*                                                                          */
  6. /*                                                                          */
  7. /*      ------------         Bit-Bucket Software, Co.                       */
  8. /*      \ 10001101 /         Writers and Distributors of                    */
  9. /*       \ 011110 /          Freely Available<tm> Software.                 */
  10. /*        \ 1011 /                                                          */
  11. /*         ------                                                           */
  12. /*                                                                          */
  13. /*  (C) Copyright 1987-90, Bit Bucket Software Co., a Delaware Corporation. */
  14. /*                                                                          */
  15. /*                                                                          */
  16. /*           Definitions used in BinkleyTerm File Transfer logic            */
  17. /*                                                                          */
  18. /*                                                                          */
  19. /*    For complete  details  of the licensing restrictions, please refer    */
  20. /*    to the License  agreement,  which  is published in its entirety in    */
  21. /*    the MAKEFILE and BT.C, and also contained in the file LICENSE.240.    */
  22. /*                                                                          */
  23. /*    USE  OF THIS FILE IS SUBJECT TO THE  RESTRICTIONS CONTAINED IN THE    */
  24. /*    BINKLEYTERM  LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF    */
  25. /*    THIS  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES,  OR IF YOU DO    */
  26. /*    NOT HAVE THESE FILES,  YOU  SHOULD  IMMEDIATELY CONTACT BIT BUCKET    */
  27. /*    SOFTWARE CO.  AT ONE OF THE  ADDRESSES  LISTED BELOW.  IN NO EVENT    */
  28. /*    SHOULD YOU  PROCEED TO USE THIS FILE  WITHOUT HAVING  ACCEPTED THE    */
  29. /*    TERMS  OF  THE  BINKLEYTERM  LICENSING  AGREEMENT,  OR  SUCH OTHER    */
  30. /*    AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO.      */
  31. /*                                                                          */
  32. /*                                                                          */
  33. /* You can contact Bit Bucket Software Co. at any one of the following      */
  34. /* addresses:                                                               */
  35. /*                                                                          */
  36. /* Bit Bucket Software Co.        FidoNet  1:104/501, 1:132/491, 1:141/491  */
  37. /* P.O. Box 460398                AlterNet 7:491/0                          */
  38. /* Aurora, CO 80046               BBS-Net  86:2030/1                        */
  39. /*                                Internet f491.n132.z1.fidonet.org         */
  40. /*                                                                          */
  41. /* Please feel free to contact us at any time to share your comments about  */
  42. /* our software and/or licensing policies.                                  */
  43. /*                                                                          */
  44. /*                                                                          */
  45. /*  This module is based largely on a similar module in OPUS-CBCS V1.03b.   */
  46. /*  The original work is (C) Copyright 1987, Wynn Wagner III. The original  */
  47. /*  author has graciously allowed us to use his code in this work.          */
  48. /*                                                                          */
  49. /*--------------------------------------------------------------------------*/
  50.  
  51.  
  52. #define  FILE_SECTION
  53. #define  WAZOO_SECTION
  54. #include "bink.h"
  55. #include "msgs.h"
  56.  
  57. #define VERSION 2.40
  58. #define BINK_MAJVERSION 2
  59. #define BINK_MINVERSION 40
  60. #ifndef OS_2
  61. /*
  62. ** Henry Clark 1:124/6120 made changes here 7/28/90
  63. */
  64. #define ANNOUNCE "BinkleyTerm Version 2.40.4"
  65. #define xfer_id "Binkley 2.40.4"
  66. #else
  67. #define ANNOUNCE "BinkleyTerm-OS/2 Ver. 2.40"
  68. #define xfer_id "BinkOS2 2.40"
  69. #endif
  70.  
  71. #define read_binary "rb"
  72. #define write_binary "wb"
  73. #define read_ascii "rt"
  74. #define write_ascii "wt"
  75.  
  76. #define stcgfn strcpy
  77. #define wherex() fossil_wherex()
  78. #define wherey() fossil_wherey()
  79. #define gotoxy(x,y) fossil_gotoxy(x,y)
  80. #define CLEAR_IOERR() errno = 0
  81. #define wait_for_clear() while (!OUT_EMPTY())
  82. #define TIMED_READ(a) (int) com_getc(a)
  83.  
  84.  
  85. /*--------------------------------------------------------------------------*/
  86. /* Ascii character mnemonics                                                */
  87. /*--------------------------------------------------------------------------*/
  88. #define NUL 0x00
  89. #define SOH 0x01
  90. #define STX 0x02
  91. #define ETX 0x03
  92. #define EOT 0x04
  93. #define ENQ 0x05
  94. #define ACK 0x06
  95. #define BEL 0x07
  96. #define BS  0x08
  97. #define HT  0x09
  98. #define LV  0x0a
  99. #define VT  0x0b
  100. #define FF  0x0c
  101. #define CR  0x0d
  102. #define SO  0x0e
  103. #define SI  0x0f
  104. #define DLE 0x10
  105. #define DC1 0x11
  106. #define DC2 0x12
  107. #define DC3 0x13
  108. #define DC4 0x14
  109. #define NAK 0x15
  110. #define SYN 0x16
  111. #define ETB 0x17
  112. #define CAN 0x18
  113. #define EM  0x19
  114. #define SUB 0x1a
  115. #define ESC 0x1b
  116. #define FS  0x1c
  117. #define GS  0x1d
  118. #define RS  0x1e
  119. #define US  0x1f
  120.  
  121. /*--------------------------------------------------------------------------*/
  122. /* Parameters for calling ZMODEM routines                                   */
  123. /*--------------------------------------------------------------------------*/
  124. #define TRUE  1
  125. #define FALSE 0
  126. #define END_BATCH (-1)
  127. #define DELETE_AFTER  '-'
  128. #define SHOW_DELETE_AFTER '^'
  129. #define TRUNC_AFTER   '#'
  130. #define NOTHING_AFTER '@'
  131. #define DO_WAZOO   TRUE
  132.  
  133. /* End of XFER.H */
  134.