home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / UTILITY / FVIEW736.ARJ / PENGUIN.CFG < prev   
Text File  |  1989-08-09  |  14KB  |  368 lines

  1. ;
  2. ;                              Set PENGUIN= ???????
  3. ;                                  July 26, 1989
  4. ;
  5. ;
  6. ;     What is it?
  7. ;      
  8. ;     Set PENGUIN=somefile is  a method to  deal with the explosion  of con-
  9. ;     figuration files that programs need. I've got three programs going now
  10. ;     that use configuration  files, and I'm going  to allow you  to combine
  11. ;     those configuration files into a single file. (I'd also like to invite
  12. ;     the other Opus utility to join in this and use this strategy. If you'd
  13. ;     like more information on how to set  it up, please contact me via  the
  14. ;     methods listed at the end of this document.)
  15. ;      
  16. ;     FVIEW.EXE version 7.25+,  Opus-Fam 0.56+ and MLUPD.COM  dated 07/26/89
  17. ;     will all search the environment for the string "PENGUIN". If they find
  18. ;     that  string,  they'll use  the file  specified  instead of  their own
  19. ;     configuration  file. This means that  you can combine MLUPD.CFG, OPUS-
  20. ;     FAM.CFG and FVIEW.CFG into  a single file, which should  save you some
  21. ;     disk space.
  22. ;      
  23. ;     Each program will  go through the PENGUIN file looking for a line that
  24. ;     begins "begin program_name",  (FVIEW.EXE will  look for "begin  fview"
  25. ;     for  example),  and read  lines until  it  encounters a  matching "end
  26. ;     program_name". You can  start and stop  anywhere in the PENGUIN  file,
  27. ;     and they can  be interlaced  for information that  could be shared  by
  28. ;     different programs. 
  29. ;       
  30. ;     Here's a sample. Sorry I can't make it shorter.
  31. ;----------------------------------------------------------------------------
  32. begin mlupd     ; Since this information is shared with MLUPD and Opus-Fam
  33. begin opus-fam  ; Both programs can read it
  34. ;
  35. scan 1 c:\files\bbstext disgrace ; Area #1 is "d:\files\bbstext" 
  36. scan 2 c:\files\text    disgrace ; and requires "disgrace" privilege.
  37. scan 3 c:\files\msdos   disgrace
  38. scan 4 c:\files\comm    disgrace
  39. scan 5 c:\files\general disgrace
  40. scan 6 c:\files\language\       disgrace
  41. scan 7 c:\opus1\        disgrace
  42. scan 8 c:\node          disgrace
  43. ;
  44. end mlupd       ; I don't want MLUPD to display these other areas.
  45. ;
  46. scan 20 c:\files\uploads extra
  47. scan 40 c:\files\sysop   extra
  48. scan 51 c:\files\email  assist  ;Only allow Assit here....
  49. scan 73 c:\files\language  extra
  50. ;
  51. end opus-fam    ; Done reading areas for Opus-Fam
  52. ;
  53. ;-------------------------------------------------------------------------
  54. begin MLUPD ; This file can be plugged into or appended to another
  55. ;           ; configuration file you have around. MLUPD will ignore
  56. ;           ; anything up to this line. It will then read everything 
  57. ;           ; until you reach the 'MLUPD end' line at the end of this
  58. ;           ; file. 
  59. ;
  60. ;       Ml-Update configuration file. This does NOT read SYSTEM*.BBS files!
  61. ;
  62. ; <-- MLUPD only accepts ';' for comments, any other character and it tries
  63. ;     to process the line. Lines are terminated when a ';' is hit so comments
  64. ;     after a keyword are OK, but a ';' in a board name or comment line will
  65. ;     terminate the board name or comment line.
  66. ;
  67. ;
  68. address 1:119/5.0 ; Your full address. (Zone/Point not necessary)
  69. ;
  70. password mypass  ; ML-UPD password, Don't change without warning the person
  71. ;                ; who keeps track of your ML-COL!
  72. ;
  73. phone   (916) 893-9019 ; Your phone number
  74. ;
  75. baud    9600    ; Maximum baud rate
  76. ;
  77. name    *LAZARUS* ;BBS Name
  78. ;
  79. ; Any two lines of comments/advertising/hours etc. go here, these will
  80. ; be inserted into the MegaList output files.
  81. ;
  82. comment:        Chico's oldest FidoNet board
  83. comment:                OpusInfo West
  84. ;
  85. ;
  86. ;  If you are the person who runs ML-COL, comment out the next three
  87. ;  keywords, PACKER, COLLECTOR, and OUTBOUND. MLUPD will try to attach the
  88. ;  output file _only_ if it knows both who collects the MLA files, and where
  89. ;  your outbound mail area is. If you leave out either piece of information
  90. ;  MLUPD will just create the outbound file. MLUPD will tell Opus/Binkley to
  91. ;  shrink the output file after it is sent if the "shrink" keyword is 
  92. ;  uncommented.
  93. ;
  94. ; packer arca /D  ; Use arca WARNING! the /D doesn't always work, and
  95. ;                 ; arca does NOT produce an error code when it fails
  96. ;                 ; So MLUPD _might_ try to send a non-existent MLA file.
  97. ;                 ; The other programs produce an error code and MLUPD
  98. ;                 ; will send the MLU file if no MLA file was created. 
  99. ;                 ; MLUPD will exit with the error code of the packer.
  100. ;
  101. packer pkarc m  ; What program and command line you use
  102. ; packer zoo aM    ; Use ZOO
  103. ; packer pak m    ; Use PAK
  104. ; packer arc a    ; Use ARC
  105. ;
  106. collector       119/4 ; Who collects the ML-UPD files.
  107. ;
  108. outbound        c:\outbound\    ; Where your outbound mail waits
  109. ;
  110. shrink        ; shrink the output file after sending (make it 0 length)
  111. ; delete        ; delete after sending (only works with Binkley 2.00)
  112. ;
  113. ; hold        ; send output file as a hold bundle
  114. direct        ; send output file as a direct bundle (default)
  115. ; crash        ; send output as a hold bundle
  116. ;
  117. ; Which Areas to build the list from. You must have a files.bbs in each
  118. ; area. The area list MUST be at the end of this configuration file. MLUPD
  119. ; starts writing output file when you get here.
  120. ;
  121. ; The keyword is "scan", then the area number or code (letters acceptable)
  122. ; two characters are read. Then the full path to the download directory in
  123. ; question.
  124. ;
  125. ;scan 3 c:\files\msdos          ; Since this information is used by 
  126. ;scan 4 c:\FILES\COMM\          ; Opus-Fam, I'm reading it down there
  127. ;scan 6 c:\files\language       ; Just have to edit those lines for changes
  128. ;
  129. ; Copyright 1988, Doug Boone, ChicoSoft
  130. ;
  131. end MLUPD
  132. ;
  133. ;
  134. ;  Exit error codes:
  135. ;
  136. ;       0       Everything went fine
  137. ;       1       Packer error code, no MLA created
  138. ;       2       Help was requested. (MLUPD ?)
  139. ;       3       Memory error (not enough free space)
  140. ;       4       Failed to open configuration file
  141. ;       5       Failed to open outbound attach file
  142. ;
  143. ;---------------------------------------------------------------------------
  144. begin FVIEW
  145. ;       This is a sample of what a FVIEW.CFG file should look like
  146. ;       it is a special, TEMPORARY, file for Opus 1.03b Sysops if they
  147. ;       need it. If you don't need it, great, if you do, here it is.
  148. ;
  149. ; Old_Opus              ; Tells FVIEW that you are an Opus 1.03b
  150. ;
  151. ; task 0                ; If you're going to rely on this, insert task
  152. ;                       ; number here. (MUST match the one in OPUS.CTL
  153. ;
  154. System  c:\opus\        ; Path to my SYSTEM*.BBS files
  155. ;
  156. dearc   d:\temp\       ; Path to dearc files to temporarily while users
  157. ;                       ; are reading the text.
  158. ;
  159. User    C:\Fview         ; Path to Lastuser.BBS
  160. ;
  161. log fview               ; Log of activity. DO NOT INCLUDE THE FILE EXTENSION!!!
  162. ;
  163. online 30             ; Allow users 10 minutes use of FVIEW at a time
  164. ;                       ; instead of the default 5 minutes.
  165. ;
  166. ; noshow                ; Uncomment this if you do NOT want users to read
  167. ;                       ; text files online. It will block out all the 
  168. ;                       ; commands that would normally allow users to unarchive
  169. ;                       ; and read files.
  170. ;
  171. debug                 ; More intense log of activity by FVIEW. Should
  172. ;                       ; help to find errors.
  173. ;
  174. ; watch                 ; Use FOSSIL watchdog while running remotely, reboots
  175. ;                       ; your computer on loss of carrier. Otherwise, FVIEW
  176. ;                       ; returns control to Opus.Exe
  177. ;
  178. ; noraw                 ; Don't allow users to do a R)aw listing of files
  179. ;
  180. ; nofiles               ; Don't allow users to do a F)iles search
  181. ;
  182. End FVIEW
  183. ;
  184. ;
  185. ;  May the Shwartz be with you.
  186. ;---------------------------------------------------------------------------
  187. ; Configuration file for Opus-FAM beta ver 0.03
  188. ;    search rules for the config file.
  189. ;    1. current directory
  190. ;    2. path in environment string "set opus-fam=d:\dir"
  191. ;    3. Optional command line switch -c d:\dir\opus-fam.cfg
  192. ;
  193. begin opus-fam
  194. ; The very first thing we have to know here is which version of Opus
  195. ; you are running. Two version are currently supported:
  196. ;Opus 1.03
  197. Opus 1.10
  198. local ibm
  199. ; local bios
  200. ; local ansi
  201. ;
  202. local color
  203. ; local mono
  204. ;
  205. ; Video Display
  206. ; ansi ; Default to ANSI standard
  207. ; bios ; Use BIOS calls, faster, machine dependent
  208. ; fossil ; Use FOSSIL, remote run through modem
  209. ;
  210. ; Next we need to know a little bit about your environment and options
  211. ; for file area management
  212. ;
  213. priv_kill    assist    ; user with "assist" privilege can kill files
  214. priv_area    extra   ; user with "extra" privilege can change areas
  215. priv_adopt   norm  ; user with "assist" privilege can adopt orphan files
  216. priv_rawdir  priv  ; "assist" user can do a Raw dir
  217. priv_abandon assist    ; "assist" user can abandon files
  218. ;backup    ; user wants the files.bbs copied to files.bak
  219. ;
  220. ; trim  ; Cut lines off at the right margin when users put in Loooonnnggg
  221. ;       ; descriptions.
  222. ;
  223. ; Defaults are: kill    on      Assist privilege
  224. ;               adopt   on      Assist privilege
  225. ;               areas   on      Assist privilege
  226. ;               rawdir  on      Assist privilege
  227. ;               user_priv       SYSOP
  228. ;               color   off
  229. ;               backup  on
  230. ;
  231. ; Accepted privilege levels are:        Twit
  232. ;                                       disgrace
  233. ;                                       normal
  234. ;                                       privil
  235. ;                                       extra
  236. ;                                       assist
  237. ;                                       sysop
  238. ;                                       hidden
  239. ;
  240. ;
  241. ;
  242. ; If you specify a log file name, then all errors encountered during
  243. ; file list processing will be entered in the log. This feature is
  244. ; highly recommended when Opus-FAM is invoked from a batch file during
  245. ; automatic processing.
  246. ;
  247. ;
  248. ;
  249. log d:\files\error.log
  250.  
  251. ; Define the headers for the list. Up to three headers may be defined.
  252. ; headers are automatically centered, and will only appear on the first
  253. ; page of the list file. Unless they are extremely long, they will work
  254. ; even for a sorted list, since the left margin where the file names
  255. ; normally appear will be spaces, and therefore sort first.
  256. ; The definitions stay intact (carry forward) for each file requested
  257. ; Colors can be configured for the folowing items:
  258.  
  259. menu-select yellow on blue    ; the selection character on menus
  260. menu-text cyan on black        ; the selection text on menus
  261. edit-line red on cyan        ; the line being edited
  262. status-bar white on green    ; status line functions
  263.  
  264. ; We are using the same color names and format as used by oecl, George
  265. ; Stanislav's great opus embedded command language compiler
  266. ;
  267. ; The following colors can be used for both foreground and background:
  268. ;                    black
  269. ;                    blue
  270. ;                    green
  271. ;                    cyan
  272. ;                    red
  273. ;                    magenta
  274. ;                    brown
  275. ;                    gray
  276. ;
  277. ; Now the colors that can be used for the foreground only.
  278. ;                    darkgray
  279. ;                    lightblue
  280. ;                    lightgreen
  281. ;                    lightcyan
  282. ;                    lightred
  283. ;                    lightmagenta
  284. ;                    yellow
  285. ;                    white
  286. ;
  287. ; There two more reserved words dealing with colors:
  288. ;                    on
  289. ;                    blink
  290. ;
  291.  
  292. ; first we show the flexibility of generating different files lists, all
  293. ; from 1 invocation of Opus-FAM. In my nightly maintenance, I generate
  294. ; three file lists.
  295.  
  296.  
  297. HDR1 *LAZARUS*
  298. HDR2 OpusInfo Sherwood
  299. HDR3 Master File List by Area
  300.  
  301. lpp 62        ; Lines per page (default is 62)
  302. column 80    ; page width (max is 136, default is 80)
  303.  
  304. date        ; print file dates
  305. ;nodate
  306.  
  307. ;wrap        ; wrap long lines
  308. nowrap        ; truncate long lines
  309.  
  310. ;strip        ; strip ANSI escape sequences
  311. nostrip        ; converts to printable characters
  312.  
  313. comments    ; print file comments (has no affect if sort option selected)
  314. ;nocomments    ; don't print any comments from the files.bbs
  315.  
  316. ;priv        ; list priv file areas
  317. nopriv
  318.  
  319. level normal    ; Any lines marked with the AVATAR sequence "below ... don't
  320.         ; see rest of file" or "rest of line" will be skipped in the
  321.         ; list file (same as Opus F)iles command).
  322.  
  323. ; The above listed options carry forward for each report.
  324. ; AREA/XAREA need to be set for each report produced
  325. ; They are also mutually exclusive. Which means that you either
  326. ; specify the areas desired for the report, or you specify all areas
  327. ; EXEPT those listed for that report.
  328. ; The area numbers are decimal for Opus 1.03 and hex for Opus 1.10
  329. ;AREA 1 2 3 4 5 6 7 8 
  330. XAREA 0 20 40 51 81 80 82
  331.  
  332. file d:\files\Lazarus.lst    ; produce first report
  333.  
  334. HDR3  Files Newer than 14 Days
  335. ;sorted
  336. nosort
  337. AREA 1 2 3 4 6 7 8
  338. newfile d:\files\laz-new.bbs 10
  339. ;
  340. ; Set up the parameters for the second report, which is a sorted file
  341. ; list. Opus-FAM doesn't do the actual sort since there are many excellent
  342. ; file sorters available. Here's the command line from my bat file
  343. ; sortf sortin.lst c:\file\f01\sorted.lst /+3,13
  344.  
  345. ;HDR3 Sorted Master File List
  346.  
  347. ;sorted        ; produce sorted file
  348. ;nosort        ; produce file by area (default)
  349. ;XAREA 0 40 51 81 80 82
  350.  
  351. ;file D:\files\sortin.lst        ; produce second report
  352.  
  353. ; execute a dos command - note that the entire line is passed to command.com
  354. ;exec sortf c:\temp\sortin.lst c:\file\f01\sorted.lst /+3,13
  355.  
  356. ; The third report is my WOCCFILES. It contains just those file areas
  357. ; with BBS related files
  358.  
  359. ; HDR3 File List of BBS software only
  360. ; area 7
  361. ; nosort
  362. ; file D:\files\wocfiles.lst    ; produce third report
  363. end opus-fam
  364. ; the end
  365.  
  366.  
  367.