home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / UNIX / GOPHER / BBGOPHER.CON < prev    next >
Encoding:
Text File  |  1993-09-14  |  4.1 KB  |  135 lines

  1. ###
  2. ### BBGopher 1.6 - Sample Config File
  3. ###
  4. ### All you need to do to configure BBGopher is move or copy this file into
  5. ### /usr/local/etc/bbgopher.conf and then edit the values.
  6. ###
  7. ### If you would rather have the config file in a different path, you must
  8. ### edit the file bbgopher.c and change the #define CONFIGPATH line to point
  9. ### to your preferred path.  You will obviously also have to recompile it.
  10. ###
  11. ### The format is simple: VARIABLE <spaces or tabs> VALUE
  12. ### You may place quotes around a value if it requires leading or trailing
  13. ### spaces.
  14. ###
  15. ### Everything after the _LAST_ '#' symbol on a line is discarded as a
  16. ### comment.
  17. ###
  18.  
  19. ### TITLE is a text string displayed at the "top" of every page.
  20.  
  21. TITLE        Camosun College Gopher System
  22.  
  23.  
  24. ### SERVER is the default gopher server to connect to.  The default is
  25. ### simply 'gopher'.
  26.  
  27. SERVER        gopher.camosun.bc.ca
  28.  
  29.  
  30. ### PORT is the default port to connect to.  The default is 70.
  31.  
  32. PORT        70
  33.  
  34. ### BADPORTS is a list of invalid ports that should generate en error message.
  35. ### This is useful for blocking access to certain types of services.
  36.  
  37. BADPORTS    4320
  38.  
  39.  
  40. ### HELPFILE is the name of an ASCII text file that should be displayed
  41. ### when the user asks for help.  It will run the file through the pager.
  42. ### Be sure to specify the complete path name.
  43.  
  44. HELPFILE    /usr/local/etc/bbgopher.help
  45.  
  46.  
  47. ### BOOKMARK is the name of a file (relative to the user's home directory)
  48. ### that will be used to store bookmarks.
  49.  
  50. BOOKMARK    .bookmarks
  51.  
  52.  
  53. ### PAGER is the name of a program that will be used to display text files.
  54. ### If left blank or set to 'default', an internal one will be used.
  55. ### A '%s', if present, will be replaced with the filename.
  56.  
  57. PAGER        more
  58.  
  59.  
  60. ### MAILER is the name of the program to call to mail a file to someone.
  61. ### If left blank, 'sendmail' will be used.
  62.  
  63. MAILER        /usr/lib/sendmail
  64.  
  65.  
  66. ### WORKDIR is the name of a directory where a user can save files to.  If
  67. ### left blank, the user can save files anywhere.  If filled in, then the
  68. ### user can only save files into this directory.  A '~' character will
  69. ### be expanded to the user's home directory.
  70.  
  71. WORKDIR        ~/work
  72.  
  73.  
  74. ### TELNET is the name of a program that provides a Telnet client.  This
  75. ### program must take a hostname and port number as the first and second
  76. ### command line arguments.  Left undefined it defaults simply to 'telnet'
  77.  
  78. TELNET        telnet
  79.  
  80. ### TN3270 is the name of a program that provides a TN3270 client.  The
  81. ### default value is 'tn3270'
  82.  
  83. TN3270        tn3270
  84.  
  85.  
  86. ### LINES is the number of menu options to show on a single page.  The
  87. ### default is 19, which is perfect for 24 line displays.
  88.  
  89. LINES       19
  90.  
  91.  
  92. ### CLEAR is either YES or NO.  Determines if the screen is cleared before
  93. ### each menu page (uses VT100 escape sequences).  Default is NO.
  94.  
  95. CLEAR        No
  96.  
  97.  
  98. ### TWIRLY is either YES or NO.  Determines if a spinning symbol is displayed
  99. ### while files are being retrieved.  Default is YES.
  100.  
  101. TWIRLY        Yes
  102.  
  103.  
  104. ### SKIPACF is either YES or NO.  Determines if menu items that the user
  105. ### doesn't have access to should be included in the display.  YES means
  106. ### those items will be skipped.  NO means they _will_ be included.  The
  107. ### default is NO (they will _not_ be skipped).
  108.  
  109. SKIPACF        No
  110.  
  111.  
  112. ### SKIPTYPE is either YES or NO.  Determines if menu items that have an
  113. ### unrecognized type are included in menu displays.  YES means that those
  114. ### items will be skipped.  NO means they _will_ be included.  The default
  115. ### is YES (thay _will_ be skipped)
  116.  
  117. SKIPTYPE    No
  118.  
  119.  
  120. ### The following variables define access control files.  If a file name is
  121. ### defined, then the user's login id _must_ be present in the file in order
  122. ### to get access.  If the file is not specified or does not exist, then
  123. ### everyone gets access.  Be sure to specify the fully qualified path.
  124.  
  125. ACFDIR                        # Directories
  126. ACFTXT                        # Text
  127. ACFIDX                        # Indexed searches
  128. ACFUUE                        # UUEncoded files
  129. ACFHQX                        # Macintosh HQX files
  130. ACFDOS                        # DOS Binary files
  131. ACFBIN                        # Miscellaneous binary files
  132. ACFTEL                        # Telnet
  133. ACFTN3                        # tn3270
  134.  
  135.