🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41657

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

#41657
From: Ken Keen
Date: Mon, 22 Jun 1998 00:00
59 lines
2156 bytes
I am using

   * SunOS 5.6 on a Sparc

   * slrn 0.9.4.6

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? For instance, I
already handle settings for my three newservers in .slrnrc and I would want to
add for each section:

#ifdef ALTOPIA

   set article_filename  .article_altopia
   set followup_filename .followup_altopia
   set letter_filename   .letter_altopia

#elifdef TELEPORT

   set article_filename .article_teleport

etc.

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.

-- 
Man From Utopia

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <slrn6oruid.qsg.TroubleEveryDay@user1.teleport.com>
Subject: [slrn] Can I customize the tmp files names vs. always .article, .letter and .followup?
Date: Mon, 22 Jun 1998 00:00:00 +0000
From: TroubleEveryDay@Dangerous.Kitchen (Ken Keen)
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: 364894785
Reply-To: TroubleEveryDay@Dangerous.Kitchen
Organization: Society for the Preservation of Soft Little Things You Step On
Newsgroups: news.software.readers