home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
cwetag11.zip
/
cwetag2.txt
< prev
next >
Wrap
Text File
|
1998-10-15
|
5KB
|
114 lines
CWE's Tagline Generator
~~~~~~~~~~~~~~~~~~~~~~~
Version 1.1 - Copyright 1998, CWE Solutions
Craig Miller <craiger@cwe.ml.org>
<http://cwe.ml.org>
Introduction
~~~~~~~~~~~~
CWETagger/2 is a small "fortune cookie" or "tagline" program.
It can be used for adding taglines in the signature of your email
software, and/or randomly appending any text to any text file. This
version is written using the excellent EMX development system, and is
compiled such that it can be run under OS/2 (using EMX), DOS (using RSX)
or WinNT (using RSXNT). There are two executables included in this
archive:
CWETAG2 is the main program, which will write the selected tagline
to a file of your choice in addition to displaying the tagline;
CWETAG2S (the _S_mall version), which only displays the selected
tagline, with no other info displayed.
I have also enclosed a VERY small file of taglines to get you started.
Requirements
~~~~~~~~~~~~
You MUST have the EMX/RSX/RSXNT (whichever your platform dictates)
runtime package installed to use this program.
This program only takes about 120K of your hard disk, and will use
even less memory. Of course, those of you with HUGE tagline files
will use more disk space.. \8^]
Installation
~~~~~~~~~~~~
I like to have CWETAG2 in it's own directory, e.g., D:\UTILS\CWETAG\,
but you can put it in any directory on your path, if you like. I have
several different collections of tagline files for different occasions,
and I even have a couple of tagfiles containing HTML that get randomly
SSI'd into my web pages, plus a rotating banner setup using the same
principle. The only files you need to be concerned with are:
CWETAG2.EXE -- Program which can write selected line to a file,
CWETAG2S.EXE -- Program which only displays selected line to screen,
CWETAG2.TXT -- You might want to keep this document for reference.
<of course, your tagline file>
Usage
~~~~~
Syntax is very simple:
CWETAG2 -?
(or) Either of these two give a brief help/syntax screen.
CWETAG2S -?
CWETAG2S <your tag file>
This simply displays a random tag out of your tagline file.
CWETAG2 <your tag file>
Does basically the same thing as CWETAG2S, but also prints
which tag it's displaying, in addition to all the copyright and
contact info. Pretty much useless, really.
CWETAG2 <your tag file> <tagline output file>
This is the full monty. Randomly selects a tagline from
<your tag file> and APPENDS it to <tagline output file>. You'll
want to have a "template" signature file that you copy over
<tagline output file> just prior to running this, so that tags
don't accumulate at the end of the file.
----SAMPLE TEMPLATE FILE---- (SAMPLE.TMP)
CWE's komputor sayz:
----------------------------
Running "CWETAG2 TAGLINES.TXT SAMPLE.TMP" gives you:
----SAMPLE TEMPLATE FILE---- (SAMPLE.TMP)
CWE's komputor sayz:
Hey, here's a random tagline appended to the end of my template!
----------------------------
It's quite easy to use SSI in your http server to make randomly
changing pages, incorporate interesting random factoids, or display
advertiser banners. Contact me if you need help with this.
Version History
~~~~~~~~~~~~~~~
Version Date/Tim Description of changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.1 10/15/98 11:27:15 Added an "s" version with no copyright
info, to be used as a "cookie" program.
Documentation written, uploaded to Hobbes.
Yes, I know my documentation sucks. I
write software, not manuals. \8^]
1.0 10/14/98 08:34:10 Initial Concept. Uses randomizing
routines from BSD library, everything
else is ANSI C.
Contact Info & Registration
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Craig Miller - CWE Solutions
<craiger@cwe.ml.org> (or) <craiger@craigerware.avalon.net>
<http://cwe.ml.org/>
I hereby place both of these programs (CWETAG2 & CWETAG2S) into the
public domain. Freely distribute them, and use them as you like.
CWE Solutions retains rights to the source code for both programs,
and offers no guarantee that they are suitable for any particular
purpose, nor that they will function as intended.