home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / HEADOS2.LZH / SAMPLE.CFG < prev    next >
Text File  |  1991-08-24  |  19KB  |  562 lines

  1. ; Sample Configuration file for HeadEdit
  2. ;
  3. ;   Call HeadEdit as HEADEDIT <configfile> [application]
  4. ;        (defaults to HeadEdit.CFG, no application)
  5. ;
  6. ; Not all keywords are required...there are defaults for most.
  7. ; Keywords must begin in first column
  8. ; Lines beginning with a semicolon ";" are comments
  9. ;
  10. ;
  11. ; If you're running as a point and want to let HeadEdit import and/or
  12. ; export your mail for you, you need the following keywords.  You also
  13. ; need UNARC.CMD in the default directory or on your DOS path.  HeadEdit
  14. ; will spawn it to unpack archived mail as:
  15. ; %COMSPEC% UNARC.CMD <inbound> <archive_name>
  16. ; A typical UNARC.CMD might have just the line "POLYXARC.EXE" in it.
  17. ; After packeting outgoing mail, HeadEdit attempts to spawn ROUTE.CMD as
  18. ; %COMSPEC% ROUTE.CMD <outbound>
  19. ; What ROUTE.CMD does is highly dependent on your mailer.  This step
  20. ; should archive the packet and do anything to it your mailer requires
  21. ; to get it to its destination.
  22.  
  23. ; If you're a mailerless point off of an XBBS system, you need to be sure
  24. ; the archive filename is 00000000.MO? (where ? is a number from 0 to 9).
  25. ; Remember that, before archiving a packet, it's renamed from .?UT (where
  26. ; ? is O, N, D, H, or C) to .PKT.  You'll probably need to rely on
  27. ; directories to separate files destined for multiple XBBS Boss nodes,
  28. ; since they'll all have the same basic filenames.  You could just write
  29. ; a batch file to handle your mailerless point archiving; no real need
  30. ; for something like oMMM or MakeArc. Remember that *.?UT files are named
  31. ; according to this convention:
  32. ; <4-hex-digit-destnet><4-hex-digit-destnode>.?UT.
  33. ;
  34. ; Binkley will require a .FLO attach from your pointnet address to your
  35. ; Boss; FD will require a .MSG attach from your point or pointnet to your
  36. ; Boss.  For Bink there are a lot of utilities (AMAX, BONK, BOOM, and
  37. ; PLEASE to name a few) to create the attach.  Dunno what you'd use for FD.
  38. ;
  39. ; Note that HeadEdit's built-in mail tosser/scanner is *only* for point
  40. ; systems!  It is also still in beta-testing stages and should be used
  41. ; only under supervision (don't just let it run and pollute the net if
  42. ; it contains a bug!).
  43. ;
  44. ;INBOUND  g:\BT\FILES\
  45. ;OUTBOUND g:\BT\OUTBOUND\
  46. ;
  47. ;
  48. ;
  49. ; SCREENSIZE tells HeadEdit what size screen to use.  It'll set the screen
  50. ; to the indicated size.  Won't do what OS/2's VioSetMode() won't do.
  51. ;
  52. ;SCREENSIZE 80 43
  53. ;
  54. ;
  55. ;
  56. ; PRIORITY sets the priority of HeadEdit's main thread.
  57. ;
  58. ;PRIORITY 2 31
  59. ;
  60. ;
  61. ;
  62. ; SEADATES tells HeadEdit to use the SEA format date (leading alphabetic
  63. ; abbreviation for day of week) instead of Fido format.  Both are as
  64. ; specified in FTS-0001.  Which is more than we can say for QMail 1.00a
  65. ;
  66. SEADATES
  67. ;
  68. ;
  69. ;
  70. ; If you use the BELL keyword, HeadEdit will beep a little more often than
  71. ; it does by default.  Useful for when you're just learning to use it, as
  72. ; it helps you know when your input is invalid.
  73. ;
  74. ;BELL
  75. ;
  76. ;
  77. ;
  78. ; MSGAREAS is the name of your MSGAREAS.XBS-style area file.  The default
  79. ; is MSGAREAS.XBS in the message base directory.
  80. ;
  81. ;MSGAREAS g:\XBBS\ALTAREAS.XBS
  82. ;
  83. ;
  84. ; START determines which area you come up in
  85. ;
  86. START    5
  87. ;
  88. ;
  89. ; TOTALAREAS determines how many areas you're keeping Last Message Read
  90. ; (LMR) pointers for.  If you're running XBBS, this must match the
  91. ; number in CONFIG.BBS.  If not, put whatever you like.  This number,
  92. ; once set, should be left alone if you've got more than one "account".
  93. ;
  94. TOTALAREAS 50
  95. ;
  96. ;
  97. ; USERNUMBER determines your entry position in the LASTREAD.BBS file
  98. ; This must be given!  For SysOps running XBBS, this is always 1 (same
  99. ; as your user number in the USERS.BBS file).  For other users (say a
  100. ; spouse, parent or child in the same household), it should be their
  101. ; user number as well.  CAUTION:  Make sure you have users with access
  102. ; to HeadEdit in positions 2+ where they won't be moved during packing!
  103. ; For Point systems, this will probably be #1, but you can add other
  104. ; users from there (multiple users on the same point)...
  105. ;
  106. USERNUMBER 1
  107. ;
  108. ;
  109. ; ALIAS designates a name for you...you can use up to 23, and must have
  110. ; at least 1.  The first is considered your real name, the second is
  111. ; considered your handle unless you turn this "tracking" off with the
  112. ; NOTRACK keyword.
  113. ;
  114. ALIAS    Mark Kimes
  115. ALIAS    Hector Plasmic
  116. ;
  117. ;
  118. ; ADDRESS is your net address...you can use up to 23.  Domains are
  119. ; limited to 36 characters, zone:/node.point to 1-65535 and net to
  120. ; 1-65533
  121. ;
  122. ADDRESS  69:69/69.69@Dufusnet
  123. ;
  124. ;
  125. ; EDITOR is the string to spawn for entering messages.
  126. ; Include the extension of the executable.  If you don't have this,
  127. ; HeadEdit will use its built-in mini text editor (barf).
  128. ;
  129. EDITOR   Q.EXE
  130. ;
  131. ;
  132. ;
  133. ; WRAP is the string to spawn to wrap entered messages...optional, as
  134. ; HeadEdit has internal wrapping (but if you don't like the way HeadEdit
  135. ; does it, this lets you change it).  Include the extension of the
  136. ; executable.
  137. ;
  138. ;WRAP     WRAPPER.EXE 71
  139. ;
  140. ;
  141. ; WRAPLEN is how wide your text lines are (right margin) less 1 (seems
  142. ; to work best...experiment).  Set to 0 and don't use WRAP to disable
  143. ; wrapping permanently (it can also be disabled inside HeadEdit
  144. ; temporarily).  Set to > 0 && < 30 and for a different sort of wrapping
  145. ; (the type 4MIKE.COM used to do, as opposed to the type WRAPPER.EXE
  146. ; used to do).  If you have Scroll Lock on when you save a message,
  147. ; no internal wrapping will take place.
  148. ;
  149. WRAPLEN  71
  150. ;
  151. ;
  152. ; The PATH to your message files...note the trailing backslash!
  153. ; You can have up to 23 paths, but probably will never need them
  154. ;
  155. PATH     g:\XBBS\MESS\
  156. ;
  157. ;
  158. ; ORIGIN should be followed by your default origin line (up to 60 chars)
  159. ; You can have a file called ORIGINS.BBS in the message area path that
  160. ; contains special origin lines for given areas.  Format:
  161. ; <board #>;<origin text>  (i.e. 22;My Point System) one per line.
  162. ; You can also do away with either the origin or tear (---) or both
  163. ; (for advanced use only when you *know* it's all right!):
  164. ; <board #>;NOORIGIN (no origin, just a tear line)
  165. ; <board #>;NOTEAR<origin text> (no tear line, just an origin)
  166. ; <board #>;NOORIGIN/NOTEAR (no origin or tear line)
  167. ;
  168. ORIGIN   An XBBS
  169. ;
  170. ;
  171. ; ANSIEDITOR is the string to spawn when entering messages in an ANSI
  172. ; area...required if you have an ANSI area.  ANSIEd is recommended, since
  173. ; ANSI messages should confine themselves to certain areas of the screen
  174. ; (ANSIEd takes care of this for you)
  175. ; Include the extension of the executable
  176. ;
  177. ;ANSIEDITOR ANSIEd.EXE 0 0 999 16
  178. ;
  179. ;
  180. ; ATTRIBUTES sets the default attribute bits for netmail messages
  181. ; MSGPRIVATE 1
  182. ; MSGCRASH   2
  183. ; MSGREAD    4
  184. ; MSGSENT    8
  185. ; MSGFILE    16
  186. ; MSGFWD     32
  187. ; MSGORPHAN  64
  188. ; MSGKILL    128
  189. ; MSGLOCAL   256
  190. ; MSGXX1     512
  191. ; MSGXX2     1024
  192. ; MSGFRQ     2048
  193. ; MSGRRQ     4096
  194. ; MSGCPT     8192
  195. ; MSGARQ     16384
  196. ; MSGURQ     32768
  197. ; Add these together to get the number you need
  198. ;
  199. ATTRIBUTES  385
  200. ;
  201. ;
  202. ; LINES determines how many line pointers the system allocates.  Each
  203. ; pointer requires two bytes (it's a word).  Pointers are what allow you
  204. ; to page backward as well as forward in a message.  10240 is the
  205. ; default (48K of pointers), but you can increase this or decrease it to
  206. ; as little as 257.  When you overrun your pointers (read more lines
  207. ; than you have pointers for), all it means is that you'll be at the
  208. ; start of the message if you try to go up.
  209. ;
  210. LINES 10240
  211. ;
  212. ;
  213. ; NOCHECK turns off automatic address checking when editting Net Mail
  214. ; headers.  You can still check manually with F6 if you have the
  215. ; nodelist loaded.  Points running without a nodelist should use this
  216. ; keyword.
  217. ;
  218. NOCHECK
  219. ;
  220. ;
  221. ; SELECTIVE tells HeadEdit to start up allowing searching during Global
  222. ; scan from the Main Menu.
  223. ;
  224. ;SELECTIVE
  225. ;
  226. ;
  227. ; UNLISTED tells HeadEdit to start up showing unlisted areas
  228. ;
  229. ;UNLISTED
  230. ;
  231. ;
  232. ; NONODELIST tells HeadEdit not to load the nodelist index.  You won't
  233. ; be able to look up net/node numbers if you do this, but you can still
  234. ; send net mail and even use a FIDOUSER.LST (even one you type up).
  235. ; I'd suggest turning it off only if you don't use HeadEdit for net mail
  236. ; or are a point operating without a nodelist.
  237. ; It does save some memory to use this keyword.
  238. ;
  239. NONODELIST
  240. ;
  241. ;
  242. ; NODELIST tells HeadEdit where to look for your nodelist file(s).
  243. ; HeadEdit uses a Version 6 NodeList.
  244. ; It will also use a FIDOUSER.LST (in the same path).  The default is
  245. ; HeadEdit's default directory if you don't use this keyword.  Note that
  246. ; the trailing backslash is REQUIRED.  You don't need this if you're a
  247. ; point operating without a nodelist.
  248. ;
  249. ;NODELIST g:\XBBS\
  250. ;
  251. ;
  252. ; Note that the following color defaults are for monochrome systems...
  253. ; TEXTCOLOR tells HeadEdit what color you want text to be while reading
  254. ; messages.  It can have one of the following values:
  255. ;  BLACK         = 0
  256. ;  BLUE          = 1
  257. ;  GREEN         = 2
  258. ;  CYAN          = 3
  259. ;  RED           = 4
  260. ;  MAGENTA       = 5
  261. ;  BROWN         = 6
  262. ;  LIGHTGRAY     = 7
  263. ;  DARKGRAY      = 8
  264. ;  LIGHTBLUE     = 9
  265. ;  LIGHTGREEN    = 10
  266. ;  LIGHTCYAN     = 11
  267. ;  LIGHTRED      = 12
  268. ;  LIGHTMAGENTA  = 13
  269. ;  YELLOW        = 14
  270. ;  WHITE         = 15
  271. ;
  272. TEXTCOLOR  7
  273. ;
  274. ; TEXTBACK tells HeadEdit what color to use for the background while
  275. ; reading messages.  It can have one of the following values:
  276. ;  BLACK         = 0
  277. ;  BLUE          = 1
  278. ;  GREEN         = 2
  279. ;  CYAN          = 3
  280. ;  RED           = 4
  281. ;  MAGENTA       = 5
  282. ;  BROWN         = 6
  283. ;
  284. TEXTBACK   0
  285. ;
  286. ; STATCOLOR and STATBACK serve the same purpose and have the same
  287. ; potential values as the above, only they apply to the bottom and
  288. ; division lines when reading.
  289. ;
  290. STATCOLOR  0
  291. STATBACK   7
  292. ;
  293. ; HEADCOLOR and HEADBACK are for the message header info displayed while
  294. ; reading.
  295. ;
  296. HEADCOLOR  7
  297. HEADBACK   0
  298. ;
  299. ; Miscellaneous other special colors.  The names should tell you when
  300. ; they're used.  Set the the same as TEXTCOLOR and TEXTBACK to effectively
  301. ; disable the hightlighting.  There are defaults if you want to comment
  302. ; them out completely.  You can also use NOHILITE to totally disable this
  303. ; hilighting (should speed processing fractionally, too).
  304. ;
  305. QUOTEFORE   7
  306. QUOTEBACK   0
  307. TEARFORE    7
  308. TEARBACK    0
  309. ORIGFORE    7
  310. ORIGBACK    0
  311. KLUDGEFORE  7
  312. KLUDGEBACK  0
  313. ;
  314. ; EXPORTNAME is followed by the name of the default export file
  315. ;
  316. ;EXPORTNAME TEMP.TXT
  317. ;
  318. ;
  319. ; USEROOTNAME is followed by a root name (no extension!) of an export
  320. ; file.  HeadEdit appends .### to the file (where ### is a three-digit
  321. ; hex number representing the area #).  The file is always appended to
  322. ; if it exists.  This makes it easier to keep things organized.
  323. ;
  324. USEROOTNAME G:\BT\MYMSGS
  325. ;
  326. ;
  327. ; BEFOREQUOTE is a string that will precede quoted text in a reply if
  328. ; you blank the quote string.  It has four arguments that follow it:
  329. ; the original msg's date, original poster, original recipient, and
  330. ; msg subject.  These can be accessed (in order only, sorry) by putting
  331. ; a %s in the BEFOREQUOTE string.  Not all must be used.
  332. ;
  333. ;BEFOREQUOTE On %s %s wrote to %s:
  334. ;
  335. ; AFTERBEFORE is a string printed after BEFOREQUOTE.  Has the same
  336. ; arguments but you can skip them.
  337. ;
  338. ;AFTERBEFORE ************************************************************
  339. ;
  340. ; AFTERQUOTE is a string printed when the quoted text is complete.
  341. ; No arguments follow.
  342. ;
  343. ;AFTERQUOTE ************************ END QUOTE **************************
  344. ;
  345. ;
  346. ; Here's some stuff used when you print messages in HeadEdit.  BTW, you can
  347. ; change that PRN that comes up by default to a regular filename.  Don't
  348. ; change it to CON unless you want an unpleasant surprise...
  349. ;
  350. ; BEFOREHEADER is followed by anything you might want sent to the printer
  351. ; after a message header is displayed.  The tilde ~ is translated in this
  352. ; case to an ESC character, and the reverse apostrophe ` is translated to
  353. ; a carriage return/line feed.
  354. ;
  355. ; AFTERHEADER is the same sort of thing for after the header is printed.
  356. ;
  357. ;
  358. ; AFTERTEXT is, again, the same thing after the message body is printed.
  359. ;
  360. AFTERTEXT ``
  361. ;
  362. ; AFTERPRINTING is, one last time, the same thing when a batch print job
  363. ; is completed.
  364. ;
  365. ; PAGELENGTH tells HeadEdit how long your printed page is.
  366. ;
  367. PAGELENGTH 66
  368. ;
  369. ; TOPMARGIN is how many blank lines you want at the top of a page.
  370. ;
  371. TOPMARGIN 6
  372. ;
  373. ; BOTTOMMARGIN is how many blank lines at the bottom of the page.
  374. ;
  375. BOTTOMMARGIN 6
  376. ;
  377. ; LEFTMARGIN is how many blank spaces at the left of the page.
  378. ;
  379. LEFTMARGIN 6
  380. ;
  381. ; TEXTWIDTH is how wide you want the message text to be.
  382. ;
  383. TEXTWIDTH 72
  384. ;
  385. ;
  386. ;
  387. ; ALT-Function keys can be used for spawning programs.  This spawn swaps
  388. ; if you have swapping enabled.  It does *not* go through COMMAND.COM,
  389. ; so if you want to run a batch file you need something like
  390. ; CMD.EXE BATCHFIL.CMD
  391. ; Format is FKEY #(1-10) Spawn string...
  392. ; There are a few metastrings (prefaced by * as in XBBS):
  393. ;
  394. ; *F   From name of current msg (spaces replaced by _)
  395. ; *T   To name of current msg   (spaces replaced by _)
  396. ; *A   Name of current msg area (spaces replaced by _)
  397. ; *a   # of current msg area
  398. ; *#   # of current msg
  399. ; *P   Path to msg base files
  400. ; *D   Date of current msg      (spaces replaced by _)
  401. ; *f   From name of current msg
  402. ; *t   To name of current msg
  403. ; *N   Name of current msg area
  404. ; *d   Date of current msg
  405. ;
  406. FKEY 1 XUSERPM.EXE USER *F
  407. FKEY 2 Q.EXE
  408. ;
  409. ;
  410. ;
  411. ; NETBOARD tells HeadEdit which board is your netmail board.
  412. ;
  413. NETBOARD 5
  414. ;
  415. ; ALTBOARD tells HeadEdit which board is your alternate address netmail
  416. ; board.
  417. ;
  418. ALTBOARD 5
  419. ;
  420. ;
  421. ; USEDEFAULT would start HeadEdit up to ignore ORIGINS.BBS and use only
  422. ; the default origin line
  423. ;
  424. ;USEDEFAULT
  425. ;
  426. ;
  427. ; NO*PT tells HeadEdit not to insert ^aFMPT and ^aTOPT kludge lines (which
  428. ; are obsolete with ^aMSGID & ^aMSGTO)
  429. ;
  430. ;NO*PT
  431. ;
  432. ;
  433. ; NOINTL tells HeadEdit not to insert ^aINTL kludge lines (which are
  434. ; obsolete with ^aMSGID & ^aMSGTO).  HeadEdit never inserts a ^aDOMAIN.
  435. ;
  436. ;NOINTL
  437. ;
  438. ;
  439. ; FLSEARCH tells HeadEdit the path to your FLSEARCH.CTL-type file that
  440. ; is used when looking up associated files.
  441. ;
  442. FLSEARCH g:\XBBS\FLSEARCH.CTL
  443. ;
  444. ;
  445. ; SPAWNVIEW tells HeadEdit what to spawn to view associated files.  I'd
  446. ; suggest SHEZ.  HeadEdit will add the filename to the spawn line.
  447. ;
  448. SPAWNVIEW SHEZ.EXE
  449. ;
  450. ;
  451. ; TEMPLATE tells HeadEdit that you want to execute a Template program
  452. ; to work on MSGTMP before invoking the internal editor.
  453. ;
  454. ;TEMPLATE Template.EXE
  455. ;
  456. ;
  457. ; MAKEINFO tells HeadEdit to write a MSGTMP.INF file before it spawns
  458. ; the editor.  This can be used to wedge in a Template program.  If
  459. ; MAKEINFO is commented out, a MSGTMP.INF file will *not* be written.
  460. ; As of this writing (04/17/90), only one template program is available
  461. ; for HeadEdit, from Renee Teunissen (2:512/34.5).
  462. ;
  463. ; Format of MSGTMP.INF file:
  464. ;
  465. ; REPLY    (keyword present if this is a reply)
  466. ; NET      (keyword present if this is netmail)
  467. ; ECHO     (keyword present if this is echomail)
  468. ; ECHO2NET (keyword present if this is a net reply to echo)
  469. ; FROM     Name (present only if this is a reply)
  470. ; WASTO    Name (present only if this is a reply)
  471. ; TO       Name
  472. ; DATE     Fido-style datestring of original (present only if this is a reply)
  473. ;          Note that this is the datestring *as it was imported* and is not
  474. ;          guaranteed to be in accordance with FTS-0001's spec (HeadEdit's
  475. ;          dates are, most Opii dates aren't, grumble, grumble).
  476. ; ORIG     Net address of originating node (net only)
  477. ; DEST     Net address of destination node (net only)
  478. ; SUBJ     Subject of message
  479. ; WRITER   Name
  480. ; AREANAME Area Name
  481. ; AREA#    Area #
  482. ; AREAATTR Area's attribute word
  483. ; MSGATTR  Message's "FidoNet" attribute word
  484. ; MSGATTR2 Message's XBBS extended attribute word
  485. ; READER   ReaderName Version#
  486. ; NODE#    Nodenumber (if software uses it; HeadEdit doesn't, XBBS does)
  487. ;
  488. ; Template programs should not expect keywords in any particular order.
  489. ; They should be tolerant of variable quantities of spaces between
  490. ; keyword and arguments (where arguments are required).  They should not
  491. ; be case sensitive regarding keywords.  They should be tolerant of
  492. ; additional (unlisted) keywords and not freak if one expected isn't
  493. ; present, nor if the MSGTMP.INF file itself is not present (as it won't
  494. ; be when editting a msg).  They should be installable in such a manner
  495. ; that they run, create a "finished" MSGTMP file for the editor to
  496. ; manipulate, then call the editor, which will return to HeadEdit on
  497. ; completion.  For multinode compatibility, they should tolerate
  498. ; filenames such as MSGTMP1.INF, MSGTMP2.INF, etc.  The user should be
  499. ; aware that editting the header info after the message has been written
  500. ; (from the [S]ave [A]bort [E]dit Header prompt) may cause a mismatch
  501. ; between header information and the information that the Template
  502. ; program used (if, for instance, you change the To: field).
  503. ;
  504. MAKEINFO
  505. ;
  506. ;
  507. ; COMPRESS tells HeadEdit what size message to compress if the current
  508. ; area allows compression.  A message will have to be at least this size
  509. ; before compression will take place.  Compression/decompression uses a
  510. ; lot of memory, so you may not want to enable this if you're operating
  511. ; under a RAM-tight situation (like a multitasker).  This extra memory
  512. ; usage is minimized but not totally eliminated by HeadEdit's overlays.
  513. ;
  514. COMPRESS 2048
  515. ;
  516. ;
  517. ; SKIPDELETED tells HeadEdit to ignore deleted messages.
  518. ;
  519. ;SKIPDELETED
  520. ;
  521. ;
  522. ; APPLICATION <idstring> is available.  If you call HeadEdit with
  523. ; HEADEDIT <configfile> <idstring>, HeadEdit will read until it finds a
  524. ; matching APPLICATION statement and use text after that, up to the next
  525. ; APPLICATION statement, as its config info.  This can let you have more
  526. ; than one HeadEdit config in a single file. Other programs could also use
  527. ; this device to let you keep their config info in the same file (the
  528. ; above Template program, for example).
  529. ;
  530. ;
  531. ;APPLICATION Template
  532. ;
  533. ;
  534. ; APPLICATION areas are terminated by the ENDAPP statement.  HeadEdit
  535. ; immediately stops parsing the config file when it reaches this keyword.
  536. ;
  537. ;ENDAPP
  538. ;
  539. ;
  540. ; DOMAIL <#> tells HeadEdit to do some mail processing on startup.
  541. ; The following values are valid:
  542. ;
  543. ;  1.  Import mail and continue
  544. ;  2.  Import mail and stop HeadEdit
  545. ;  3.  Export mail and continue
  546. ;  4.  Export mail and stop HeadEdit
  547. ;  5.  Import then export and continue
  548. ;  6.  Import then export and stop HeadEdit
  549. ;
  550. ;DOMAIL 2
  551. ;
  552. ;
  553. ; MONOCHROME tells HeadEdit to make all the windows basic black and
  554. ; white even if you have a color monitor.  This will not affect the
  555. ; colors you see when reading, but you can adjust them separately above.
  556. ;
  557. ;MONOCHROME
  558. ;
  559. ;
  560. ;    Last line in file should always be a comment or blank line because
  561. ; of the way HeadEdit parses the config file.
  562.