home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
intrt211.zip
/
INTRT211.DOC
< prev
next >
Wrap
Text File
|
1995-12-20
|
4KB
|
79 lines
Here it is, a msall program I wrote to read a tagline file,
and randomly pick one. I originally wrote it for use with Delphi's Internav
program which allow signature line files, but doesn't provide a way to put
taglines in it short of cutting and pasting it yourself. Put this program in
your startup or a cron program to generate a new tagline everytime
your computer is booted or every x minutes. I don't know how 'random' it
really is, but the more taglines you have, the less chance of repeats.
This program is totally free and I don't gaurantee it to do anything but take
up hard drive space. If you find it useful, I would appreciate $5 or at
least an email message!
It uses five files:
intertg2.exe
taglines.cmd or fortune.cmd
<path and filename to the tagline file>
<path and filename to the blank signature line file>
<path and filename to the resulting signature file w/ tagline>
Usage:
intertg2 <tagfile> <blankfile> <sigfile> <optional delimeter>
A tagline file: I have provided one, the taglines can be any length.
Each file is limited to 32,767 taglines because of the
limitation of the randomizer, if anyone knows how to get
around this limitation let me know.
CAUTION: I have provided these taglines that I have collected. I make no
warranty about them. I do not even know what is in there, use at
your own risk!
A blank signature line file: This is your signature without a tagline.
Can be any length you wish. See sample.
Signature File: This is the output file that you tell Intertag/2 to use
as your signature file. It is overwritten each time Intertag
is run, so it doesn't matter what is in there. I named mine
c:\pmmail\pmmail1.sig so that everytime I write a message
in PMMail, it automatically gets the latest signature and
tagline.
Delimeter: This is an optional parameter that you can use to specify what
delimits the taglines in that file. If none is specified, a
carriage return is assumed. For example, the UNIX fortune file
uses two percent signs (%%) as the delimeter. To see how this
would work take a look at fortune.cmd and fortune.txt. I have
only tested Intertag/2 on the sample fortune file, so if it
doesn't work on something else, let me know and I'll try to
fix it.
History:
1.1 : 12/19/95 - 12/20/95 Added ability to use a delimeter besides a
carriage return. Special thanks for Erik Phinney for helping me figure
out what line to change after 4 hours of debugging myself and not
fixing it and Federico Gouvea (fqgouvea@colby.edu) for suggesting I
make Intertag/2 more flexible.
1.0 : Written 4/28/95 in four hours under Borland C++ 3.1 for DOS.
Ported to OS/2 on 12/3/95 in five minutes with Borland C++ 2.0
for OS/2.
I am thinking of doing a version 2.0 that is a Presentation Manager Program
with it's own built in timed execution. Also, instead of specifying command
line parameters, I could use an INI file. If you are interested in me
trying my hand at this, please let me know.
I welcome any comments, suggestions, critcisms, etc, etc....You can contact
me at:
Email: lynx@webstar.net, aac531@ramail.angelo.edu, or craig@wcc.net
Snail Mail: Craig Leikis
2901 Sunset Apt 6H
San Angelo, TX 76904