🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #124566

Re: SLRN mutiple identities

#124566
From: Xavier Nodet
Date: Wed, 07 May 2003 06:39
40 lines
2864 bytes
In article <duPta.19158$s2.14517@fe04.atl2.webusenet.com>, Pscylo wrote:
> On Tue, 06 May 2003 11:32:58 GMT, Emmanuele Bassi <zefram@wolverine.lohacker.home> let rip with:
>> * Pscylo <pscylo@lineone.net> [2003-05-05 22:58]:
>>
>>> Loading twice seems to happen whenever I interpret a macro (if I had
>>> multipart.sl included in the slrn.rc then the interpret multipart.sl
>>> would show twice) - any thoughts as to why this would be happening.
>>
>> What happens if you launch SLRN with this:
>>
>> 	slrn -i slrn.rc

> Reading startup file C:/slrn/slrn.rc.
> loading C:\slrn\macros\multipart.sl
> Reading startup file slrn.rc.
>
> [...]
>
> It seems to be calling the macro twice because it calls slrn.rc twice. I
> can't think why that would be.

Because slrn actually has two 'initialization' files. A global one for
all users, and a local one. On windows, the global initialization file
is "c:\slrn\slrn.rc".

Then comes the local file. On Windows, it is "%SLRN_HOME%\slrn.rc" if the
environment variable SLRN_HOME exists, or "%HOME\slrn.rc" if SLRN_HOME
does not exist but HOME does. And I'm 99% sure that if neither
SLRN_HOME, nor HOME exist, then slrn tries to read "slrn.rc" in the
current directory. 

One way to correct your problem would then be to *move* your slrn.rc to
some user-specific path and give the name of this path in SLRN_HOME.

Hope this helps.
-- 
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
Technical Details
Message-ID: <3eb8aa0e$0$17775$626a54ce@news.free.fr>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail
References: <FkPra.35607$86.26998@fe10.atl2.webusenet.com> <o6t4o-nch.ln1@news.gates_of_hell.INVALID> <IgWra.119082$Kc4.65079@fe08.atl2.webusenet.com> <3eb2d646$0$31583$626a54ce@news.free.fr> <slrnbb5qnm.1tb.zefram@wolverine.lohacker.net> <b96qb9$fblp5$7@ID-188494.news.dfncis.de> <slrnbbf72n.59u.zefram@wolverine.lohacker.net> <duPta.19158$s2.14517@fe04.atl2.webusenet.com>

Show Full Headers
Complete Article Headers
Message-ID: <3eb8aa0e$0$17775$626a54ce@news.free.fr>
Subject: Re: SLRN mutiple identities
Date: Wed, 07 May 2003 06:39:11 +0000
From: Xavier Nodet <xavier.nodet@free.fr>
References: <FkPra.35607$86.26998@fe10.atl2.webusenet.com> <o6t4o-nch.ln1@news.gates_of_hell.INVALID> <IgWra.119082$Kc4.65079@fe08.atl2.webusenet.com> <3eb2d646$0$31583$626a54ce@news.free.fr> <slrnbb5qnm.1tb.zefram@wolverine.lohacker.net> <b96qb9$fblp5$7@ID-188494.news.dfncis.de> <slrnbbf72n.59u.zefram@wolverine.lohacker.net> <duPta.19158$s2.14517@fe04.atl2.webusenet.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!feeder2-1.proxad.net!news2-1.free.fr!not-for-mail
Newsgroups: news.software.readers
User-Agent: slrn/0.9.7.4 (Win32)
Lines: 39
Organization: Guest of ProXad - France
NNTP-Posting-Date: 07 May 2003 08:39:11 MEST
NNTP-Posting-Host: 194.206.159.44
X-Trace: 1052289551 news2-1.free.fr 17775 194.206.159.44:21187
X-Complaints-To: abuse@proxad.net