Article View: news.software.readers
Article #195374Re: slrn authentication problem
From: Blinky the Shark
Date: Sat, 10 Feb 2007 00:25
Date: Sat, 10 Feb 2007 00:25
38 lines
2701 bytes
2701 bytes
Bart Vandewoestyne wrote:
> On 2007-02-09, Dave Gibson
> <dave+news001@gibson-hrd.abelgratis.co.uk.invalid> wrote:
>>
>> [...]
>>
>> Remove the "set force_authentication 1" line and add the following
>> function to your macro file (eg: "$HOME/.slrn/set_auth.sl"):
>>
>> define init_servers_auth() { !if (strcmp (server_name(),
>> "news.telenet.be")) set_integer_variable("force_authentication", 1);
>> } () = register_hook ("startup_hook", "init_servers_auth");
>>
>> If you don't already have a macro file, you'll need to add a
>> command to your $HOME/.slrnrc to interpret the new one:
>>
>> interpret ".slrn/set_auth.sl";
>
> Thanks! This solution works like a charm!
>
> I guess the most appropriate and clean alternative solution would be
> to use leafnode, but the solution from above is just as fine and does
> exactly what I want.
Or do what I used to do when I ran more than one server with slrn.
Have the section of slrnrc that's pertinent to a particular server be a
file of its own, and call the *rest* of slrnrc (the stuff that's the
same for all servers -- probably colors, keybindings...MOST of the full
slrnrc) into that file with (I think it was) includes. Or
interprets...whatever command pulls a whole file in where the command
is. Then run each of those server-specific files from separate scripts.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID:
<slrnesq45s.ht4.no.spam@thurston.blinkynet.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<FmWyh.334295$EQ.6383737@phobos.telenet-ops.be> <be5v94xdml.ln2@perseus.gibson-hrd.abelgratis.co.uk> <hF7zh.1027$2g.27676@phobos.telenet-ops.be>Show Full Headers
Complete Article Headers
Message-ID: <slrnesq45s.ht4.no.spam@thurston.blinkynet.net> Subject: Re: slrn authentication problem Date: Sat, 10 Feb 2007 00:25:18 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <FmWyh.334295$EQ.6383737@phobos.telenet-ops.be> <be5v94xdml.ln2@perseus.gibson-hrd.abelgratis.co.uk> <hF7zh.1027$2g.27676@phobos.telenet-ops.be> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 38 X-Trace: individual.net EtU37IjDEoU9sPtn0Lq9TQfu2JnoKCQ8/XEKd9H45gYCEjGbOF X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)