home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / networking / tcpip / amitcp-support / ncftp-1.5.6 / src / rcs / defaults.h,v < prev    next >
Encoding:
Text File  |  1994-06-29  |  3.0 KB  |  155 lines

  1. head    14020.13;
  2. access;
  3. symbols
  4.     ORIGINAL:14020.13;
  5. locks; strict;
  6. comment    @ * @;
  7.  
  8.  
  9. 14020.13
  10. date    93.07.09.10.58.27;    author alph;    state Exp;
  11. branches;
  12. next    ;
  13.  
  14.  
  15. desc
  16. @Original version
  17. @
  18.  
  19.  
  20. 14020.13
  21. log
  22. @checked in with -k by alph at 1993/10/10 19:59:56
  23. @
  24. text
  25. @/* Defaults.h: default values for ftp's common variables */
  26.  
  27. /* These are all surrounded by #ifndef blocks so you can just use
  28.  * the -D flag with your compiler (i.e. -DZCAT=\"/usr/local/bin/zcat\").
  29.  */
  30.  
  31. #ifndef _DEFAULTS_H_
  32. #define _DEFAULTS_H_
  33.  
  34. /*  $RCSfile: defaults.h,v $
  35.  *  $Revision: 14020.13 $
  36.  *  $Date: 93/07/09 10:58:27 $
  37.  */
  38.  
  39. #ifndef NEWMAILMESSAGE            /* For english speakers, "You have new mail." */
  40. #define NEWMAILMESSAGE "You have new mail."
  41. #endif
  42.  
  43. #ifndef ZCAT                    /* Usually "zcat," but use the full pathname */
  44.                                 /* if possible. */
  45. #ifdef GZCAT                    /* If you said you had gnu's zcat, use it
  46.                                  * since it can do .Z files too.
  47.                                  */
  48. #    define ZCAT GZCAT
  49. #else
  50. #    define ZCAT "zcat"
  51. #endif
  52. #endif
  53.  
  54. #ifndef MAX_XFER_BUFSIZE
  55. #define MAX_XFER_BUFSIZE 32768
  56. #endif
  57.  
  58. #ifndef dANONOPEN                /* 1 or 0, usually 1 */
  59. #define dANONOPEN    1
  60. #endif
  61.  
  62. #ifndef dDEBUG                    /* 1 or 0, usually 0 */
  63. #define dDEBUG 0
  64. #endif
  65.  
  66. #ifndef dMPROMPT                /* Usually 1, I prefer 0... */
  67. #define dMPROMPT 0
  68. #endif
  69.  
  70. #ifndef dVERBOSE                /* V_QUIET, V_ERRS, V_TERSE, V_VERBOSE */
  71. #define dVERBOSE V_TERSE
  72. #endif
  73.  
  74. #ifndef dPROMPT                    /* short: "@@Bftp@@P>" */
  75.                                 /* long: "@@B@@E @@UNcFTP@@P @@B@@M@@D@@P ->" */
  76. #define dPROMPT "@@B@@c@@Mncftp@@P>" /* new two line prompt */
  77. #endif
  78.  
  79. #ifndef dPAGER                    /* if set to empty string, act like 'cat' */
  80. #define dPAGER "more"
  81. #endif
  82.  
  83. #ifndef dLOGNAME                /* usu. put in the user's home directory. */
  84. #define dLOGNAME "~/.ftplog"
  85. #endif
  86.  
  87. #ifndef dRECENTF                /* usu. put in the user's home directory. */
  88. #define dRECENTF "~/.ncrecent"
  89. #endif
  90.  
  91. #ifndef dMAXRECENTS                /* limit to how many recent sites to save. */
  92. #define dMAXRECENTS 16
  93. #endif
  94.  
  95. #ifndef dRECENT_ON                /* Do you want the recent log on? */
  96.                                 /* usually 1. */
  97. #define dRECENT_ON 1
  98. #endif
  99.  
  100.                                 /* Do you want logging on by default? */
  101. #ifndef dLOGGING                /* usually 0 */
  102. #define dLOGGING 0
  103. #endif
  104.  
  105. #ifndef dTYPE                    /* usually TYPE_A */
  106. #define dTYPE TYPE_A
  107. #endif
  108.  
  109. #ifndef dTYPESTR                /* usually "ascii" */
  110. #define dTYPESTR "ascii"
  111. #endif
  112.  
  113. #ifndef dREDIALDELAY            /* usu. 60 (seconds). */
  114. #define dREDIALDELAY 60
  115. #endif
  116.  
  117. #ifndef CMDLINELEN
  118. #define CMDLINELEN 256
  119. #endif
  120.  
  121. #ifndef RECEIVEDLINELEN
  122. #define RECEIVEDLINELEN 256
  123. #endif
  124.  
  125. #ifndef MAXMACROS
  126. #define MAXMACROS 16
  127. #endif
  128.  
  129. #ifndef MACBUFLEN                /* usually 4096. */
  130. #define MACBUFLEN 4096
  131. #endif
  132.  
  133. /* Do you want binary transfers by default? */
  134. #ifndef dAUTOBINARY                /* usually 1 */
  135. #define dAUTOBINARY 1
  136. #endif
  137.  
  138. #ifndef dPROGRESS
  139. #define dPROGRESS pr_philbar    /* can be: pr_none, pr_percent, pr_philbar,
  140.                                  * or pr_kbytes
  141.                                  */
  142. #endif
  143.  
  144. /* Default login name at gateway */
  145. #ifdef GATEWAY
  146. #    ifndef dGATEWAY_LOGIN
  147. #        define dGATEWAY_LOGIN "ftp"
  148. #    endif
  149. #endif
  150.  
  151. #endif    /* _DEFAULTS_H_ */
  152.  
  153. /* eof */
  154. @
  155.