home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / telecomm / imhov107 / doc / config.txt < prev    next >
Text File  |  1993-08-11  |  22KB  |  571 lines

  1.  
  2.                                 IMHO
  3.                                 ====
  4.  
  5.  
  6. --------------------------- Configuration ----------------------------
  7.  
  8.  
  9. When you run IMHO.PRG the file IMHO.CFG needs to be in the same
  10. directory that you are running it from (or defined as the
  11. current path?). This file defines the configuration, and will
  12. be read by IMHO. You also need to have IMHO.RSC either in the
  13. same directory or somewhere that resource files can be loaded
  14. from - I'm not sure quite where the 'load resource' function 
  15. will look.
  16.  
  17. IMHO.CFG is a standard ASCII text file and can be amended with
  18. an editor such as the one bundled in this archive.
  19.  
  20. Each line of the file must be in the format :-
  21.  
  22. <keyword> = <value>
  23.  
  24. Where <keyword> is one of the following keywords, and <value> is
  25. one of the allowable values for that keyword.
  26. There may be as many spaces either side of the '=' character as
  27. you like (or none) - but <Tab>'s will NOT work.
  28.  
  29. The keywords may be in upper or lower case (or mixed), and may appear
  30. in any order in the file. If keywords appear twice in the file, the 
  31. last value set will apply. Some, but not all, of the keywords have 
  32. default values.
  33.  
  34.  
  35. Keyword                  Value                            Default
  36. -------                  -----                            -------
  37. Work                     Path
  38. Messages                 Path
  39. Replies                  Path
  40. Save                     Path
  41. Data                     Path
  42. Bookmarks                Path
  43. Editor                   Path and File
  44. Archiver                 Path and File
  45. Extract                  String
  46. Compress                 String
  47. Copy Utils               Yes/No/On/Off                    No
  48. Copy QWK                 Yes/No/On/Off                    Yes
  49. Edit Reply Header        Yes/No/On/Off                    Yes
  50. Max Quote Line           Number                           80
  51. Taglines                 Random/Choose/Yes/No/On/Off      Random
  52. Add To REP               Yes/No/On/Off/Ask                Ask
  53. Save Bookmarks           Yes/No/On/Off/Ask                Ask
  54. Bookmark Comment 1       String
  55. Bookmark Comment 2       String
  56. Bookmark Comment 3       String
  57. Bookmark Chars           n n n n                          32 45 62 35
  58. Flag Mine Read           Yes/No/On/Off                    Yes
  59. File Viewer              IMHO/Editor/Path and File        IMHO
  60. New Files                File                             NEWFILES.DAT
  61. Strip Junk               Yes/No/On/Off                    Yes
  62. Heap Block Size          Number                           65536
  63. Stack Size               Number                           4096
  64.  
  65. "Path" means the disk pathname for a directory, which must end with
  66. a '\' character.
  67.  
  68. "Path and File" means a "Path" immediately followed by a file name.
  69.  
  70. "File" means just the file name, with no path.
  71.  
  72. "String" is a string of characters, without quotes - may contain spaces.
  73.  
  74. Keyword : Work
  75. --------------
  76. This directory does not need to exist beforehand - it will be created
  77. by IMHO if necessary. Several subdirectories will be created within
  78. this work directory, as follows.
  79.  
  80. DECOMP\ - contains the current decompressed message packet
  81. QWK\ - contains copies of message packets that have been 'opened'
  82. REP\ - contains copies of reply packets that have been generated
  83. REPLIES\ - contains outstanding replies to messages
  84. TEMP\ - used for loading old reply packets, normally empty
  85. UTILS\ - contains editor and archiver if copy flag is on
  86.  
  87. The reason for the QWK\ and REP\ subdirectories is to speed up
  88. decompressing and compressing of packets when using a ramdisk.
  89. I found that it was quite a lot quicker to copy a message packet
  90. into QWK\ and decompress it from there than it was to decompress
  91. directly from the original message packet. This also applies for
  92. creating reply packets - the packet is created in REP\ then copied
  93. to the reply packet folder.
  94.  
  95. If a message packet is closed and reopened later on it will not be
  96. recopied into QWK\, the one that is already there will be used.
  97.  
  98. Keyword : Messages
  99. ------------------
  100. This needs to contain the compressed message packets that have been 
  101. downloaded from a BBS.
  102.  
  103. Keyword : Replies
  104. -----------------
  105. This will contain compressed reply packets generated by IMHO, which
  106. need to be uploaded to a BBS.
  107. (Or you can upload from REP\ in the work directory)
  108.  
  109. Keyword : Save
  110. --------------
  111. When saving a copy of a single message from within the message
  112. displayer this is the default directory that will appear in the 
  113. file selector.
  114.  
  115. Keyword : Data
  116. --------------
  117. This directory must contain the following data files :-
  118.  
  119. IMHO.HED - header lines for replies
  120. IMHO.SIG - signature for replies
  121. IMHO.TAG - taglines for replies
  122. IMHO.USR - list of users and abbreviations
  123.  
  124. You can also put .CNF files in here if you want to define aliases
  125. for messages areas (conferences)
  126.  
  127. The format of these files is as follows:-
  128.  
  129. IMHO.HED
  130. --------
  131. These define the layout of the top of a reply to a message.
  132. Substituition variables can be used. These are defined as
  133. follows:-
  134.  
  135. @d   -> date (of original message)
  136. @t   -> time (of original message)
  137. @r   -> full name of person being replied to
  138. @rf  -> first name
  139. @rl  -> last name
  140. @mt  -> full name of original message receiver (f for from)
  141. @mtf -> first name
  142. @mtl -> last name
  143. @mf  -> full name of original message sender (t for to)
  144. @mff -> first name
  145. @mfl -> last name
  146.  
  147. The first line in the IMHO.HED file is a "hello" line, which will 
  148. be put at the top of a reply. For example
  149.  
  150.      Hi @rf,
  151.  
  152. Will result in
  153.  
  154.      Hi Fred,
  155.  
  156. If you're sending your reply to someone called Fred Bloggs.
  157.  
  158. The next 5 lines in IMHO.HED are different versions of an "intro"
  159. line which will introduce the reply. One of these will follow
  160. the "hello" line in the reply. The line that will be used is
  161. determined as follows:-
  162.  
  163. Line 2: if original message was sent to you
  164. Line 3: if original message was sent to ALL
  165. Line 4: if reply is to sender of original message
  166. Line 5: if reply is to receiver of original message
  167. Line 6: if reply to neither sender nor receiver of original message
  168.  
  169. See the supplied IMHO.HED file for examples.
  170.  
  171. IMHO.SIG
  172. --------
  173. This contains a "signature" which will appear at the end of a 
  174. reply. You can put a 'big' multiple line signature in here.
  175.  
  176. See the supplied IMHO.SIG file for an example.
  177.  
  178. IMHO.TAG
  179. --------
  180. This file contains "taglines". These will be inserted at the bottom
  181. of the reply, after the signature. They are put in before the reply
  182. is edited, so you can see it and change or delete it within the editor
  183. if you so desire.
  184.  
  185. The substitution variables mentioned above also apply to taglines,
  186. so you can have "personalised" taglines in which the recipient's
  187. name will appear.
  188.  
  189. The length of the tagline, after substitution, must be less than 76
  190. characters or it will be truncated.
  191.  
  192. Comment lines begining with '*' can appear in the tagline file,
  193. and will be ignored.
  194.  
  195. See the supplied IMHO.TAG file for examples.
  196.  
  197. IMHO.USR
  198. --------
  199. This contains a list of abbreviations for users you often send
  200. messages to.
  201.  
  202. The format of each line is 
  203.  
  204.   <short> <long> [@<address>] [!<comment>]
  205.  
  206. where :-
  207.  
  208. <short>   is the short abbreviation for a name (no blanks allowed)
  209. <long>    is the full name of the person
  210. <address> is the FidoNet address
  211. <comment> is a comment
  212.  
  213. Addresses and comments are optional; but an address, if present,
  214. must come before any comment.
  215.  
  216. The maximum lengths of the fields are
  217. <short>   15 characters
  218. <long>    25 characters
  219. <address> 15 characters
  220. <comment> 20 characters
  221.  
  222. To use the abbreviations when replying or sending new messages
  223. just put a '*' character followed by the abbreviation specified
  224. in the file in the "To:" field of the "header" dialog box. See
  225. later for more about this dialog box. If you blank out the "To:"
  226. field and hit <Return> you will be prompted with a list of users
  227. which you can select with the mouse.
  228.  
  229. Comment lines begining with '*' can appear in the user file,
  230. and will be ignored.
  231.  
  232. See the supplied IMHO.USR file for examples.
  233.  
  234. <bbs>.CNF
  235. ---------
  236. QWK area names (or conferences) are only 12 characters, which often
  237. makes it difficult to figure out what the area is without going back
  238. onto the BBS and looking up the full name.
  239.  
  240. To get round this you can set up a .CNF file, where the file name
  241. prefix before the '.' equals the BBS id in the CONTROL.DAT file 
  242. which is extracted from the message packet - should be the same as
  243. the QWK packet name downloaded.
  244.  
  245. You can also use this .CNF file to arrange the areas into whatever
  246. order you want them to be displayed - so you can put all the
  247. "interesting" areas at the top.
  248.  
  249. The file is arranged as 2 lines for each area you want to define
  250. an "alias" for. The first of each group of 2 lines must be the
  251. 12 character QWK area name, and the second line in each group
  252. must be the alias definition.
  253.  
  254. An alias can be up to 30 characters, and can have optional "flags"
  255. to mark it as private and/or netmail.
  256.  
  257. The flags are "*private" and "*netmail".
  258.  
  259. E.g.
  260.  
  261. Wombat stret
  262. Wombat stretching - general
  263. Wombat bendi
  264. Wombat bending for beginners *private
  265. Netmail
  266. Netmail area *private *netmail
  267.  
  268. This seemed to me a better way of doing it than defining by
  269. area number, as the numbers sometimes (on my BBS!) change.
  270.  
  271. The best way of setting this file up is to open a message packet
  272. and get hold of the CONTROL.DAT from DECOMP\ in the work
  273. directory. This has a list of all the 12 character QWK names
  274. in it which you can hack out and put into a .CNF file.
  275.  
  276. You do NOT have to define all the areas. Any that you do define
  277. with aliases will appear with the alias names in the order specified
  278. in the file. Any not defined will appear after the list of alias
  279. names, with their normal 12 character QWK names, in the order they
  280. appear on the BBS.
  281.  
  282. The *private flag sets the default for replies and new messages
  283. for that area. It can still be changed to public at the time you
  284. enter it, if you wish to.
  285.  
  286. The *netmail flag defines the Netmail area for the BBS.
  287. This area will be processed slightly differently from the other
  288. areas as the "subject" is used for the "address" in QWK reply
  289. packets. The format for the address is '@' followed by the
  290. Fido address. 
  291.  
  292. This causes problems with the Atari as
  293. putting '@' into a dialog box text field causes the trailing
  294. characters to get blanked out!
  295.  
  296. To get around this, IMHO automatically puts in an '@' for you
  297. in the Address/Subject field. So just put the address in without
  298. an '@'.
  299.  
  300. If you have defined an abbreviation for a user with an address
  301. IMHO will also put that address in for you when it expands the
  302. abbrevation to a full name when putting a message in the netmail
  303. area. Also if you are replying to a netmail message and the user you
  304. are replying to has been defined with an address in the .USR file,
  305. IMHO will put the address in for you.
  306.  
  307. Keyword : Bookmarks
  308. -------------------
  309. This is where IMHO will store "bookmark" files.
  310. You can set one bookmark place holder for each area in a message 
  311. packet to remember where you have got up to in that area. When coming 
  312. back to the packet at a later time, you can tell IMHO to jump to a bookmark.
  313. The Read/Replied/Marked flags are also stored in the bookmark file.
  314.  
  315. Each packet has its own set of bookmarks.
  316. The bookmark file name corresponds to the message packet for which the
  317. bookmarks are to be held.
  318.  
  319. There is also a SUMMARY.ALL file stored in this directory. This contains
  320. summary information for all packets (that have been opened) in the
  321. "Messages" directory.
  322.  
  323. Keyword : Editor
  324. ----------------
  325. This tells IMHO where the editor is. IMHO does not have any
  326. built in editor - it needs an external one.
  327. One has been supplied with this archive, see in the EDITOR\
  328. directory for documentation on how to use it.
  329.  
  330. If you want to use your own favourite editor, just put the path
  331. and file name in the .CFG file.
  332.  
  333. If your editor uses resource files or data files you may have
  334. some problems as it will probably not be able to find them when
  335. the editor is executed from IMHO. In this case probably the best
  336. thing to do is put IMHO and the editor into the same directory.
  337.  
  338. Keyword : Archiver
  339. ------------------
  340. This tells IMHO where the archiver is.
  341. It should be able to run with any archiver, as the command
  342. strings are also specified externally in this .CFG file, see below.
  343.  
  344. Keyword : Extract
  345. -----------------
  346. This string will be passed as a parameter to the archiver program
  347. with the value "@packet" replaced with the packet that is
  348. being extracted, and the value "@path" replaced by the path to
  349. which it needs to extract it.
  350.  
  351. N.B. The "@path" value will end with '\' and the archiver program
  352. must be able to support extracting to a path in this way.
  353.  
  354. For example, the string needed for LHARC is
  355.  
  356. x @packet @path
  357.  
  358. Keyword : Compress
  359. ------------------
  360. This string will be passed as a parameter to the archiver program
  361. with the value "@packet" replaced with the packet that is to
  362. be created, and the value "@file" replaced by the file(s) which
  363. will be put into the packet.
  364.  
  365. For example, the string needed for LHARC is
  366.  
  367. a -m @packet @file
  368.  
  369. The "-m" flag is needed to suppress warning messages about the
  370. file type not being "LZH".
  371.  
  372. Keyword : Copy Utils
  373. --------------------
  374. If this flag is set "On" a subdirectory UTILS\ will be created
  375. in the work directory and the editor and archiver will be copied
  376. into it when IMHO is first run.
  377.  
  378. If you exit from IMHO and run it again later it will not copy them
  379. again, as long as they are still in UTILS\.
  380.  
  381. This can be used to copy the editor an archiver into a ramdisk,
  382. when using one for the work directory, in order to speed up
  383. execution of these programs.
  384.  
  385. Again, though, if your editor (or archiver) uses resource files
  386. or data files this may cause problems, as IMHO won't know about
  387. them and they will not be copied.
  388.  
  389. Keyword : Copy QWK
  390. ------------------
  391. If this flag is set on then when a message packet is opened it will
  392. be first copied into the QWK\ subdirectory in work, and dearchived
  393. from there. This makes it quicker when a ramdisk is used for "work".
  394. If you have little free memory you can turn this off to save some
  395. space in your ramdisk. If you are using a hard drive for "work" then
  396. you should switch this copy off, as it just wastes time and space!
  397.  
  398. Keyword : Edit Reply Header
  399. ---------------------------
  400. If set on you will be prompted with a "header box" GEM dialog each 
  401. time you reply to a message, in which you can change the recipient 
  402. of the reply, the subject, the area and the public/private flag. If 
  403. you don't want to change anything when replying to a message, you 
  404. can set this off. You will then go straight into edit mode when 
  405. you reply.
  406.  
  407. Keyword : Max Quote Line
  408. ------------------------
  409. This must be a decimal number, 80 or less.
  410.  
  411. When doing a "quoted" reply the original message is reformatted
  412. to allow for the inserted "XX>" characters. The length specified
  413. by this keyword will restrict lines to be less than or equal to 
  414. that length.
  415.  
  416. The editor I use has a window which displays 72 characters when
  417. first invoked, so I set this value to 72 so that quoted lines do
  418. not disappear off the end of the window.
  419.  
  420. This does not of course apply to lines which have already been
  421. quoted by other OLR's - these lines are left intact.
  422.  
  423. Keyword : Taglines
  424. ------------------
  425. The values "On" or "Yes" are equivalent to "Random", in which case
  426. taglines will be picked at random.
  427.  
  428. If you set this to "Choose", a list of taglines will be displayed
  429. when you reply to a message, or enter a new one. You can scroll up
  430. and down the list and select one by clicking, or hit the <Esc> key
  431. to select one at random.
  432.  
  433. If taglines are switched off, none will be generated, and the IHMO.TAG
  434. file will not be loaded - thus saving memory.
  435.  
  436. Keyword : Add To REP
  437. --------------------
  438. This determines what happens if you create a reply packet when there
  439. is already a .REP packet in the work REP\ directory for the current BBS.
  440. The default 'ask' uses a pop-up box to ask if you want to add replies
  441. to the .REP in work or make a new .REP packet.
  442.  
  443. Setting this to "Yes" or "On" will cause replies to be added without
  444. any prompting.
  445.  
  446. Setting this to "No" or "Off" will cause a new reply packet to be
  447. created each time.
  448.  
  449. Keyword : Save Bookmarks
  450. ------------------------
  451. This determines what happens when you close a message packet. The
  452. default 'ask' uses a pop-up box to ask you if you want to save
  453. bookmarks (with comments).
  454.  
  455. Setting this to "Yes" or "On" will cause bookmarks to always be
  456. saved, without any prompting. But if you do this, you will not be
  457. able to change the comment.
  458.  
  459. Setting this to "No" or "Off" will bypass the bookmark saving at the
  460. time of closing the packet. (You can still use the "Save Bookmarks"
  461. button on the open packet screen to save them, if needed).
  462.  
  463. Keyword : Bookmark Comment 1,2,3
  464. --------------------------------
  465. These specify 3 preset comments for putting in the bookmarks for a
  466. message packet. The strings can be up to 35 characters long and
  467. may contain spaces. The strings will appear in the 3 corresponding
  468. buttons of the box that pops up when saving bookmarks. 
  469. You can set these to the 3 most oten used comments to save typing.
  470. E.g. "Finished this packet", "Urgent replies needed", etc.
  471.  
  472. Keyword : Bookmark Chars
  473. ------------------------
  474. This allows you to change the single character 'marks' displayed at the
  475. left of a list of messages which indicate if they have been Read, Replied 
  476. to, or Marked (or none of these - unread).
  477. You must follow the '=' with four decimal numbers which correspond to
  478. the ASCII codes of the characters you wish to use.
  479.  
  480.    1st character : used for unread messages
  481.    2nd character : used for read messages
  482.    3rd character : used for messages replied to
  483.    4th character : used for marked messages
  484.  
  485. e.g.
  486.  
  487. Bookmark Chars    =   32 45 62 35
  488.  
  489. Which will use the default ones (blank, -, > and #).
  490. You can use 'high' ASCII characters as well, i.e. numbers greater
  491. than 127, but don't use zero or you won't see any message list!
  492. High ASCII characters may look a bit strange - some of them seem
  493. to have the bottom pixel line of the character moved to the top - I'm 
  494. not sure why!
  495.  
  496. Keyword : Flag Mine Read 
  497. ------------------------
  498. If you have this set "on", (default), any messages in the packet that have
  499. been sent by you will appear flagged as "read" in the message list.
  500. This is so the "unread" count in the list of message areas does not
  501. include ones that you have sent, and you don't have to go and read
  502. all your own messages to get the count to disappear.
  503.  
  504. If you like to make sure you've read all your own messages you can set 
  505. this option off.
  506.  
  507. Keyword : File Viewer
  508. ---------------------
  509. This controls the method used to display a file with the "View File"
  510. button. The default ("IMHO") uses a very basic built in viewing routine
  511. which lets you scroll up and down a page at a time with the left and
  512. right arrow keys.
  513.  
  514. If you set this to "Editor" it will use the same editor that is used
  515. for replying to messages to "view" the file, i.e. it will edit
  516. the file.
  517.  
  518. If you want to use a different file viewer you can put the path and
  519. filename of the program in here, e.g.
  520.  
  521. File Viewer  =  x:\utilities\viewers\goodview.prg
  522.  
  523. Keyword : New Files
  524. -------------------
  525. This can be used to set the name of the file contained in the
  526. message packet which hold a list of new files on the BBS.
  527. There is no standard file name according to the specification
  528. for QWK format packets, but NEWFILES.DAT (the default) is often
  529. packed along with the messages. If you have a file with a
  530. different name contained in the packet archive you can set it here.
  531.  
  532. Keyword : Strip Junk
  533. --------------------
  534. This parameter controls the display of messages.
  535. The messages produced by some mail doors contain information relating
  536. to the routing around networks. These make the messages difficult to
  537. read. The default setting is to strip off these extra lines when
  538. displaying a message. The "junk" lines are lines at the top and
  539. bottom which start with a '^A' character (ASCII 001), and lines
  540. at the bottom which start with "SEEN-BY". If you want to see these
  541. lines you need to switch this parameter off.
  542.  
  543. Keyword : Heap Block Size
  544. -------------------------
  545. This allows you some control over the memory allocation. See the
  546. file MEMORY.TXT for more details on the use of this keyword.
  547.  
  548. Keyword : Stack Size
  549. --------------------
  550. If you get a stack overflow message you can increase this parameter.
  551.  
  552. Ramdisk
  553. -------
  554. The ramdisk supplied in the AUTO\ directory is a reset proof one.
  555. I didn't have any documentation with it when I got it, but it's so
  556. straightforward to use that you don't need any.
  557.  
  558. Just boot with ENTERNAL.PRG in AUTO\ along with it's RAMDISK.DAT
  559. file and it will be installed. (It causes a "double boot" during
  560. the installation).
  561.  
  562. (It also needs a disk Icon setting up on the desktop, of course)
  563.  
  564. To change the drive letter and/or size of the ramdisk run the
  565. CONFGRAM.TOS program - this will prompt you for a new letter
  566. and size (in K) and will update the RAMDISK.DAT file.
  567.  
  568. In order for the change to become effective you need to do a
  569. cold boot.
  570.  
  571.