home *** CD-ROM | disk | FTP | other *** search
/ CD Shareware Magazine 1997 January / CD_shareware_1-97.iso / DOS / COMUNICA / TMATC110.ZIP / T-MATIC.DOC < prev    next >
Encoding:
Text File  |  1996-08-04  |  59.3 KB  |  1,331 lines

  1.  Welcome to:
  2.                          ████████╗  █████╗   ██████╗
  3.                          ╚══██╔══╝ ██╔══██╗ ██╔════╝
  4.                             ██║    ███████║ ██║  ███╗
  5.                             ██║    ██╔══██║ ██║   ██║
  6.                             ██║    ██║  ██║ ╚██████╔╝
  7.                             ╚═╝    ╚═╝  ╚═╝  ╚═════╝
  8.                                `    ██████╗    '
  9.                                    ██╔═══██╗
  10.                                    ██║   ██║
  11.                                    ██║   ██║
  12.                                    ╚██████╔╝
  13.                                     ╚═════╝
  14.                    ███╗   ███╗  █████╗  ████████╗ ██╗  ██████╗
  15.                    ████╗ ████║ ██╔══██╗ ╚══██╔══╝ ██║ ██╔════╝
  16.                    ██╔████╔██║ ███████║    ██║    ██║ ██║
  17.                    ██║╚██╔╝██║ ██╔══██║    ██║    ██║ ██║
  18.                    ██║ ╚═╝ ██║ ██║  ██║    ██║    ██║ ╚██████╗
  19.                    ╚═╝     ╚═╝ ╚═╝  ╚═╝    ╚═╝    ╚═╝  ╚═════╝
  20.  
  21.                                 Version 11
  22.  
  23.                           Software by Simon Avery
  24.                             FidoNet 2:255/20.1
  25.                      Email: savery@mail.zynet.co.uk
  26.                        savery@pillarbox.coracle.com
  27.  
  28.          Many thanks to Kevin W. Kelly for testing and suggestions
  29.  
  30. ┌──────────────────────────────────────────────────────────────────────────────┐
  31. │                                  Contents:                                   │
  32. ├──────────────────────────────────────────────────────────────────────────────┤
  33.  
  34.                                     SYNOPSIS
  35.  
  36.                                    DISCLAIMER
  37.  
  38.                              CONDITIONS OF COPYING
  39.  
  40.                          WHAT'S NEW? (See HISTORY.TXT)
  41.  
  42.                               SYSTEM REQUIREMENTS
  43.  
  44.                                    FILE LIST
  45.  
  46.                                   QUICK START
  47.  
  48.                             CONFIGURING TAG-O-MATIC
  49.  
  50.                                USING TAG-O-MATIC
  51.  
  52.                          USING TAG-O-MATIC WITH TerMail
  53.  
  54.                            USING PERSONALISED MACROS
  55.  
  56.                                   TAG-ADOPTION
  57.  
  58.                                    FILTERING
  59.  
  60.                                     TAGFILES
  61.  
  62.                                  DUPE-CHECKING
  63.  
  64.                                REFORMATTING TEXT
  65.  
  66.                                  USING SIGFILES
  67.  
  68.                                    UPGRADING
  69.  
  70.                                     PROBLEMS
  71.  
  72.                                  WHY REGISTER?
  73.  
  74.                                 TECHNICAL STUFF
  75.  
  76.                                     CREDITS
  77.  
  78. └──────────────────────────────────────────────────────────────────────────────┘
  79. ┌──────────────────────────────────────────────────────────────────────────────┐
  80. │                                   SYNOPSIS                                   │
  81. └──────────────────────────────────────────────────────────────────────────────┘
  82.  
  83. Program Name    :       Tag-O-Matic
  84.                         (Previously called Tag-Nabbit)
  85.                         (Previously called TAG-TAG)
  86.                         (Confused? You will be...)
  87. Ware            :       FreeWare
  88. Purpose         :       Superior TagTool and SigTool and reformatter
  89. Language Used   :       Borland Turbo C v.3.0 DOS
  90. Release Date    :       As in HISTORY.TXT
  91.  
  92. Why?
  93.  
  94.  Because when I changed from Bluewave OLR, I found that none of the
  95. point programs had very much in the way of tagline support. Ok, there
  96. are other tagtools around, but none suited my needs.
  97. They were either;
  98.  VERY slow, needed their tagfiles compiling, limited the number of taglines,
  99. were pigs to setup, needed registering, needed environments set, used Hi-Ascii,
  100. had non-standard precursors, didn't have sig-support or just plain didn't work!
  101.  I started with Tag-Tag, it evolved and became Tag-Nabbit which in turn
  102. evolved into Tag-O-Matic. I'm reasonably happy with it now, AFAIK it's the
  103. fastest and most fully-featured tag-tool around and it's all mine!
  104.  It's become a bit of a hobby. There's always something else to add, people
  105. suggest great new ideas and I try to put the best ones in. It's grown a
  106. little big now, but there's more to do yet!
  107.  
  108.  This is an almost complete rewrite of the docs. V.11 has had extensive
  109. work to the cosmetics and all parts of the engine, and is a little different
  110. to use.
  111.  Oh yes, I apologise for the docs. They've gotten quite convoluted as T-Matic
  112. has been updated so often. All the  information  is  there (I think), but it's a
  113. bit disjointed. If you can't figure something out, please netmail me.
  114.  There's also the chance that some of the less-often used features may have
  115. bugs in 'em. Despite the best efforts of me and beta-testers. If you find
  116. one, let me know and I'll either tell you you're doing it wrong, or I'll
  117. try and fix it. I tend to concentrate on the features that I use myself,
  118. and forget about others. Let me know if that's so.
  119.  
  120. A big thankyou to Kevin W. Kelly for beta testing and a seemingly endless supply
  121. of good ideas!
  122.  
  123. Also a big thanks to everyone else who's suggested improvements, or told
  124. me about problems!
  125.  
  126. ┌──────────────────────────────────────────────────────────────────────────────┐
  127. │                        DISCLAIMER / CONDITIONS OF USE                        │
  128. └──────────────────────────────────────────────────────────────────────────────┘
  129.  
  130.  This program is designed to do a job.  Whether  it does or not depends a lot on
  131. you, but it should do provided that the  system requirements are met by your PC.
  132. I don't guarantee that it does, has ever done, or will ever do anything but take
  133. up a chunk of disk-space.
  134.  
  135.  As far as software support goes, you're looking at it. (Although a friendly
  136. Netmail is usually answered)
  137.  
  138.  On my system, it works perfectly,  which  is  saying  something, since a lot of
  139. programs won't. On a 386-sx25 it's fast, and should be acceptable even on an XT.
  140.  On a DX4-100, it's VERY fast (ie, instant). As with  all  programs, it's only
  141. as fast as your computer. It significantly out-performs all other tag programs
  142. I've tried. It runs extremely well under Windows 95, despite being primarily
  143. written for pure DOS.
  144.  
  145.  Despite any claims in the FILE_ID.DIZ,  it  won't  make  the tea for you, won't
  146. give you a back-massage if you're  feeling  stressed  or  snuggle up to you on a
  147. cold winter's night. Maybe in the next version.
  148.  
  149.  It does do taglines though. And sigs. And reformatting. It does them pretty
  150. well (IMO).
  151.  
  152.  Oh yeah, more legal stuff.
  153.  
  154.  This program shall not be reverse-engineered in any way.
  155.  You *may* give copies of this program to anyone, provided all the
  156. files in the "Files List" chapter are also supplied.
  157.  You *may* distribute this program in any archive or compressed format,
  158. provided all the files in the "Files List" chapter are contained.
  159. The .ZIP format is encouraged, but not forced. Only use .RAR if you must.
  160.  By running this program, you are agreeing to this notice. If you don't
  161. agree with this notice, then delete these files and never run the program.
  162. (You'll never know what you missed...)
  163.  You may NOT bundle this program with any other program without written
  164. permission of the author. (Ie, please have the common decency to ask!)
  165.  
  166.  T-Matic v.10 was released on a CD collection. I wasn't consulted, but hey!
  167. I don't care! You are welcome to bundle it on CD's or on an ftp site or on
  168. a BBS, PROVIDED:
  169.         No charge is made for the actual program.
  170.         The archive is not fiddled with in ANY way. (Excepting an odd
  171.                 BBS advert added as a seperate file, if you must)
  172.  
  173. ┌──────────────────────────────────────────────────────────────────────────────┐
  174. │                            CONDITIONS OF COPYING                             │
  175. └──────────────────────────────────────────────────────────────────────────────┘
  176.  
  177.  Well...  You can copy this program as much as you want. PROVIDED, all files
  178. in the FILE LIST are enclosed in the  archive,  and that none of these files are
  179. altered. You  can  add  a  file  or  two   should   you  wish,  such  as  a  BBS
  180. advertisement or new tagfiles. If you do  do  this,  please add it as a seperate
  181. file, not onto the end of the supplied tagfile. Also please enclose a READ.ME or
  182. similar file saying who you are, and what you've done.
  183.         One thing you may not do is charge for copying or duplication in
  184. any way, other than a "reasonable" copy fee in the case of disk vendors. If
  185. you're unsure what I call a "reasonable fee", please contact me, as it's
  186. liable to change with the economy.
  187.  
  188. ┌──────────────────────────────────────────────────────────────────────────────┐
  189. │                             SYSTEM REQUIREMENTS                              │
  190. └──────────────────────────────────────────────────────────────────────────────┘
  191.  
  192.  Minimum req's:
  193.  
  194. A PC.
  195. DOS 3.1 or later.
  196. Up to 5 free file handles. (FILES=5 plus whatever is already being used)
  197.  
  198.  Recommended:
  199.  
  200. A hard disk.
  201. Colour monitor.
  202. A 'pooter. (Doesn't have to be particularly fast, even for huge tagfiles,
  203.         although don't enable dupe-checking when doing a mass-steal unless
  204.         you're going out for the evening...)
  205. A sense of humour.
  206.  
  207.  Tested with:
  208.  
  209. DOS v.5 through 7.0
  210. Windows 3.1
  211. Windows 95
  212. Termail
  213. cPoint
  214. PPoint
  215. Bluewave
  216. Timed
  217. Golded
  218.  
  219. ┌──────────────────────────────────────────────────────────────────────────────┐
  220. │                                  FILE LIST                                   │
  221. └──────────────────────────────────────────────────────────────────────────────┘
  222.  
  223. FILE_ID  DIZ    Sysop Stuff
  224. T-MATIC  DOC    This file.
  225. HISTORY  TXT    Text file giving version information.
  226. T-MATIC  EXE    Tag-O-Matic, the program.
  227. TAGLINES TAG    A sample tagfile of tags.
  228. LONGTAGS TAG    An example of long taglines. (Also used by the /L option)
  229. REDWARF  TAG    Some Red Dwarf taglines. (Americans: you probably won't
  230.                                         understand)
  231. T-MATIC  TEM    Example template file for Termail's group function.
  232. T-MATIC  NAM    Example of a "twit file"
  233. T-ADOPT  BAT    Example batch file for adopting to alternative file.
  234. SIGFILE  1      Example Sigfile using Macros.
  235.  
  236.                           Extra Files (Not supplied) :
  237.                           ============================
  238. (Warning! Don't create files with these filenames in T-Matic's directory,
  239. or they might get lost!)
  240.  
  241. T-MATIC.CFG     Created by T-Matic automatically.
  242. T-MATIC.DAT     Data file created and used by Tag-O-Matic. Keeps note of the
  243.                 number of taglines in a file, and the current tagline and sig-
  244.                 file it is at. (For non-random selection)
  245. T-MATIC.DIT     Created by the /G option. Deleted after T-Matic picks a tag.
  246. T-MATIC.DUT     Created by reformat, to see whether file has changed.
  247. PROCESS.TAG     Created when adopting new files. Contains new taglines.
  248. TO-KILL.TAG     List of filter-words. See below.
  249. NOT-DUPE.TAG    Temp file created when sorting tagfile for dupes.
  250. T-MATIC.$$$     Temp file created when doing various things.
  251. {tagfile}.IDX   Index file created automatically for {tagfile}
  252.  
  253.  
  254. ┌──────────────────────────────────────────────────────────────────────────────┐
  255. │                                 QUICK START                                  │
  256. └──────────────────────────────────────────────────────────────────────────────┘
  257.  
  258. If you're familiar with the concept of taglines and seperate tools, then just
  259. run T-Matic. Since this is the first time you've run it, it will jump straight
  260. into the Setup screen. Toggle things on and off until you're content, then just
  261. read the file "INSTALL.TXT" which will tell you how to add it to your
  262. mailer so it works automatically. If you get stuck, or can't figure anything out,
  263. then read the rest of the docs. If you're still stuck, drop me a netmail.
  264.  
  265. Here's a screen-shot from an old config.
  266. (I can't be bothered to update this bit every time I change T-Matic, so
  267. some options might be different, missing or new)
  268.  
  269.        Tag-O-Matic V.9.01b  (c) Simon Avery Jan 21 1996  British Freeware
  270. ───────────────────────────────────┤ Setup ├────────────────────────────────────
  271. TAGID: Tag-O-Matic V.9.01b Freeware
  272. ... This is a tagline!
  273. --- Tag-O-Matic V.9.01b (558 Taglines) [Quoted: 0%]
  274.  
  275.    ╒═══════════════════════════════════════════════════════════════════════╕
  276.    │  Show Message Info      [Yes]            Use Macro's            [Yes] │
  277.    │  Check for Dupes        [Yes]            Words in date macro    [Yes] │
  278.    │  Use Registration Info  [No]             Use macro's in Sigs    [Yes] │
  279.    │  Use Tagline Total      [Yes]            Use Tag-Location       [Yes] │
  280.    │  Use TAGID Kludge       [Yes]            Use Quoted %           [Yes] │
  281.    │  Use Trailing CR        [No]             Use Extended Info      [Yes] │
  282.    │  Use Lottery Numbers    [No]             Show Countdown         [No]  │
  283.    │  Prompt                 [Yes]            Filter Hi-Ascii        [No]  │
  284.    │■ Number of Sigs to use  [  9]            Adopt to seperate file [Yes] │
  285.    │  Edit Reg. String                        Use fuzzy checking     [Yes] │
  286.    │  Edit 2nd line Prefix                    Trim trailing spaces   [Yes] │
  287.    │                                                                       │
  288.    ╘════════════════════════╡ Tired Dog Software ╞═════════════════════════╛
  289.  
  290.                       Number of Sigs to use. (0 if none)
  291.  
  292. ────────────────────────────────────────────────────────────────────────────────
  293.      Use Arrow keys / END / HOME and Space to Edit.  ESC to save and quit.
  294.  
  295.  
  296. The four lines underneath the -[Setup]- bar change to represent what would
  297. be added to the message.
  298.  
  299. ┌──────────────────────────────────────────────────────────────────────────────┐
  300. │                           Configuring Tag-O-Matic                            │
  301. └──────────────────────────────────────────────────────────────────────────────┘
  302.  
  303. The first time Tag-O-Matic is run,  and  can't find T-MATIC.CFG, it will default
  304. to the config screen. (You can do this at any time by typing T-MATIC /C)
  305.  
  306.  Use the up and down arrows to select  an  item, then space or left and right to
  307. change it. You  can  use  HOME/END  to  skip  to  the  beginning  or  end of the
  308. selections. Hit ESC to save and quit.
  309.  
  310.  The options are thus:
  311.  
  312. 1. Show message info (Toggle)
  313.         (Deleted from v.11 - it's forced on anyway)
  314.  
  315. 2. Check for Dupes (Toggle)
  316.  Change to Y if you want T-Matic to scan for dupes when adopting taglines.
  317. This also filters taglines, using the file TO-KILL.TAG if available.
  318.  
  319. 3. Use Registration Info?  (Toggle)
  320.  Change to Y if you want "Registered to: Your Name" added to the message.
  321. (Small hint; this is all you need to do to register Tag-O-Matic...)
  322.  
  323. 4. Use Tag Total? (Toggle)
  324.  Change to Y if you want  "(n)  Taglines"  added  to  message. (Where 'n' is the
  325. total number of taglines if your tagfile. (In case you want to boast.))
  326.  
  327. 5.  Method of identification.
  328.  You can toggle this to one of three settings:
  329.  
  330. Tearline: Just adds the tearline, plus anything else you've toggled on.
  331. TAGID:    Adds the TAGID kludge to the top of the message.
  332. Both:     Does both.
  333.  
  334. For most purposes, the tearline is suitable. The TAGID kludge is not FTSC
  335. compliant, and some moderators have been known to moan about such things.
  336. Personally, I think they're being petty-minded, but they're entitled to
  337. their opinion. (Much in the same way Hitler was)
  338.  
  339. 6. Use trailing CR?
  340.      Will add a trailing newline character after it's message. Some mailers
  341. have problems otherwise and tend to append their own tearline onto the end
  342. of T-Matic's (cPoint for one). Not many do, so try without first.
  343.  
  344. 7. Use Lottery Numbers (Toggle)
  345. Just select it from the Configuration menu and it'll add the following line:
  346.  
  347. -$- Use these Lottery Numbers : 3 15 21 27 33 41
  348.  
  349.  The six numbers will be generated on the  fly. BTW, if this program generates a
  350. winning number, you are of course  encouraged  to break the Freeware concept and
  351. send me lots of money!
  352.  
  353. 8. Prompt
  354.  (Forced from v.11 onwards)
  355.  
  356. 9. Number of Sigs? (Number from 0 to 255)
  357.  If you don't want to use sigs,  then  leave  this at 0. Otherwise, change it to
  358. the number of sigfiles you want to deal with. More on sigs later.
  359.  
  360. 10. Right Margin (From 30 to 80)
  361.  This sets the right margin to start reformatting both long taglines and
  362. text. I've found 75 to be reasonable, it allows for a few successive re-
  363. quotes before wrapping.
  364.  
  365. 11. Edit Registered String (Edit)
  366.  If you don't like the "Registered to: Nobody " string, you can change it here.
  367.  
  368. 12. Edit 2nd line Prefix. (Edit)
  369.  If you don't like the "~~~" prefix used on the second line by Tag-O-Matic,
  370. change it here. Note that only four characters are used. (Including space)
  371. You could change it to ^!^  or ~~~ or ---   Whatever.  Note that you can't
  372. change the tagline precursor from  "...  ".  This  is deliberate and follows the
  373. most common tagline specs. (Makes for easier stealing for T-Matic and
  374. other tagprogs)
  375.  
  376. 13. Use Macros (Toggle)
  377.  Toggle this  for  personalised  taglines.  See  section  on  "USING
  378. PERSONALISED MACROS" for more info.
  379.  
  380. 14. Words in Date Macro (Toggle)
  381.  If you want the date converted to words. (ie, "Sat 12 October 1995" instead of
  382. "12/10/1995" then toggle on.
  383.  
  384. 15. Use macros in Sigs (Toggle)
  385.  This extends macro support  to  your  sigfile.  See "USING PERSONALISED MACROS"
  386. for more info on this.  Bear  in  mind  that  this  will slow down operation
  387. by a very tiny amount, so if you aren't using them, you'll get more
  388. performance by toggling off.
  389.  
  390. 16. Use tag-location (Toggle)
  391.  This allows you to place a tagline at  a  position other than at the end of the
  392. message. To use, place the line:
  393. @TAG
  394. anywhere in your message. T-Matic will  scan  through the file, locate that line
  395. and replace it with the tagline. If  it's  not found, T-Matic will append in the
  396. normal manner. Note  that  with  this,  the  lottery  and  second  lines are not
  397. appended, but the TAGID kludge is forced on.
  398.  
  399. 17. Use Quoted % (Toggle)
  400.  If enabled, this calculates and adds the amount of quoted text to the second
  401. line of T-Matic. Ie, with it enabled, the 2nd line could look like:
  402.  
  403. --- Tag-O-Matic V.n.x [Quoted: 42%] Registered to: Fred Bloggs
  404.  
  405. If you're interested, then it works on bytes, calculating the percentage
  406. on the message _before_ T-Matic appends anything, so it's not 100%
  407. accurate. It couldn't be anyway, since most mailers add their own kludges
  408. and tearline after T-Matic.
  409.  
  410. 18. Use Extended Info (Toggle)
  411.         Pops another small info box onto prompt, giving filenames etc.
  412.         (V.11 - forced on anyway)
  413.  
  414. 19. Show Countdown (Toggle)
  415.         Pops a box when searching for the randomly picked tagline. It gives
  416. the current tag number, the total tag number, the chosen tag number and the
  417. number of tags to go. Beware that using this will slow down operation by
  418. around 3 to 4 times, but can be handy so you know it hasn't gone to sleep.
  419.  
  420. 20. Filter Hi-Ascii (Toggle)
  421.         Will replace high or low ascii characters and replace with an
  422. asterix (*). Helps moderator's blood-pressure.
  423.  
  424. 21. Adopt to seperate file (Toggle)
  425.         When adopting from JAM message bases, will create or append to a
  426. file called PROCESS.TAG. It will still use the tagfile supplied on the
  427. command line for dupe-checking (if enabled), but new tags are saved into
  428. this file. Then you can edit them prior to adding them to the tagfile.
  429. Handy hint: Use T-Matic's append feature to add them.
  430.  
  431. 22. Use fuzzy checking (Toggle)
  432.         When checking for dupes (globally, not when adopting), T-Matic
  433. can check for "Near enough" dupe-checking. If toggled on, T-Matic will
  434. only compare the alphanumeric characters in the tagline. All punctuation
  435. and capitalisation are ignored. If you check your tagfile,
  436. chances are you'll have two or more tags that are very similar, but are
  437. missed by normal dupe-checking since they may have one character that's
  438. different. (An extra space, a capital letter or anything) Switch this on
  439. if you would like to remove these - there's a minimal speed difference,
  440. but it's really not worth worrying about.
  441.  
  442. 23. Trim trailing spaces (Toggle)
  443.         When dupe-checking, T-Matic will remove trailing spaces from all
  444. taglines. If a tagline has lots of spaces after it, then it will confuse
  445. T-Matic and it will often "wrap" it, forcing a second tagline which
  446. contains nothing. Best to leave it on.
  447.  
  448. ┌──────────────────────────────────────────────────────────────────────────────┐
  449. │                               USING Tag-O-Matic                              │
  450. └──────────────────────────────────────────────────────────────────────────────┘
  451.  
  452. Command-Line Options: (These must be added as the first argument, ie, before
  453. filenames.)
  454.  
  455. T-MATIC
  456.        Runs config if no  .CFG  file  is  found,  otherwise  just shows the help
  457. screen.
  458.  
  459. T-MATIC /?
  460.         Shows a complete list of arguments and syntax.
  461.  
  462. T-MATIC /C
  463.         Forces Tag-O-Matic to go into the config screen. See above.
  464.  
  465. T-MATIC /T letter.txt
  466.         Text reformatting. See section "REFORMATTING TEXT" for more info.
  467.  
  468. T-MATIC /L tagfile nn
  469.         Sort through the tagfile. It removes any taglines longer than nn
  470. characters and places them in the file LONGTAGS.TAG (appending if already
  471. present). A backup file OLDTAGS.TAG is created of the original tagfile.
  472. The length of the tagline is set by the right margin in Setup, this ensures
  473. that the tagfile contains no tagline that will wrap onto another line,
  474. ensuring the tagfile only contains taglines that will fit on one line.
  475.  
  476. T-MATIC /B bookfile letter.txt r_margin
  477.         Strange one this, you probably won't use it. It basically picks a
  478. random string from a textfile of r_margin characters long. Might be useful
  479. for quotations, if you're into that kind of thing.
  480.  
  481. T-MATIC /R tagfile datfile num_to_do
  482.         Based on an Amiga program, Spewtag. What it does is basically
  483. create taglines based on a template. A sample template is included
  484. (COUNTRY.DAT) which is clean (use your imagination here to create others).
  485. tagfile is the file to append new tags. datfile is the template file and
  486. num_to_do is the number of tags to create (up to 4 billion)
  487. Eg:
  488.         T-MATIC /R TAGLINES.TAG COUNTRY.DAT 2000
  489. Quick way to make huge tagfiles. Been tested up to a 75Meg tagfile
  490. (around 1 million taglines). Will run out of HD space before it dies.
  491. Note that no dupe-checking is done, so sort & run /D over it afterwards.
  492. Instructions on making datfiles are included in the file: SPEWTAG.TXT
  493.  
  494. T-MATIC /S letter.txt tagfile.tag
  495.         Puts Tag-O-Matic in thief mode. It will scan letter.txt and any taglines
  496. it finds will be appended to tagfile.tag. See TAG ADOPTION for more info.
  497. This can be used on certain non-JAM mailbases to globally steal taglines.
  498.  
  499. T-MATIC /U letter.txt
  500.         Tells Tag-O-Matic to remove any taglines from the message. Any line
  501. beginning with "... " will be removed. This doesn't remove any tagtool
  502. tearlines or kludges.
  503.  
  504. T-MATIC /F tagfile filterfile datfile
  505.         Filters taglines from (tagfile) to (filterfile). The file (datfile)
  506. contains the words to filter (one word per line format). There's a maximum
  507. of 20 words, and each word must be less than 20 chars in length. The
  508. effected taglines are NOT removed from the original tagfile (which isn't
  509. changed). It merely copies them across.
  510.  
  511. T-MATIC /D tagfile.tag
  512.      Checks tagfile for dupes. See DUPE-CHECKING for more info. Also does /K.
  513.  
  514. T-MATIC tagfile.tag letter.txt
  515.         Chooses a random tagline from tagfile.tag and appends it to letter.txt.
  516.      This is the normal command you'd use.
  517.                   (If Sigs are used, it will do that as well)
  518.  
  519. T-MATIC /J tagfile.tag echo_dir
  520.      JAMbase thief-mode. T-Matic will scan the  directory "echo_dir" for all jam
  521. .JDT files, and will append any  taglines  it finds into "tagfile.tag". If dupe-
  522. checking is turned on, it will also dupe-check and filter incoming taglines.
  523.  
  524. T-MATIC /G  (!GROUP)
  525.      To be run before the message.  Will  use the file T-MATIC.TEM for reference
  526. and match the !GROUP macro (supplied  by  Termail) to indicate sigfileSets and a
  527. tagfile. See below for more info.
  528.  
  529. T-MATIC /W (!MSG)
  530.         A stand-alone function. Will generate stats for that message.
  531. Usage T-MATIC /W messagefile  or the !MSG macro if calling from Termail.
  532.  
  533. T-MATIC /A (tagfile) (Otherfile)
  534.         Will append the contents of (otherfile) onto the end of (tagfile)
  535. quickly. Does not delete (Otherfile) when done.
  536.  
  537. (Following two are Termail 3.0+ specific)
  538.  
  539.   T-MATIC /O origins.txt
  540.   T-MATIC /M moods.txt
  541.         These two work very much alike. Basically, they pick a random
  542. origin or mood line (up to 55 and 25 characters long respectively) from the
  543. .txt file and replace any origins or moods in TM.CFG. Simply make a text
  544. file with all your origins or moods - one per line (just like a tagfile)
  545. and run this before Termail is loaded. It uses the same tag-choosing engine
  546. as everything else, but is forced into slow mode (so it actually works
  547. faster on the relatively small sized origin/mood files).
  548.  
  549.  IMPORTANT! Since this changes TM.CFG directly, you are well advised to
  550. make a backup first. T-Matic will make a new backup [TMCFG.BAK] every time
  551. this is run, but nothing can beat a hand-copied one for peace of mind.
  552.  I've been using these functions every day for about six months, and it
  553. hasn't screwed with the config yet, so I think they're pretty safe, but use
  554. at your own risk.
  555.  
  556. The format for the finished tagline is thus:
  557.  
  558. Line 1: The randomly chosen tagline from the tagfile, with a "... " prefix.
  559. Line 2: Program banner, and if found, registration stuff.
  560.  
  561. An example:
  562. --------------------------------------------------------------------------------
  563. Line 1:
  564. ... "Bother," said Pooh, as Christopher Robin shut the washing machine door.
  565.  
  566. ^^^^     ^      ^         ^      ^            ^          ^        ^     ^
  567.  └ Tagline prefix.                            └ The tagline
  568.  
  569. Line 2:
  570. ~~~ Tag-O-Matic v.?.?  (115) Taglines  Registered to: Simon Avery
  571. ^^^ ^^^^^^^^^^^^^^    |                |
  572.  |    Program ID.     ^                ^ Optional registration string.
  573.  └Prefix.             └ Number of lines in tagfile (If selected)
  574.  
  575.  
  576. If Lottery is enabled, then Line 2 will become line 3, and the lottery
  577. line will replace Line 2. Or something.
  578.  
  579. --------------------------------------------------------------------------------
  580.  
  581.  If you are using sigs (more on this later), Tag-O-Matic will choose a random
  582. sigfile and append it to your message file _before_ it does the tagline.
  583.  
  584.  If you are using a big  tagfile,   there   will  be a short pause whilst Tag-O-
  585. Matic counts the lines in it.   However,   the  pause  is  quite  short compared
  586. to some tagtools. If the tagfile hasn't been changed since the last time T-Matic
  587. was run, it doesn't need to re-count all the taglines. With 8.5, T-Matic uses a
  588. seperate index file for each tagfile. These are created automatically, and
  589. updated whenever the tagfile has been changed. A full recount is only
  590. needed if the tagfile has either shrunk, or it's been updated 10 times (so
  591. it doesn't get out of line). If it's grown, then it only counts the new
  592. taglines so is much faster.
  593.  
  594.  Ie. A tagfile of 12000 lines, running on a 386sx25 and picking, say, line 5000,
  595. would take  around  4-5  seconds in slow mode.  Bluewave's  internal  tagline
  596. selector takes approximately three times that.
  597.  With FAST tag picking, it's actually quicker on a large file. On a
  598. smallish file (say, lesser than 100 taglines) it'll be slow and it's recommended
  599. you use SLOW tag picking for that. V.11 will switch automagically if the
  600. tagfile is of the wrong size.
  601.  
  602.  You can list all options by typing T-MATIC /?
  603.  
  604. Use:         T-MATIC tagfile.tag letter.txt
  605.  
  606.  Where "tagfile.tag" is your ascii file of taglines.
  607.  And "letter.txt" is the letter you want to add a tag to.
  608.  
  609.  If sigs  are  to be used, they will also be added.
  610.  
  611. See the enclosed file: INSTALL.TXT for more info on installing T-Matic.
  612.  
  613. Long taglines.
  614.      V.9.0 Tidies up T-Matic's approach to long (greater than 70 char)
  615. taglines. It will split each line and output it with the tagline precursor,
  616. wrapping words etc.
  617.         To use this, each tagline should be on a line of its own in the
  618. tagfile, and should be less that 2048 characters long. (We have to have some
  619. limits) An example tagfile: LONGTAGS.TAG is supplied. Multi-lined taglines are
  620. banned from most Fido echo's.
  621.  T-Matic cannot steal multi-line taglines, unless each line has
  622. its own tagline precursor "... ". If so, then you will have to reformat each
  623. tagline manually.
  624.  
  625. The Prompt Menu:
  626.  With v.7+, there's a rather fancy prompt menu that is displayed at the
  627. time of execution. Scroll through the options with
  628. the arrow keys and select with SPACE or ENTER.
  629.  The options are thus:
  630.  
  631. A) Accept current tagline.
  632.      You're happy with the displayed tag, so press and it'll use that tagline
  633. in the message.
  634.  
  635. B) Pick another random tagline.
  636.      As it says, it'll select another tagline.
  637.  
  638. C)* Manually enter your own tagline.
  639.      if you want a tagline that fits in with the message, or you want to
  640. add a pithy one-liner at the end in the guise of a tagline, then select
  641. this. You can then type in your tagline (up to 76 characters).
  642.  
  643. D) No tagline at all. (Or press ESC)
  644.      No tagline, no tearline and no TAGID will be added to the message (just
  645. as if T-Matic had never been run). Useful if you are writing Areafix netmails
  646. or serious letters.
  647.  
  648. E) Kill this tagline.
  649.      If the randomly selected tagline is rude, unsuitable or quite simply
  650. unfunny and you don't want it in your tagfile, select this. It will remove
  651. the tagline (and any duplicates) from your tagfile.
  652.  
  653. F) Toggle alternative sigfile.
  654.      Switch between SIGFILE.nnn and ALT_SIG.nnn. See "Sigfiles" for more info.
  655.  
  656. G) Use another tagfile
  657.      Prompts for the filename of another tagfile. Could be useful if you have
  658. separate tagfiles for different areas, and have a tagfile specifically suited
  659. to the topic of an echo. Once changed, T-Matic will use that tagfile for it's
  660. random selections.
  661.  
  662. H) Search for string.
  663.      Prompts for a string. Type in the word or phrase to look for, and T-Matic
  664. will search the tagfile for any tagline that has that phrase in it. No longer
  665. Case-Sensitive, and will keep picking up the next match until you're happy. If
  666. it reaches the end of the file before it finds a match (or the next match),
  667. it'll use the catchy tagline: "Error getting tag from tagfile!"
  668.  
  669. I)* Edit this tagline.
  670.      You can edit the currently selected tagline.
  671.  
  672. J) Reverse tagline.
  673.         Simply converts the current tagline so that it reads backwards.
  674.  
  675. F2)! - Allows you to edit your T-MATIC.TEM template file.
  676. F3)  - Toggles lottery numbers on/off just for this message.
  677. F4)! - Allows you to re-edit your message.
  678.  
  679. * Denotes that with these selections, a box pops up asking whether you want
  680. to save this tag to the current tagfile. No dupe-checking is done at this
  681. point.
  682.  
  683. ! The DOS program, EDIT must be pathed for this to work.
  684.  
  685. ALT+J shells to DOS.
  686.  
  687. ┌──────────────────────────────────────────────────────────────────────────────┐
  688. │                          USING PERSONALISED MACROS  (V.8.2+)                 │
  689. └──────────────────────────────────────────────────────────────────────────────┘
  690.  
  691. If "Use Macros" is toggled on in Setup, T-Matic will search the selected tagline
  692. for certain codes, and will replace them with other info.
  693.  
  694. The codes are:
  695.  
  696. @F First name
  697. @L Last name
  698. @N Full name (first and last)
  699. @B Inserts a new line.
  700. @D Current Date. (In numeric or alpha format, depending on the toggle in Setup)
  701. @T Current Time. (hh:mm:ss)
  702. @R The registered string.
  703.         Note  that  even  if  "Use Registered To" is toggled off, then these
  704.         will still appear.
  705. @Q Quoted Pct. (Expands into "nn%", the amount of quoted text in the message)
  706. @X Name of the sigfile.
  707.         If used in a tagfile, it expands into the filename
  708.         of the sigfileset selected. If used in a sig, it also includes the
  709.         full filename and extension.
  710. @Z Name (Full path) of the tagfile used.
  711. @P Number of tags in the tagfile. (Expands to number only)
  712.  
  713. Eg. A tagline saved as and used on a message to Fred Bloggs:
  714.  Howdy, @F! Do you like my tagline?
  715.  
  716. Would be translated to:
  717.  Howdy, Fred! Do you like my tagline?
  718.  
  719. Now, you need to make some changes to  your template so that when the message is
  720. saved by the mail editor, it puts the  person's  name on the very first line. T-
  721. Matic reads this line, and deletes it from the message. If the first word is NOT
  722. "~NAME" then T-Matic will not delete that line, although it will attempt to take
  723. the name from the line anyway. It  will  print  a warning, but won't abort. This
  724. may make any personalised tags incorrect, so keep your eyes peeled?
  725.  
  726. So, in Termail for example. If you template was:
  727.  
  728. MsgStart    Howdy @F!
  729.  
  730. Change it to:
  731.  
  732. MsgStart    ~NAME @F @L@CRHowdy @F!
  733.  
  734. (~NAME First name, last name, new line, normal greeting.)
  735.  
  736. (Please also check out INSTALL.TXT for more info)
  737.  
  738. If your mail editor doesn't allow for this, and you want to use personalised
  739. tags, then you must enter the person's  name manually when you edit the message.
  740. If this is the case, you might find it better to do without macros.
  741.  
  742. NEW! Version 8.3 extends Macro support  to  sigfiles.  All the macro's above are
  743. available in your sigfiles. Just toggle  "Use  Macro  in  sigs" on in Setup, and
  744. experiment.
  745.  
  746. Here's an example of a raw sigfile.
  747.  
  748.       .-.                   To: @N
  749.     .-. |                   First Name: @F
  750.   .-. | |                   Last Name: @L
  751.   | | | | ___               Time: @T
  752.   | | | |/ _ \      ___     Date: @D
  753.   |       /o\_'| |.' o `.   Registered String: @R
  754.   |       \=/ /| | `___'
  755.    \      ___/ /  \
  756.     \____/    (`__')
  757.  
  758. When processed, T-Matic will change it to something like: (In a message to
  759. Fred Bloggs)
  760.  
  761.       .-.                   To: Fred Bloggs
  762.     .-. |                   First Name: Fred
  763.   .-. | |                   Last Name: Bloggs
  764.   | | | | ___               Time: 18:42:35
  765.   | | | |/ _ \      ___     Date: Fri 29 Dec 1995
  766.   |       /o\_'| |.' o `.   Registered String: Registered To: Binky
  767.   |       \=/ /| | `___'
  768.    \      ___/ /  \
  769.     \____/    (`__')
  770.  
  771.  
  772. Included in the archive is an example sigfile, called SIGFILE.1
  773. This should give you something to play with.
  774.  
  775. ┌──────────────────────────────────────────────────────────────────────────────┐
  776. │                        USING Tag-O-Matic with Termail                        │
  777. └──────────────────────────────────────────────────────────────────────────────┘
  778.  
  779. Please see the file INSTALL.TXT for full details.
  780.  
  781.  
  782. ┌──────────────────────────────────────────────────────────────────────────────┐
  783. │                                 TAG-ADOPTION                                 │
  784. └──────────────────────────────────────────────────────────────────────────────┘
  785.  
  786. (Hot-key single-message stealing)
  787. Although primarily designed for Termail, I see no reason why T-Matic won't
  788. adopt tags from other programs provided they allow for a macro and also
  789. export the current message when allowing for an external program to be run.
  790.  
  791. NB. T-Matic only adopts "standard" taglines. Ie, those with the most common
  792. tag-precursor: "... "  Note that when T-Matic successfully adopts a tag,
  793. it will strip the first four characters (ie, the "... ") before appending
  794. it to your tagfile. It works in a very similar method to Bluewave's
  795. internal tag-stealer. It will also steal tags done with TmNice which use
  796. the ".!." precursor.
  797.  
  798. T-Matic will also check your tagfile for a duplicate of the tagline it's
  799. currently stealing, (if enabled) and if found, will not add it to your tagfile.
  800.  
  801. Use:         T-MATIC /S tagfile.tag letter.txt
  802.  
  803.  Where "letter.txt" is the ascii file containing the taglines you want to steal,
  804. and "tagfile.tag" is the file you want them to end up in.
  805.  
  806.  
  807. Configuring Termail for auto tag-steal:
  808. ---------------------------------------
  809.  
  810. (See INSTALL.TXT)
  811.  
  812. JAM message bases
  813. =================
  814.  
  815.  With version 8.0, T-Matic adds multiple tag-stealing from multiple JAM
  816. message bases. Automatically! This means, that rather than manually adopting
  817. likely-looking tags from your messages, you can run T-Matic in "Klepto" mode
  818. once a week, or whatever, and it will steal all the taglines in your message
  819. base!
  820.  
  821. To run, simply type:
  822. T-MATIC /J {tagfile.tag} {echo_directory}
  823.  
  824. tagfile.tag is simply the name of your tagfile.
  825. echo_directory is the echo that houses your JAM message base.
  826. Eg. My echo base is in C:\TERM\TERMAIL\ECHO, and my tagfile is TAGS.BW.
  827.  
  828. I'd run:
  829. T-MATIC /J TAGS.BW \TERM\TERMAIL\ECHO
  830.  
  831. (Note that full path is not needed, but easier to explain)
  832.  
  833. T-Matic will search every file in that directory that has the .JDT file
  834. extension (message text) and grab any tagline that looks likely.
  835.  
  836. With Termail, you'll probably have two or three directories, such as
  837. ECHO, NETMAIL or SAVEAREA. You'll have to run T-Matic three times to
  838. grab all these.
  839.  
  840. NB. if T-Matic is configured to "Check for dupes", then it will do this
  841. when mass-stealing. Note that this can slow down operation by a huge amount
  842. (with big tagfiles especially). If you have a large tagfile, then it could
  843. be wise to copy the tagfile onto a ramdrive, or have a large disk cache
  844. to soak up all the searches of the tagfile. I've no intention of loading
  845. the entire tagfile into memory to speed it up, since that would make things
  846. complicated to the user, and reduce the simplicity of T-Matic. If you don't
  847. like it, tough! It also  scans  TO-KILL.TAG  and filters any taglines containing
  848. any strings found in that. (Swearwords, Blue Wave, etc)
  849.  
  850. BTW, test on my DX4-100, with a 5000 line tagfile, and scanning 85 jambases
  851. (around 10,000 messages), and WITH dupe-checking on, T-Matic took around
  852. 2 minutes.
  853. Without dupe-checking, it took around 20-30 seconds.
  854.  
  855. If you toggle (Adopt to alternative tagfile) then instead of appending the
  856. new taglines onto the tagfile supplied on the command-line, T-Matic will
  857. create or append a file called PROCESS.TAG with all the new taglines.
  858.  
  859. I'd recommend using dupe-checking unless you have a very slow computer,
  860. or are just trying to get a tagfile started.
  861. With V.8.2, the file TO-KILL.TAG is also checked. If any of those strings
  862. are contained in the new tagline, it is discarded. See FILTERING for more
  863. info on the TO-KILL.TAG file.
  864.  
  865. Remember that you can always sort and dupe-check your tagfile afterwards!
  866.  
  867. Hudson Message Base stealing
  868. ============================
  869. Works in much the same was as JAM (except use /H instead of /J) but works
  870. on a single file, called MSGTEXT.BBS. Untested at the mo - any feedback
  871. welcome. (I don't run Hudson, and can't find a beta-tester who does)
  872. Briefly tested on a single Hudson message base, and missed several
  873. taglines. I don't know why, but it does. I put my money on it being
  874. the pixies.
  875.  
  876. ┌──────────────────────────────────────────────────────────────────────────────┐
  877. │                                  FILTERING                                   │
  878. └──────────────────────────────────────────────────────────────────────────────┘
  879.  
  880. V.8.9
  881. (Option now covered by /D, but left in 'cos it explains about the TO-
  882. KILL.TAG file.)
  883.  
  884. Usage:
  885. T-MATIC /K tagfile.tag  (/K no longer supported. See /D)
  886.  
  887. This feature will allow you to delete taglines with certain words in them.
  888. These could be swearwords or whatever. To do this, you need to create a
  889. separate file with your text editor with the words on them.
  890. Enter each word on it's own line, and make sure there are no trailing spaces.
  891. There's a maximum of 20 words/lines.
  892.  
  893. Eg:
  894. ----------------
  895. Flip
  896. Heck
  897. Blue Wave
  898. ----------------
  899. (Obviously, I don't want to use proper swear-words here...)
  900.  
  901. Save this file as TO-KILL.TAG
  902.  
  903. Now, run "T-Matic /k tagfile.tag". T-matic will search every tagline and if
  904. it contains one of the words in TO-KILL.TAG it will be rejected. Other tags
  905. are retained.
  906.  
  907. The file TO-KILL.TAG is NOT deleted after use, so you can periodically
  908. check your tagfile for the same words by macro, if you want to.
  909.  
  910. Also, with V.8.2, this file is checked when adopting taglines (provided
  911. "Check Dupes" is enabled). This screens any new taglines. Also used with
  912. dupe-checking, so the /K switch is almost reduntant - the /D switch does
  913. both dupe-checking and filter-checking.
  914.  
  915. ┌──────────────────────────────────────────────────────────────────────────────┐
  916. │                                   TAGFILE                                    │
  917. └──────────────────────────────────────────────────────────────────────────────┘
  918.  
  919. T-Matic uses "Raw" tagfiles. That is, one  tagline  = one line of text. The line
  920. can be up to 2048  characters  long  (any  more  and  they'll be chopped)
  921. and can contain  any  ascii  (hi,lo  or   mid)   characters.   See  the
  922. enclosed  files (TAGLINES.TAG and LONGTAGS.TAG) for examples.
  923.  
  924. Maximum Tagfile Size
  925. --------------------
  926.  
  927. Your tagfile can be any size. Theoretically, it can contain up to 4 billion
  928. taglines. However, in version < 9.92b, any taglines higher than 32,000 wouldn't
  929. be picked. They still won't be picked unless Fast tag-picking is enabled.
  930. With v.11, T-Matic switches to FAST tag picking if the tagfile's > than
  931. 30,000 lines automatically.
  932.  
  933. Big Tagfiles.
  934. -------------
  935.  Presently (2  February  1996)  my  main  tagfile  is  around  1.3Meg  in  size,
  936. containing over 27,000 non-duplicated taglines.  You  probably won't want such a
  937. large tagfile, but if you do, T-Matic can evolve to suit you. I do have
  938. another tagfile of 33Meg in size, and my beta tester is quite happily using
  939. a tagfile of 75Meg in size (over a million taglines). He tells me that T-
  940. Matic picks a random tagline instantly. Sounds good to me.
  941.  As of v.9.3, there is an added option: Fast Tag Picking. Turn this on for any
  942. large tagfiles.
  943.  
  944. ┌──────────────────────────────────────────────────────────────────────────────┐
  945. │                                DUPE-CHECKING                                 │
  946. └──────────────────────────────────────────────────────────────────────────────┘
  947.  
  948. T-Matic will automatically check newly entered taglines for duplicates when
  949. it adopts them. (If enabled in Setup).
  950. However, if you already have a large tagfile and it contains some dupes,
  951. then T-Matic can help you out.
  952.  
  953. This feature is not as developed as it could be (for size reasons), but
  954. works well, PROVIDED you have sorted the file into alphabetical order first.
  955.  
  956. Sorting the tagfile, prior to checking it for dupes:
  957. ----------------------------------------------------
  958.  
  959. Dos contains a utility called SORT. (Run HELP SORT for more info)
  960. This is fine for small files, and is run with the syntax:
  961.  
  962. SORT <TAGFILE.TAG >SORTED.TAG
  963.  
  964. This will create the file SORTED.TAG which contains all the taglines from
  965. TAGFILE.TAG but in alphabetical order.
  966.  
  967. On large files, SORT runs out of memory. There are other tools around,
  968. notably CUSORT, which can cope with much larger files and it might be
  969. worth seeking these out if you intend to sort a large file. Some word
  970. processors also allow alphabetical sorting of text files too.
  971.  
  972. Addendum: Under DOS 7.00 (Windows 95), DOS's sort prog doesn't appear
  973. to run out of memory. I've tested it on a 33Meg tagfile and although it
  974. took forever, it did work.
  975.  
  976. Once sorted, you can run T-Matic.
  977.  
  978. Usage: T-MATIC /D tagfile.tag
  979.  
  980. This will check every line against the previous one. If they match, the
  981. later version is discarded. It's fast, but it's not particularly clever.
  982. It works, though. It also scans tags for "filtered" words, contained in the
  983. file TO-KILL.TAG, see the above section for more info.
  984.  
  985. ┌──────────────────────────────────────────────────────────────────────────────┐
  986. │                              REFORMATTING TEXT                               │
  987. └──────────────────────────────────────────────────────────────────────────────┘
  988.  
  989. With version 9.9+, T-Matic will now reformat text prior to (or after)
  990. editing.
  991.  
  992. You may have noticed (and if you've used Termail, you can't have failed to)
  993. that some mail programs, when they create the dropfile when you reply to a
  994. message they wrap long lines messily.
  995.  
  996. Eg. A paragraph from a message. Prior to reformatting.
  997.  
  998.  SA> This is a long line that's been mutilated by the message editor and
  999.  SA> makes
  1000.  SA> it very hard to read, if you see what I mean.
  1001.  
  1002. After reformatting, it'll read something like this:
  1003.  
  1004.  SA> This is a long line that's been mutilated by the message editor and
  1005.  SA> makes it very hard to read, if you see what I mean.
  1006.  
  1007. Much nicer.
  1008.  
  1009. I've only seen one other program that does this, TmNice. However, that
  1010. reformats all the text, and needs templates to stop it reformatting your
  1011. header and sig. T-Matic, on the other hand, ONLY reformats quoted
  1012. paragraphs, so you don't need to worry about templates or anything like
  1013. that. This also means you can re-edit a message without the formatter
  1014. scrunching what you've already done.
  1015.  
  1016. Of course, it's not infallable. Some text, such as Ascii drawing, or
  1017. source files are best left unformatted. So, when T-Matic reformats a
  1018. message, it creates a file of the original.
  1019.  
  1020. Ie, a message called TM.MSG would be reformatted, and the original saved
  1021. as TM.BAK
  1022. Then, if your message is too scrunched, just load in the original.
  1023. Of course, if you're running a decent editor, you can edit the mailer
  1024. program so that it calls the editor and loads both the original and the
  1025. formatted copies.
  1026.  
  1027. Ie, with Protext, running it with the command:
  1028.  
  1029. PROTEXT TM.MSG TM.BAK
  1030.  
  1031. Will load the reformatted message as primary, and the original as the
  1032. alternative file.
  1033.  
  1034. See INSTALL.TXT for details on running.
  1035.  
  1036. ┌──────────────────────────────────────────────────────────────────────────────┐
  1037. │                                USING SIGFILES                                │
  1038. └──────────────────────────────────────────────────────────────────────────────┘
  1039.  
  1040. What is a sigfile? Stands for "SIGnature"  or "SIGn-off". Basically, you can put
  1041. it at the end of your email.
  1042.  
  1043. It could be a short one like:
  1044.  
  1045. --------------------------------------------------------------------------------
  1046. Yours sincerely,
  1047.                 Joe Bloggs
  1048. --------------------------------------------------------------------------------
  1049.  
  1050. Or it could be a long one like:
  1051.  
  1052. --------------------------------------------------------------------------------
  1053.  .,:;. .,:;***%***%***%***%*;:,. .,;..:,. .,:;*%***%***%**;:,. .,:;,.
  1054.  .,:;)o          .,ad88888ba,.      o);:,.                     .,:;)o
  1055. .,:;(o       .,ad8888888888888a,   o(;:,.  Better to burn out .,:;(o
  1056.  .,:;)o     d8P"""98888P"""98888b,  o);:,. than to fade away.  .,:;)o
  1057. .,:;(o      9b .. d8888,    `9888B o(;:,.               -Kurt .,:;(o
  1058.  .,:;)o   ,d88aaa8888888b,,,d888P'  o);:,,,,... ..  .  .. ...,,,,:;)o
  1059. .,:;(o   d8888888888888888888888b  o(;:,.      Sean Green     .,:;(o
  1060.  .,:;)o d888888P""98888888888888P   o);:,.                     .,:;)o
  1061. .,:;(o  88888P'    9888888888888   o(;:,.internet address here .:;(o
  1062.  .,:;)o `98P'       9888888888P'    o);:,.                     .,:;)o
  1063.   .,:;. .,:;***%***%*`"9888P"':,. .,;..:,. .,:;**%**%***%**;:,. .,:;,.
  1064. --------------------------------------------------------------------------------
  1065. (Thanks Sean...)
  1066.  
  1067.  Tag-O-Matic allows  up  to  255  separate  sigfiles,  and  each  one  should be
  1068. contained in it's own file.
  1069.  For example, say you had three sigs you wanted to use on a random basis.
  1070.  
  1071. Save them as SIGFILE.1, SIGFILE.2, SIGFILE.3 (etc) and type
  1072. T-MATIC /C to enter the config screen. Change "Number of Sigs" to 3.
  1073.  
  1074.  That's it. Now, whenever you run Tag-O-Matic  to  add a tagline, it will pick a
  1075. random sigfile between 1 and 3 (or whatever)  and append it to your message
  1076. file.
  1077.  
  1078.  N.B. I take no responsibility for you  getting an official warning from an echo
  1079. moderator. Extended sigs are banned  from  a  lot  of  the Fido echo's, so check
  1080. first. (Yeah, right!)
  1081.  
  1082. NEW! (With v.4.0)
  1083.  Tag-O-Matic  now  supports  an  alternative  set  of  sigfiles.  I  found  this
  1084. necessary when using the  same  copy  of  Tag-O-Matic  with various networks of
  1085. which some allows extended sigs, and some did not. Hence...
  1086.  
  1087. When run, Tag-O-Matic now searches for a file called "DO_ALT.SIG". This is
  1088. still supported in V.7.0, but you can also specify alternative sigs from
  1089. the prompt menu.
  1090. If found, it will change into  Alternative  sig  mode. The normal rules for sigs
  1091. apply, but the new set uses the filenames "ALT_SIG.n" rather than "SIGFILE.n".
  1092.  This can be quite useful  if  you  are  using  the  one copy of Tag-O-Matic for
  1093. various echo's, and some of them allow  for  extended  sigs. The best way to use
  1094. this feature in practice is to define a macro in your Word Processor (Protext is
  1095. ideal). Ie, ALT-S to save normally. And ALT-Z to save with extended sigs.
  1096.  
  1097. Ie. ALT-Z does:
  1098. SAVE TM.MSG (change to suit your mailer's dropfile)
  1099. SAVE DO_ALT.SIG (Save the same file as DO_ALT.SIG, just so it exists)
  1100. QUIT (Reverts back to batch file/mailer which calls Tag-O-Matic)
  1101.  
  1102. Tag-O-Matic, if it finds DO_ALT.SIG will  change  into that mode, and delete the
  1103. file when it has finished. Hence, it is very important you don't put anything of
  1104. value into that file.
  1105.  
  1106. With version 8.4, T-Matic can now be run before the editor to correctly
  1107. set your tagfile and sigfile for that group.
  1108. A new file is supplied, T-MATIC.TEM, a sample template file for this feature.
  1109. Have a look at it, it's fairly self-explanatory.
  1110. Edit it in the format:
  1111.  
  1112. Groupname (Max. 8 chars)   SigfileSet   Tagfile Comment
  1113.  
  1114. Eg:
  1115.  
  1116. %─Group┬─Sigfiles──┬─────Tagfile─────────────────┬──Comment (Unused)─────────┐
  1117. B_BAR   BAR-SIG     BARNET.TAG                    BarNet from BackYard
  1118. S_FIDO  SIGFILE     TAGS.BW                       Fidonet from Satellite
  1119.  
  1120. The first is the name of the group. This MUST be in capital letters, as Termail
  1121. will export it that way.
  1122.  
  1123. The second is the filename (Note, no extension - allowing for random sigfiles
  1124. means that the numerical extension (1 to the limit set in Setup) is added
  1125. automatically, along with the "." seperator.
  1126.  
  1127. The third is the name of the tagfile for that group.
  1128.  
  1129. The forth is simply a comment so you can remember which is which.
  1130.  
  1131. Now, you must again edit TM.CFG. Hunt through for the BeforeEdit string.
  1132.  
  1133. Change this to:
  1134.  
  1135. BeforeEdit    T-MATIC /G !GROUP
  1136.  
  1137. T-Matic will search the template file, T-MATIC.TEM for a match to the supplied
  1138. group. If it finds it, it will create a small file; T-MATIC.DIT containing the
  1139. new sigfileSet and tagfile names. This will be loaded when T-Matic is run after
  1140. the message and will default to the new names, over-writing any supplied tagfile
  1141. on the command line. T-MATIC.DIT is then deleted.
  1142.  
  1143.  Also worth remembering, since this  feature  was  added-on as an after-thought,
  1144. there must be an equal number  of  sigfiles  of  each  type.  So if you set your
  1145. number of sigfiles up as 10 in the config screen, there must be 10 SIGFILE.n's
  1146. and 10 ALT_SIG.n's. If you don't like this, you can get a complete refund of all
  1147. monies received from you for the use of this program...
  1148.  
  1149. ┌──────────────────────────────────────────────────────────────────────────────┐
  1150. │                                UPGRADING                                     │
  1151. └──────────────────────────────────────────────────────────────────────────────┘
  1152.  
  1153. If you're already using an older version of Tag-O-Matic, then upgrading is
  1154. fairly simple. Read the HISTORY.TXT file to see what new features you've
  1155. now got, and these docs for further enlightment.
  1156. Now, run T-MATIC /C
  1157. (If an older, non-compatible config file is found, it will ask you if it's
  1158. Ok to delete and start anew)
  1159. Toggle on anything that looks fun and ESCape to save and quit.
  1160.  
  1161. You might want to test T-Matic on a small dummy message just to see that it
  1162. does what you want.
  1163.  
  1164. ┌──────────────────────────────────────────────────────────────────────────────┐
  1165. │                                   PROBLEMS                                   │
  1166. └──────────────────────────────────────────────────────────────────────────────┘
  1167.  
  1168. T-Matic has proved reasonably popular, and a few people have asked for help.
  1169. I'll try to outline one or two of the most common problems, and their solutions.
  1170.  
  1171. Q. Why do I get a space before the tagline pre-cursor?
  1172. A. Your message ends, not with a newline character, but with a space. Since
  1173. T-Matic appends to the very end of a message, the last character should be a
  1174. newline. If you are using Sigs, then your sig could have the trailing space.
  1175. Version 7.0 stopped this problem.
  1176.  
  1177. Q. When I reply to a message in another echo, or netmail in Termail, the
  1178. macro's don't work.
  1179. A. 'Cos Termail puts a line above your ~NAME entry in the message. V.11
  1180. checks the second line also, to get around this.
  1181.  
  1182. Q. T-Matic appears to work, but nothing seems to be added to the message.
  1183. A. 1. Is it appending to the correct file?
  1184.    2. Your editor is appending the ascii character 27 (common amongst older
  1185. editors that couldn't use an End-Of-File character. TED is a prime example).
  1186. Sometimes this stops message-viewers dead, and anything below that is
  1187. ignored. Change editors or find a way to stop it doing that.
  1188.  
  1189. Q. When I change a message, T-Matic keeps adding taglines each time.
  1190. A. It doesn't any more. V.6.5 fixes it.
  1191.  
  1192. Q. When I change a message, T-Matic doesn't add another tagline, but does add
  1193. the TAGID kludge.
  1194. A. Version 7.0 fixed that.
  1195.  
  1196. Q. T-Matic takes too long picking a tagline.
  1197. A. Are you kidding? T-Matic is probably the fastest raw-tagfile tagline
  1198. selector around! Compare it to other tagtools and stop moaning!
  1199.  
  1200. Q. T-Matic appends my entire tagfile to the message before I even get
  1201. a chance to edit it!
  1202. A. Kevin, you set it up wrong in Termail...
  1203.  
  1204. Q. The macro's don't work!
  1205. A. Check the message has "~NAME (Their name)" on the very first line.
  1206.  If it doesn't then play around with your templates again. Enable "Macro"
  1207.  in Setup, and if it still doesn't work, drop me a netmail with the relevant
  1208.  bit from your TM.CFG file. (Ie, the templates, and the "BeforeEdit" and
  1209.  "AfterEdit" bits.
  1210.  
  1211. Q. The macro string "~NAME ..." gets munched, or disappears.
  1212. A. Are you using TmNice? That can confuse things mightily. Also, make sure
  1213.  you have changed all the templates. It is NOT recommended that you use
  1214. TmNice with T-Matic, since T-Matic now has it's own text reformatter which
  1215. doesn't scrunch unquoted text.
  1216.  
  1217. If you have a genuine problem, drop me a netmail at one of the above
  1218. addresses and I'll do my best to help you out.
  1219.  
  1220. ┌──────────────────────────────────────────────────────────────────────────────┐
  1221. │                                WHY REGISTER?                                 │
  1222. └──────────────────────────────────────────────────────────────────────────────┘
  1223.  
  1224.  Well, cos basically it costs you nothing, and you can do it in a few seconds...
  1225.  
  1226.  How to register Tag-O-Matic in three easy steps:
  1227.  
  1228. 1. Type T-MATIC /C
  1229. 2. Change the user name to your own name.
  1230. 3. Toggle option 1. (Use registration Info?), ESC to save and quit.
  1231.  
  1232.   That's it! When Tag-O-Matic runs it will now add "Registered to: Yourname"
  1233. at the end of the banner. Simple huh?
  1234.  
  1235.  You can also change the "Registered to: " string if you want to. Something like
  1236. "Owned by:". Or, if you really want  to  be  nice, you could change both so that
  1237. they read "The Best TagTool around!"....
  1238.  
  1239. You don't need to send me any money,  but I would appreciate a netmail to
  1240. say you're using it. Send it to the addresses at the top. You can also send
  1241. any bug-reports or new ideas to those addresses.
  1242.  I collect taglines (Surprise!) so if you like it, please send me your
  1243. tagfile! MIME, uuencoded or file-attached via email or netmail. (Addresses
  1244. at the top)
  1245.  Another way you could show your appreciate :) is to upload T-Matic to a BBS
  1246. or FTP site, or even onto a filebone.
  1247.  After all, what's the point of writing a program if nobody's going to use it?
  1248.  
  1249.  'Course, that's not to say  that  if  you  feel  strangely compelled to send me
  1250. money, I won't turn it away...
  1251.  
  1252. ┌──────────────────────────────────────────────────────────────────────────────┐
  1253. │                                TWIT FILE                                     │
  1254. └──────────────────────────────────────────────────────────────────────────────┘
  1255.  
  1256. There's a file included in the archive called T-MATIC.NAM. What this does,
  1257. basically, is setup specific tagfiles and sigfileSets for use with certain
  1258. people. Useful if you want to goad someone with a particular setup.
  1259.  
  1260. This only works if "Use Macros" is enabled, and you've got your mail
  1261. software correctly setup so that T-Matic can grab the user's name.
  1262.  
  1263. Unlimited entries, just keep to the template.
  1264.  
  1265. %─F Name─┬─L Name──────┬─Tagfile──────┬─Sigfile────┬──Comment────────────────┐
  1266. Simon     Avery         BESTTAGS.TAG  HI_SIMON     For the author of T-Matic!
  1267.  
  1268. For this example, if you wrote a message to me, T-Matic would use the
  1269. tagfile "BESTTAGS.TAG" and use the sigfileSet HI_SIMON.nn (if defined).
  1270.  
  1271. Great for winding up your enemies. >')
  1272.  
  1273. ┌──────────────────────────────────────────────────────────────────────────────┐
  1274. │                       TECHNICAL STUFF (AND BOASTING!)                        │
  1275. └──────────────────────────────────────────────────────────────────────────────┘
  1276.  
  1277.  Tag-O-Matic has been tested on tagfiles over 1 million lines in length
  1278. and works considerably faster than most, if not all, tagtools. It should
  1279. handle anything up to 4 billion taglines, so there's no reason why you
  1280. have to worry about the size of the tagfile at all Just make
  1281. sure you've got enough disk space!
  1282.  
  1283. 4,294,067,295 lines long.  It's very unlikely  that  you'll  ever get that big a
  1284. tagfile, because even if there were that many taglines in the world, and even if
  1285. your hard disk was big enough, you'd probably fall asleep before Tag-O-Matic got
  1286. to the end of the file... (It's fast, but it's not *that* fast!)
  1287.  There was a bug in versions earlier than 8.0 that would never pick a
  1288. tagline if it was on line 32,000 or more. Now fixed.
  1289.  
  1290.                                How it works
  1291.                                ============
  1292.  
  1293.                             (Not telling you!)
  1294.  
  1295. Other bits.
  1296.  
  1297.  If any programmer wishes to incorporate the code for T-Matic into their
  1298. own program, then Turbo C source code is for sale. Netmail me for more
  1299. details.
  1300.  If any programmer wishes to recommend T-Matic for use with their mailer
  1301. or similar program, please netmail me first. I'll probably be extremely
  1302. happy to permit this, but I'd like to know first. Note that T-Matic can
  1303. NOT be bundled with software unless written permission from me has been
  1304. given.
  1305.  
  1306.  All code, executables and document files are copyright 1995-96 by Simon
  1307. Avery. No changes can be made in any way, shape or form without WRITTEN
  1308. permission from me.
  1309.  
  1310. Simon Avery 4 August 1996
  1311.  
  1312. ┌──────────────────────────────────────────────────────────────────────────────┐
  1313. │                                   CREDITS                                    │
  1314. └──────────────────────────────────────────────────────────────────────────────┘
  1315.  
  1316.  Borland International Ltd for their excellent C/C++ compiler.
  1317.  Arnor for their perfect word processor, Protext.
  1318.  Me, for writing the bloody thing.
  1319.  Those nice chaps in Fidonet's C_ECHO for answering my questions, and not once
  1320.      telling me to shut up!
  1321.  Some bloke in the Barnet echo's for the idea of the Lottery thing.
  1322.  Junichi Uekawa for the idea of remembering how many taglines in a file.
  1323.  Kevin W. Kelly cos he'll moan if he's not mentioned. He also found a bug in 6.5
  1324.    and suggested improvements for V.7.2 onwards. Beta tested all these
  1325.    versions and many more, so blame him. T-Matic killed his tagfile once,
  1326.    so don't be too hard on the chap.
  1327.  Mike Garner for a couple of suggestions, used in 8.4.
  1328.  Richard Downer for the idea of putting the "Quoted %" on the tearline. 8.5
  1329.  
  1330. <EOF>
  1331.