🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41932

Re: [slrn] Can I customize the tmp files names vs. always .article, .letter and .followup?

#41932
From: Heikki Kantola
Date: Wed, 08 Jul 1998 00:00
50 lines
2514 bytes
Ken Keen <TroubleEveryDay@Dangerous.Kitchen> informed
news.software.readers with the following:
>I use slrn to connect to three different newservers, sometimes at the same
>time (via screen).
>
>Works fine but I get conflicts if I am in the middle of replying, following up
>or posting on Newserver A and I want to do the same on Newserver B.
>
>My question: Are the tmp file names (.article, .letter, .followup)
>customizable via .slrnrc so that I may avoid this conflict? 

No, only way to change those names is via editing relevant variables in
slrnfeat.h-file before compiling. 

>Or do I simply set 
>
>         set use_tmpdir 1 
>
>and then set the TMPDIR env variable for each newserver in the .slrnrc or
>modifying my ksh command to set same? This is how I call, for instance,
>altopia: 
>
>altopia () {
> /usr/local/bin/slrn0.9.4.6 -DALTOPIA --nntp -h news.alt.net
> }
>
>I presume I would simply modify it to this:
>
>altopia () {
> export TMPDIR="~/News/Altopia_Tmp/"
> /usr/local/bin/slrn0.9.4.6 -DALTOPIA --nntp -h news.alt.net
> }
>
>When trying this, emacs (my slrn editor) worked ok, using the filename
>"SLRNF50A74C5.0" in News/Altopia_Tmp/
>
>I guess that is an OK work-around unless others have even niftier thoughts on
>the matter.

That sounds viable option, altho I would suggest to use NNTPSERVER
enviroment variable to select server and do the server depency checks 
in .slrnrc againts its value using if$ENV preprocessor command.

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Technical Details
Message-ID: <slrn6q7dou.os9.hezu@tuuri.ling.helsinki.fi>
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
References: <slrn6oruid.qsg.TroubleEveryDay@user1.teleport.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6q7dou.os9.hezu@tuuri.ling.helsinki.fi>
Subject: Re: [slrn] Can I customize the tmp files names vs. always .article, .letter and .followup?
Date: Wed, 08 Jul 1998 00:00:00 +0000
From: hezu@iki.fi (Heikki Kantola)
References: <slrn6oruid.qsg.TroubleEveryDay@user1.teleport.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!not-for-mail
X-Deja-AN: 369614810
Content-Transfer-Encoding: 8bit
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-Version: 1.0
Newsgroups: news.software.readers