home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / mfil130a.zip / maxfile.cfg < prev    next >
Text File  |  1995-09-02  |  18KB  |  548 lines

  1. ;---------------------------------------------------------------------
  2. ; This keyword determines what sort of BBS software you are running.
  3. ; Presently, it can be either Maximus, Lora, SBBS or generic (case
  4. ; insensitive) and it defaults to Maximus.
  5. ;---------------------------------------------------------------------
  6.  
  7.  
  8. BBS_TYPE Maximus
  9. ;BBS_TYPE lora
  10. ;BBS_TYPE SBBS
  11. ;BBS_TYPE GENERIC
  12.  
  13.  
  14.  
  15. ;---------------------------------------------------------------------
  16. ; Command line for running you file management utility.  For Maximus,
  17. ; this is either fbp.exe or fb.exe.  For Lora, the utility is
  18. ; filidx.exe and the command line must include the index file that you
  19. ; wish to update.  Note that this utility is only run on the areas
  20. ; that have been modified.  If you do not modify any areas, this
  21. ; utility will not be run.
  22. ;---------------------------------------------------------------------
  23.  
  24. fbp            e:\max\fbp
  25.  
  26. ;use the next one for a Lora BBS setup, replacing fileidx.idx with the
  27. ;*.idx file you want to update
  28.  
  29. ;fbp        g:\lora\fileidx.exe fileidx.idx
  30.  
  31.  
  32.  
  33.  
  34.  
  35. ;---------------------------------------------------------------------
  36. ; This keyword tells MaxFile/PM whether to run the File Database utility
  37. ; when exiting.  Again, it will only be run on the modified areas and
  38. ; if none have been modified, then it will not be run (no reason to
  39. ; do so...)
  40. ;---------------------------------------------------------------------
  41.  
  42. AutoFB           YES
  43.  
  44.  
  45.  
  46.  
  47. ;---------------------------------------------------------------------
  48. ;Your BBS system directory
  49. ;---------------------------------------------------------------------
  50.  
  51. BBSdir            e:\max
  52. ;BBSdir            h:\lora
  53. ;BBSdir            g:\sbbs
  54.  
  55.  
  56.  
  57.  
  58.  
  59. ;---------------------------------------------------------------------
  60. ; Location of a temporary directory where work can be done
  61. ; (re-archiving files, virus scanning...).  The environment variable
  62. ; TMP is first used. If it is not defined, then this directory will be
  63. ; used.  If that is not defined, subdirectories will be made beneath
  64. ; the directory from which MaxFile/2 was executed.
  65. ;---------------------------------------------------------------------
  66.  
  67. TempDir e:\temp
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74. ;---------------------------------------------------------------------
  75. ; location of the file area system information.  For Maximus sysops,
  76. ; this is your area.dat file.  For Lora BBS's, this is the sysfile.dat
  77. ;---------------------------------------------------------------------
  78.  
  79. sysinfo            e:\max\area.dat
  80. ;sysinfo           h:\lora\sysfile.dat
  81. ;sysinfo           g:\sbbs\flsearch.bbs
  82. ;sysinfo           generic.cfg
  83.  
  84.  
  85.  
  86.  
  87. ;---------------------------------------------------------------------
  88. ;defaults for displaying file date, size, and wrapping
  89. ;---------------------------------------------------------------------
  90.  
  91. Date            yes
  92. size            yes
  93. wrap            YES
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. ;---------------------------------------------------------------------
  101. ; areas with which window1 and window 2 will open
  102. ; The numbers come from the area.dat.  If you are not sure, it will
  103. ; default to areas 0 and 1.  Then chose "a" from the main window and
  104. ; select your areas.  The number from those areas can be inserted
  105. ; here.
  106. ;---------------------------------------------------------------------
  107.  
  108. Window1area 0
  109. Window2area 1
  110.  
  111.  
  112.  
  113.  
  114.  
  115. ;---------------------------------------------------------------------
  116. ; Command for viewing GIF files.  It is assumed that the .GIF is taken
  117. ; as argument 1 of the commandline
  118. ;---------------------------------------------------------------------
  119.  
  120. GIF joeview
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127. ;---------------------------------------------------------------------
  128. ; Command for viewing JPG files.  It is assumed that the .JPG is taken
  129. ; as argument 1 of the commandline
  130. ;---------------------------------------------------------------------
  131.  
  132. JPG joeview
  133.  
  134.  
  135.  
  136.  
  137.  
  138. ;---------------------------------------------------------------------
  139. ; Command for viewing BMP files.  It is assumed that the .BMP is taken
  140. ; as argument 1 of the commandline
  141. ;---------------------------------------------------------------------
  142.  
  143. bmp joeview
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. ;---------------------------------------------------------------------
  151. ; Command for viewing PCX files.  It is assumed that the .PCX is taken
  152. ; as argument 1 of the commandline
  153. ;---------------------------------------------------------------------
  154. PCX joeview
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162. ;---------------------------------------------------------------------
  163. ; Command for viewing TIF files.  It is assumed that the .TIF is taken
  164. ; as argument 1 of the commandline
  165. ;---------------------------------------------------------------------
  166.  
  167. TIF joeview
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175. ;---------------------------------------------------------------------
  176. ; Command for viewing TXT files.  It is assumed that the .TXT is taken
  177. ; as argument 1 of the commandline
  178. ;---------------------------------------------------------------------
  179.  
  180. TXT e
  181.  
  182.  
  183.  
  184.  
  185.  
  186. ;---------------------------------------------------------------------
  187. ; The following keyword determines the priority level of the
  188. ; re-archiver.  If it is set to YES, the priority of the re-archiving
  189. ; is set to Idle, delta 1.  If it is set to NO, the priority of the
  190. ; re-archiving is set to Normal, delta 0.  The default is YES
  191. ;---------------------------------------------------------------------
  192.  
  193. LowPriRearchive YES
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200. ;---------------------------------------------------------------------
  201. ; When adopting files, you can define here the description that you
  202. ; want given to the files.  If you do not give one, a default
  203. ; description will be given for you
  204. ;---------------------------------------------------------------------
  205.  
  206. DefDescription I don't know what this file is
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213. ;---------------------------------------------------------------------
  214. ; An External virus scanner can be used.  The expected format for this
  215. ; command is that the scanner is run, taking a directory on the
  216. ; command line and all files in that directory will be scanned.  The
  217. ; return code is expected to be 0 if no virii are found and non-zero
  218. ; otherwise.  The example here is for Ann Mcafee's oscan.  The
  219. ; scanner is run in a separate session so you can watch it's progress.
  220. ;---------------------------------------------------------------------
  221.  
  222. VirusCheck os2scan /nopause /report virscan.log
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229. ;---------------------------------------------------------------------
  230. ;  All archivers are assumed to take the first argument as the
  231. ;  archive and the following as the files to be added (for archiving)
  232. ;  This should work for most of you.  I am not sure if DOS archivers
  233. ;  will work.  If you use one, let me know of your success or lack
  234. ;  thereof.
  235. ;---------------------------------------------------------------------
  236.  
  237. ;---------------------------------------------------------------------
  238. ;commands for archiving .zip files
  239. ;---------------------------------------------------------------------
  240.  
  241. ;zip_extract   pkunzip.exe -e -o
  242. ;zip_add       pkzip.exe -r
  243. ;zip_list      pkunzip.exe -v
  244. ;zip_test      pkunzip.exe -t
  245.  
  246. zip_extract   unzip -C -x -o -U
  247. zip_add       zip -9 -r
  248. zip_list      unzip.exe -v
  249. zip_test      unzip -t
  250.  
  251. ;---------------------------------------------------------------------
  252. ;commands for archiving .arj files
  253. ;
  254. ; NOTE: Your ARJ utility MUST be able to accept filenames on the command
  255. ;       line for it to work with MaxFile. If your's doesn't, FREQ the
  256. ;       file UNARJ32.ZIP from me. This version of UNARJ supports filenames
  257. ;       on the command line.  If you don't have this version of unarj,
  258. ;       you will not be able to extract file_id.diz's for the file
  259. ;       description.
  260. ;
  261. ; The OS/2 version that works is unarj.exe version 2.41.kkf.a.  It has the
  262. ; following characteristics:
  263. ;
  264. ; 3-08-94  11:25a     55808          49  unarj.exe
  265. ;
  266. ;
  267. ;---------------------------------------------------------------------
  268.  
  269. arj_extract   unarj e
  270. arj_add
  271. arj_list      unarj l
  272. arj_test      unarj t
  273.  
  274.  
  275. ;---------------------------------------------------------------------
  276. ;commands for archiving .lzh files
  277. ;---------------------------------------------------------------------
  278.  
  279. lh_extract         lh x /o
  280. lh_add             lh a /s
  281. lh_list            lh l
  282. lh_test            lh t
  283.  
  284. ;---------------------------------------------------------------------
  285. ;Commands for archiving .arc files
  286. ;---------------------------------------------------------------------
  287.  
  288. arc_extract   arc x
  289. arc_add       arc a
  290. arc_list      arc l
  291. arc_test      arc v
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. ;---------------------------------------------------------------------
  299. ;The following key word describes whether or not to touch (update the
  300. ;filedates on any files that are adopted.  Choice of YES or NO.
  301. ;---------------------------------------------------------------------
  302.  
  303. touch_adoptee YES
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310. ;---------------------------------------------------------------------
  311. ; This comment says whether or not to wrap the comments when they are
  312. ; displayed.  They will follow this keyword, no matter how the rest of
  313. ; the window is displayed.  You will still be able to edit them, they
  314. ; just will not be wrapped.  The default is NO
  315. ;---------------------------------------------------------------------
  316.  
  317. WrapComments no
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325. ;---------------------------------------------------------------------
  326. ; The following config variable describes whether or not to
  327. ; automatically adopt orphans when reading in a new file list.
  328. ; The default is no.  If it is yes, then whenever the area for a
  329. ; window is changed, all orphans are adopted.
  330. ;---------------------------------------------------------------------
  331.  
  332. AutoAdopt NO
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340. ;---------------------------------------------------------------------
  341. ;File extensions to adopt.  Maximum of 25, (three characters only!!!)
  342. ;---------------------------------------------------------------------
  343.  
  344. adopt            zip
  345. adopt            cmd
  346. adopt            lzh
  347. adopt            arc
  348. adopt            arj
  349. adopt            exe
  350. adopt            bmp
  351. adopt            jpg
  352. adopt            gif
  353.  
  354.  
  355. ;---------------------------------------------------------------------
  356. ; Here you can specify the colors of many features of MaxFile/2.  
  357. ;
  358. ; ColourName      describes the colour of the name in the file list
  359. ; ColourReadOnly  describes the colour of read only  or offline file
  360. ;                 names in the file list
  361. ; ColourOffline   describes the colour in which the file name in which
  362. ;                 off-line files will appear
  363. ; ColourSize      describes the colour of the size in the file list
  364. ; ColourDate      describes the colour of the date in the file list
  365. ; ColourDesc      describes the colour of the file description in the
  366. ;                 file list
  367. ; ColourHighlight describes the background color for the highlighted
  368. ;                 selection
  369. ; ColourComment   describes the colour in which the word "comment" (for
  370. ;                 comment lines) appears
  371. ;
  372. ; Possible colours are BLACK (not recommended), RED, BLUE, MAGENTA,
  373. ; WHITE, GREEN, CYAN, BROWN, and YELLOW.  It is not case sensitive but
  374. ; that never hurts.  The default (if no colour is given) is WHITE
  375. ;---------------------------------------------------------------------
  376.  
  377. ColourName BLUE
  378. ColourReadOnly CYAN
  379. ColourSize MAGENTA
  380. ColourDate GREEN
  381. ColourDesc RED
  382. ColourHighlight YELLOW
  383. ColourComment RED
  384. ColourOffline BROWN
  385.  
  386.  
  387.  
  388.  
  389.  
  390. ;---------------------------------------------------------------------
  391. ; The following affect the Dupe Search function.
  392. ;
  393. ; Set the following keyword to YES if you want MaxFile/2 to ignore 
  394. ; extenstions when searching for duplicate files.
  395. ;
  396. ; Set DupeIgnorSameArea to YES if you want MaxFile/2 to ignore 
  397. ; duplicate files that are in the same area.  That is, if you have the
  398. ; files emerald.lzh, emerald.bbs, and emerald.zip all in the same
  399. ; area, they would not be identified as duplicates.  If you also had
  400. ; emerald.new in a second file area, all 4 would be identified as
  401. ; duplicates.
  402. ;
  403. ; Set DupeSearchStyle to 0 if you want to search for duplicates in all
  404. ; file areas.  If it is set to 1, then it will only look for
  405. ; duplicates of files in the present area.
  406. ;---------------------------------------------------------------------
  407.  
  408.  
  409.  
  410. DupIgnoreExtension YES
  411. DupeIgnoreSameArea YES
  412. DupeSearchStyle 0
  413.  
  414.  
  415.  
  416. ;---------------------------------------------------------------------
  417. ; Set the following keyword to YES if you want MaxFile/2 to display
  418. ; dates in mm/dd/yy form.  Set it to no to get dd/mm/yy form.
  419. ;---------------------------------------------------------------------
  420.  
  421.  
  422.  
  423. American_date YES
  424.  
  425.  
  426.  
  427. ;---------------------------------------------------------------------
  428. ; If your BBS supports extended descriptions that are identified by
  429. ; placing a special character at the start of a line following a file
  430. ; name in the files.bbs, place that character here.  Otherwise, leave
  431. ; this line commented out.  Note that the special character cannot be
  432. ; a space or a dash ('-') (lines starting with these characters are
  433. ; considered to be comment lines)
  434. ;
  435. ; Note:  If you define an Extended Description character, YOU MUST
  436. ;        ALSO DEFINE AN EXTERNAL EDITOR!!!!!!!
  437. ;
  438. ;---------------------------------------------------------------------
  439.  
  440.  
  441.  
  442. ;ExtendedDesc >
  443.  
  444. ;---------------------------------------------------------------------
  445. ; Due to popular demand, maxfile will now open either with two
  446. ; horizontal windows or two vertical windows.  Set the following
  447. ; config variable to YES if you prefer the windows to be split
  448. ; vertically or set it to NO if you prever horizontal windows.
  449. ;---------------------------------------------------------------------
  450.  
  451.  
  452. VerticalWindows NO
  453.  
  454.  
  455. ;---------------------------------------------------------------------
  456. ; For information on the structure for macros, see the documentation.
  457. ; Two examples have been provided for you, the first extracts any file
  458. ; like read.me, readme.txt or readme and then runs the 'e' editor on 
  459. ; that file.  The second macro asks for a directory and the extracts
  460. ; the marked file to that directory.
  461. ;---------------------------------------------------------------------
  462.  
  463. Macro2 getreadm.cmd
  464. Macro3 extr2dir.cmd
  465.  
  466.  
  467.  
  468.  
  469. ;---------------------------------------------------------------------
  470. ;  The following commands configure the file_id.diz extractor.
  471. ;
  472. ;  Externaledit is the command line for running an external editor on
  473. ;  the description rather than the built in editor.
  474. ;
  475. ;  If strip_high_ascii is set to YES, then all of the high ascii
  476. ;  characters in the file_id.diz will be changed to spaces and
  477. ;  removed. If set to no, then they will be left alone.
  478. ;
  479. ;  If 256char_descriptions is set to YES, then the file_id.diz is
  480. ;  truncated to 256 characters when it is extracted.  The reason for
  481. ;  this is that for some BBS systems (like Maximus), if the line
  482. ;  exceeds 256 characters in length, the BBS considers the line to be
  483. ;  starting a new file and so things get really confused.  If you are
  484. ;  running a BBS that supports extended file descriptions and have it
  485. ;  configured as such above, set this variable to NO.
  486. ;
  487. ;  FileListMargin serves the same purpose as "FileList Margin" in the
  488. ;  Max.ctl.  It allows Maximus (and other systems) to use up to 1k
  489. ;  descriptions in the files.bbs.  In order to accomplish this, the
  490. ;  description is wrapped onto the next like and indented using
  491. ;  FileListmargin blank spaces.  The value 31 seems to work properly
  492. ;  for the correct indentation in Maximus systems.  However, be aware
  493. ;  of the following problems if you set this variable:
  494. ;
  495. ;  1) Other utilities such as downsort or even Maximus' own Hurl
  496. ;     function will not work.  This is because these other utilities
  497. ;     think that the extened description is simply a comment in the
  498. ;     files.bbs.
  499. ;  2) An external editor must be defined.
  500. ;
  501. ;  Note that the verb FileListMargin is ignored if ExtendedDesc is
  502. ;  set.  Also if FileListMargin is set, then 256char_descriptions
  503. ;  is ignored.
  504. ;
  505. ;---------------------------------------------------------------------
  506.  
  507.  
  508. ;externaledit c:\os2\tedit.exe
  509. strip_high_ascii NO
  510. 256char_descriptions YES
  511. FileListMargin 0
  512. ;FileListMargin 31
  513. DlCounter [    ]
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520. ;---------------------------------------------------------------------
  521. ;  The following keyword will turn all filenames to upper case if it
  522. ;  is set to "yes".  Otherwise, it leaves the filenames as is.  Note
  523. ;  that the upper case names will not be saved unless you otherwise
  524. ;  modify a file area and save it.  The default is NO.
  525. ;---------------------------------------------------------------------
  526.  
  527. ucasefnames YES
  528.  
  529.  
  530. ;---------------------------------------------------------------------
  531. ;  If the following verb is set to YES, then the file areas are sorted
  532. ;  on the area tag.  They are sorted alphabetically as if they were
  533. ;  right justified so that the numerical order appears correctly.
  534. ;---------------------------------------------------------------------
  535.  
  536. SortAreas YES
  537.  
  538.  
  539.  
  540.  
  541.  
  542. ;---------------------------------------------------------------------
  543. ;  The following verb determines the number of days to keep in the
  544. ;  newfiles list.
  545. ;---------------------------------------------------------------------
  546.  
  547. NewFiles 30
  548.