home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / intrt211.zip / INTRT211.DOC < prev    next >
Text File  |  1995-12-20  |  4KB  |  79 lines

  1. Here it is, a msall program I wrote to read a tagline file,
  2. and randomly pick one. I originally wrote it for use with Delphi's Internav 
  3. program which allow signature line files, but doesn't provide a way to put 
  4. taglines in it short of cutting and pasting it yourself. Put this program in
  5. your startup or a cron program to generate a new tagline everytime
  6. your computer is booted or every x minutes. I don't know how 'random' it 
  7. really is, but the more taglines you have, the less chance of repeats.
  8.  
  9. This program is totally free and I don't gaurantee it to do anything but take
  10. up hard drive space. If you find it useful, I would appreciate $5 or at 
  11. least an email message!
  12.  
  13. It uses five files:
  14.  
  15. intertg2.exe
  16. taglines.cmd or fortune.cmd
  17. <path and filename to the tagline file>
  18. <path and filename to the blank signature line file>
  19. <path and filename to the resulting signature  file w/ tagline>
  20.  
  21. Usage:
  22.  
  23.   intertg2 <tagfile> <blankfile> <sigfile> <optional delimeter>
  24.  
  25. A tagline file: I have provided one, the taglines can be any length. 
  26.                 Each file is limited to 32,767 taglines because of the 
  27.                 limitation of the randomizer, if anyone knows how to get 
  28.                 around this limitation let me know.
  29.  
  30. CAUTION: I have provided these taglines that I have collected. I make no
  31.          warranty about them. I do not even know what is in there, use at
  32.          your own risk!
  33.  
  34. A blank signature line file: This is your signature without a tagline.
  35.                              Can be any length you wish. See sample.
  36.  
  37. Signature File: This is the output file that you tell Intertag/2 to use
  38.                 as your signature file. It is overwritten each time Intertag
  39.                 is run, so it doesn't matter what is in there. I named mine
  40.                 c:\pmmail\pmmail1.sig so that everytime I write a message
  41.                 in PMMail, it automatically gets the latest signature and
  42.                 tagline.
  43.  
  44. Delimeter: This is an optional parameter that you can use to specify what
  45.            delimits the taglines in that file. If none is specified, a
  46.            carriage return is assumed. For example, the UNIX fortune file
  47.            uses two percent signs (%%) as the delimeter. To see how this
  48.            would work take a look at fortune.cmd and fortune.txt. I have 
  49.            only tested Intertag/2 on the sample fortune file, so if it 
  50.            doesn't work on something else, let me know and I'll try to 
  51.            fix it.
  52.  
  53. History: 
  54.  
  55. 1.1 : 12/19/95 - 12/20/95  Added ability to use a delimeter besides a 
  56.       carriage return. Special thanks for Erik Phinney for helping me figure
  57.       out what line to change after 4 hours of debugging myself and not
  58.       fixing it and Federico Gouvea (fqgouvea@colby.edu) for suggesting I
  59.       make Intertag/2 more flexible.
  60.  
  61. 1.0 : Written 4/28/95 in four hours under Borland C++ 3.1 for DOS. 
  62.       Ported to OS/2 on 12/3/95 in five minutes with Borland C++ 2.0
  63.       for OS/2. 
  64.  
  65. I am thinking of doing a version 2.0 that is a Presentation Manager Program
  66. with it's own built in timed execution. Also, instead of specifying command
  67. line parameters, I could use an INI file. If you are interested in me
  68. trying my hand at this, please let me know.
  69.  
  70. I welcome any comments, suggestions, critcisms, etc, etc....You can contact
  71. me at:
  72.  
  73. Email: lynx@webstar.net, aac531@ramail.angelo.edu, or craig@wcc.net
  74.  
  75. Snail Mail: Craig Leikis
  76.             2901 Sunset Apt 6H
  77.             San Angelo, TX 76904
  78.  
  79.