Article View: news.software.readers
Article #36225Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies)
From: Byrial Jensen
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
37 lines
1787 bytes
1787 bytes
Sylvain Robitaille <syl@alcor.concordia.ca> wrote:
>Has anyone figured out a way to have different From: lines for different
>newsgroups? Specifically, I'd like to post to our local newsgroup
>hierarchy (concordia.*) with username 'syl', and to any other groups with
>username 'sp_robi'.
You can use the article_mode_hook to change the username when you enter
a local newsgroup, but that won't work if you start the posting from
group mode.
How to do? Make a slang file named say '.slrn.sl' in your home
directory with the following content, and interpret it from your
'.slrnrc' file with 'interpret ".slrn.sl"'.
define article_mode_hook ()
{
variable username = "sp_robi";
if (1 == is_substr (current_newsgroup (), "concordia"))
{
username = "syl";
}
set_string_variable ("username", username);
}
define group_mode_hook ()
{
set_string_variable ("username", "sp_robi");
}
Best regards
- Byrial
Technical Details
Message-ID:
<slrn62f027.be.byrial@ask.ask>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!not-for-mailReferences:
<slrn6116du.18b.Wernercg@voyager.cris.com> <slrn61saod.183.sp_robi@Elvira.home> <slrn61sodd.iud.Wernercg@viking.cris.com> <slrn62c2a9.b1a.syl@Elvira.home>Show Full Headers
Complete Article Headers
Message-ID: <slrn62f027.be.byrial@ask.ask> Subject: Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies) Date: Tue, 23 Sep 1997 00:00:00 +0000 From: byrial@post3.tele.dk (Byrial Jensen) References: <slrn6116du.18b.Wernercg@voyager.cris.com> <slrn61saod.183.sp_robi@Elvira.home> <slrn61sodd.iud.Wernercg@viking.cris.com> <slrn62c2a9.b1a.syl@Elvira.home> 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!not-for-mail X-Deja-AN: 274767219 X-Complaints-To: abuse@news.inet.tele.dk X-Trace: news.inet.tele.dk 875004027 83262 (None) 194.239.129.9 Newsgroups: news.software.readers