🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Hans Hoppe Thu, 11 Aug 1994 16:28
Environment variable not expanded?
#6254
Author: Hans Hoppe
Date: Thu, 11 Aug 1994 16:28
23 lines
2032 bytes
Can anyone help me with the following?

I want to set the value of nntp-cache-dir according to the value of
one of my environment variables ($TMPDIR). Normally, nn does variable
expansion, eg. if $TMPDIR is set to /tmp/hopha, the command
    :set backup-folder-path $(TMPDIR)
would be expanded to
    :set backup-folder-path /tmp/hopha
This also works from the init-file. But, if I try to set nntp-cache-dir
this way from the init-file (you can't set if from within nn), no
expansion of the environment variable is done. Of course, this leads
to trouble, because I don't have a directory named "$(TMPDIR)".
Is this a known bug, or am I overlooking something?
I am using nn 6.4.18 (with an NNTP server).

Your help would be greatly appreciated.

	C.U. - Hans
---------------------------------------------------------------------------
Hans Hoppe (hopha@sci.kun.nl) + "In the beginning the Universe was created.
Dep. of Biophysical Chemistry +  This has made a lot of people very angry
University of Nijmegen, NL    +  and been widely regarded as a bad move."
S-mail (home): NL 6524 KM 11  +                                    -D.Adams
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads