🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #181979

Re: [slrn] dotfiles everywhere

#181979
From: Peter J Ross
Date: Sun, 19 Mar 2006 12:21
47 lines
2691 bytes
On Sun, 19 Mar 2006 09:47:06 GMT, slakmagik
<j@brokedownpalace.example.net> wrote in news.software.readers:

> slrn seems to spit out .article, .followup, and .postpone dotfiles
> in $HOME. I can't find any reference in the docs to these files and
> don't know how to point them elsewhere. I tried setting $TMPDIR,
> since the manual does mention that, but no dice. I do have a nice
> ~/.slrn full of files and subdirectories with everything everywhere
> I want it to go, but these files won't cooperate.  It seems like
> they should be temp files and automatically deleted (which would be
> fine) or, failing that, I'd at least like to stick them in ~/.slrn
> or ~/tmp. Any help is much appreciated.

To create these files in ~/.slrn istead of ~, you need to set the
$SLRNHOME environment variable to "~/.slrn". E.g., in bash,

   $ export SLRNHOME=~/.slrn

You'll then need to copy or move .jnewsrc and .slrnrc to ~/.slrn/, and
also edit .slrnrc. E.g,

   set save_posts ".slrn/foo/my_posts"

should be changed to

   set save_posts "foo/my_posts"
   
If you want to remove the dotfiles after closing slrn, try something
like this when you open slrn:

   $ slrn && rm ~/.slrn/.followup [etc]


Alternatively, try setting $SLRNHOME to /tmp. You'll have to call slrn
with the -i and -f command line switches in order to locate .jnewsrc
and .slrnrc, and specify full paths in .slrnrc. And I haven't tried
this method myself, so there might be problems with it. Proceed at
your own risk!


PJR :-)
-- 
  _  _(o)_(o)_  _       FSM: http://www.venganza.org/
._\`:_ F S M _:' \_,    PJR: http://www.insurgent.org/~pjr/
    / (`---'\ `-.       AUK: http://www.netcabal.com/auk/
 ,-`  _)    (_,   F_P   God's Own Newsreader: http://www.slrn.org/
Technical Details
Message-ID: <slrne1qj7j.7gg.pjr@nntp.alcatroll.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.alt.net!nntp.alcatroll.com!news
References: <uM9Tf.2139$Ef2.529@bignews4.bellsouth.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrne1qj7j.7gg.pjr@nntp.alcatroll.com>
Subject: Re: [slrn] dotfiles everywhere
Date: Sun, 19 Mar 2006 12:21:00 +0000
From: Peter J Ross <pjr@kookbusters.org>
References: <uM9Tf.2139$Ef2.529@bignews4.bellsouth.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!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!news.alt.net!nntp.alcatroll.com!news
Newsgroups: news.software.readers
Organization: Cabal Obsidian Order [TINCOO]
Lines: 47
X-Operating-System: Debian GNU/Linux (Sid/Unstable)
X-Kernel: Linux 2.6.15-1-686
X-Complaints-To: abuse@nntp.alcatroll.com
User-Agent: slrn/0.9.8.1pl1 (Debian)