Article View: news.software.readers
Article #36221Re: Slrn: Different From: lines in different newsgroups (was: altering "From" line in email replies)
From: Sylvain Robitaille
Date: Tue, 23 Sep 1997 00:00
Date: Tue, 23 Sep 1997 00:00
39 lines
2009 bytes
2009 bytes
On 23 Sep 1997 08:40:27 GMT, Byrial Jensen <byrial@post3.tele.dk> wrote:
>
> 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");
> }
Thanks. I'll give this a try...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Assistant to the System Managers Concordia University
Computing Services Department Montreal, Quebec, Canada
----------------------------------------------------------------------
Technical Details
Message-ID:
<608qs2$sit$1@newsflash.concordia.ca>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> <slrn62f027.be.byrial@ask.ask>Show Full Headers
Complete Article Headers
Message-ID: <608qs2$sit$1@newsflash.concordia.ca> 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: syl@alcor.concordia.ca (Sylvain Robitaille) References: <slrn6116du.18b.Wernercg@voyager.cris.com> <slrn61saod.183.sp_robi@Elvira.home> <slrn61sodd.iud.Wernercg@viking.cris.com> <slrn62c2a9.b1a.syl@Elvira.home> <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-mail X-Deja-AN: 274875857 Organization: Concordia University, Montreal, Canada NNTP-Posting-User: syl Newsgroups: news.software.readers