tagline
TAGLINE 1.0

by Andrej Bagon
(andrej.bagon@uni-mb.si)

Okay guys laugh but this is a first plug-in for PINE :)) As most of you guys know the BBS era and the conference systems there you sure miss the tag lines at the end of the messages. If you do here is the right program for you. As a BBS user i user Terminate program as terminal and for reading fidomail and BBS conference I used Blue Wave for DOS. It is/was a really nice reader for DOS and i so miss it. If you guys plan to make an email reader like that, I'll be so grateful to get a copy :)

But for now i use PINE (Pine Is Not Elm:) and i as i am not using any external editors (i am just used to pico) i got a thought: "Why not make a program that acts like an editor and adds a TAGLINE at the bottom of the email?". I start to work on it and now we have it released now. It actually work. It has a config file which should be put in /etc/system.tagrc or in the user directory and it should be called .tagrc. !NOTE! Without that file the user cant use the TAGLINE program. The config has now just few options and those are:

tagdir /path - this option tells the program in which directory we
put out taglines
example: tagdir /usr/lib/tagline/

filename text to describe the file - with this option we include the file in the path and we
give the file a description for visual mode tagline.

random - with this option we tell the program that we wont choose
the tagfile, the program will choose a random one, just
like with the taglines in the file.

credit - let's allow the program write a promotional line at your
email.. I think that the author will be glad of that
crontab file - this option is for those people who wants to run tagline
from crontab. It is done in the way that you dont get any
messages, so you wont be flooded with that :) and it won't
run if you don't have the random option enabled. In this
case you will get a warning that you are using crontab
option with the visual mode. sorry :)

You can add comments in it just start a line with # sign. The program should be called tagline (just like pine does with the external editor:) and this is all..

Now how to add this "plug-in" to PINE. First start "pine" then go in the Setup option, choose "C" as Config and in the last part of the config there is a line asking for an editor.

normally looks like this:
editor =
and make it
editor = tagline

change this line to "tagline" (I suppose you did "make install" described in INSTALL). Then press "E" as Exit Config, save the changes "Y" and now you can go into "C" Compose message and when you are in the area "Message Text" just press simply CTRL+_ (it is also described in the status bar as ^_ Alt Edit.

I hope you get a messages "[ Alternate editor done ]" which means the program added the tagline and you can see the result in your email..

Hope you enjoy the tagline and if you have some more plz email them to me andrej.bagon@uni-mb.si (just don't flood my email;)

I would like to thank here Valerio (fungostar on IRC) who gave me the code for working with screen. Thank you Valerio so much.

and yes i already forgot.. this is freeware! You can use it in they way you like.. just if something happens to your machine when you are running it, the author doesn't take any responsibility.. (well all i think it can do is to screw your email.. but i think you should not worry about that... works for me pretty good). And for those who changes the code.. please send me the bug fixes and the things you add.. so other users can enjoy the new options as well.

Get it tagline.tar.gz