home *** CD-ROM | disk | FTP | other *** search
/ ftp.muug.mb.ca / 2014.06.ftp.muug.mb.ca.tar / ftp.muug.mb.ca / pub / src / gopher / gopher1.01 / conf.h next >
C/C++ Source or Header  |  1992-07-05  |  2KB  |  93 lines

  1. /* conf.h
  2.  *
  3.  * Part of the Internet Gopher program, copyright (C) 1991
  4.  * University of Minnesota Microcomputer Workstation and Networks Center
  5.  *
  6.  * These are some user definable parameters, also see Makefile.config
  7.  */
  8.  
  9.  
  10.  
  11. /*
  12.  * Override some defaults for various platforms
  13.  */
  14.  
  15. #ifdef sun
  16. #define PLAY_COMMAND "play -v 40 -"
  17. #endif
  18.  
  19. #ifdef hpux
  20. #define MAIL_COMMAND "mailx"
  21. #endif
  22.  
  23. #if defined(NeXT)
  24. #define NO_VPRINTF
  25. #define PLAY_COMMAND "play -v 40 -"
  26. #endif
  27.  
  28.  
  29. /*
  30.  * Now set the parameters, only if not set above... 
  31.  */
  32. #ifndef PAGER_COMMAND
  33. #define PAGER_COMMAND "more -d"
  34. #endif
  35.  
  36. #ifndef MAIL_COMMAND
  37. #define MAIL_COMMAND "mail"
  38. #endif
  39.  
  40. #ifndef TELNET_COMMAND
  41. #define TELNET_COMMAND "telnet"
  42. #endif
  43.  
  44. #ifndef TN3270_COMMAND
  45. #define TN3270_COMMAND "tn3270"
  46. #endif
  47.  
  48. #ifndef PRINTER_COMMAND
  49. #define PRINTER_COMMAND "lpr"
  50. #endif
  51.  
  52. #ifndef PLAY_COMMAND
  53. #define PLAY_COMMAND "/bin/false"
  54. #endif
  55.  
  56. #ifndef MIME_COMMAND
  57. #define MIME_COMMAND "metamail -p" 
  58. #endif
  59.  
  60.  
  61. /****************** gopherd configuration ***********************/
  62.  
  63. /*
  64. **
  65. ** This #define is what will be transmitted by the server when it wants to
  66. ** refuse service to a client
  67. **
  68. */
  69.  
  70. #define BUMMERSTR "This server is for local MUUG access only, sorry."
  71.  
  72.  
  73. /*
  74.  * This is the default time to cache directory entries on the server.
  75.  */
  76.  
  77. #define CACHE_TIME 180  /** Default cache time of three minutes. **/
  78.  
  79.  
  80. /*
  81.  * The load average at which to restrict connections
  82.  */
  83. #define MAXLOAD 10.0
  84.  
  85.  
  86. /*==============Ftp parameters to be edited in===============*/
  87. #define FTP             "/usr/ucb/ftp"           /* To invoke ftp */
  88. #define LIST            "/tmp/gftpL+"            /* Temp list file prefix */
  89. #define DATA            "/tmp/gftpD+"            /* Temp data file prefix */
  90. /*=============================================================*/
  91.  
  92.  
  93.