Article View: news.software.readers
Article #72656Re: [slrn] change from field
From: Jan Schaumann
Date: Sat, 24 Feb 2001 19:56
Date: Sat, 24 Feb 2001 19:56
42 lines
2756 bytes
2756 bytes
* Allodoxaphobia wrote:
> On Sat, 24 Feb 2001 02:11:02 +0000 (UTC), David Efflandt scribbled:
> >On Sat, 24 Feb 2001 00:54:44 GMT, Bipin Sehgal <bsehgal@uiuc.edu> wrote:
> >>How can I change the From: field in slrn while posting in newsgroups.
> >
> >In your ~/.slrnrc, hostname and username are used for username@hostname
>
> He said "... *while* posting in newsgroups."
> It's a feature I would like to see, too.
> As well, I'd like to change my .sig *while* posting in newsgroups.
>
> Currently I do believe it do-able without exiting slrn,
> and re-starting slrnc with a new .slrnrc in place.
Put some hooks written in slang in a file called ~/.slrn.sl and add the
line "interperet .slrnr.sl" into your ~/.slrnrc
I have a randomized signature this way:
define followup_hook ()
{
% other stuff here, too, but that's not relevant
variable sigfile = fopen("/home/jschauma/.newssig", "w");
% line break for readability
() = fputs("-Jan\n\n-- \nJan Schaumann <http://www.netmeister.org>\n\n", \
sigfile);
() = fclose(sigfile);
() = system("/usr/games/fortune -s news-sigs >> /home/jschauma/.newssig");
}
This way every time I compose a follow-up, a new signature is generated.
Similarly you could probably set the From-fiel
-Jan
--
Jan Schaumann <http://www.netmeister.org>
This Message has been modified to fit your IQ. As a result, the content
might be contradictory to "known facts" and/or offend you. Sorry.
Technical Details
Message-ID:
<slrn99g4f9.4g6.jschauma@www.netmeister.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.cwix.com!feed2.news.rcn.net!rcn!dca1-feed1.news.digex.net!intermedia!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!jschaumaReferences:
<slrn99e1l9.hac.bsehgal@aa10.aae.uiuc.edu> <slrn99e61d.ard.efflandt@efflandt.xnet.com> <slrn99fvrk.nl.QSB@animas.frontier.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn99g4f9.4g6.jschauma@www.netmeister.org> Subject: Re: [slrn] change from field Date: Sat, 24 Feb 2001 19:56:01 GMT From: jschauma@netmeister.org (Jan Schaumann) References: <slrn99e1l9.hac.bsehgal@aa10.aae.uiuc.edu> <slrn99e61d.ard.efflandt@efflandt.xnet.com> <slrn99fvrk.nl.QSB@animas.frontier.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.cwix.com!feed2.news.rcn.net!rcn!dca1-feed1.news.digex.net!intermedia!newsfeed.skycache.com!Cidera!news-sjo.usenetserver.com!news-out.usenetserver.com!e3500-chi1.usenetserver.com.POSTED!jschauma Newsgroups: news.software.readers User-Agent: slrn/0.9.6.3 (Linux) Lines: 40 X-Complaints-To: abuse@usenetserver.com X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly. NNTP-Posting-Date: Sat, 24 Feb 2001 14:56:01 EST Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net.