🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #125461

[Xnews] Environment Variables? (Server & Workstation Use Anomolies)

#125461
From: Donzi
Date: Tue, 27 May 2003 14:37
51 lines
3552 bytes
Hi, been using Xnews for several years and just reciently decided to try 
and consolidate it on a server computer on the LAN. Presently running Xnews 
6.02.16, test versioon.

What I am wondering is if there is a specific representative for 
'ProgramPath' (EG: the directory I started Xnews in) that I can use in the 
.ini files?

Here's the basic setup:

d:\program files\xnews (server)
\\server\xnews         (workstations)

Since the drive designations are incompatible on the workstations, mapping 
them all with a "D:" is out.. thus the attempt at using the UNC paths.

Using from workstation via UNC paths works okay but seems to fiddle with 
the .ini settings and also exposes a small bug with auto attachment saving. 
Operation is retained locally on the server for the most part also.

xnews.ini [misc]

AttachDir=attachments   <- these work fine from server and wrkstn except*
DecodeDir=downloads
SaveDir=downloads

* 'inline' attachment saving works okay, until I specifically use the 
decode option for multipart file.  Once decode is used then the auto 
attachment saving seems to break until exiting and restarting.  The entries 
in the .ini file aren't changed - xnews just ssems to get confused after 
the above sequence..

..so I tried these:

AttachDir=.\attachments\  <- no difference
DecodeDir=.\downloads\
SaveDir=.\downloads\

The /D: command line option was a consideration but I am really trying to 
do the opposite of what it's intended for.. I want it to look/be the same 
across multiple computers with different drive designations.

So, I figured perhaps there may be an undocumented environment variable I 
could set or specific notation I could use to reference <ProgramPath> the 
path which Xnews was started...

..Or if I could simply use a substitute xnews.ini file from the 
workstations with specific UNC paths saved would solve everything I guess.

Appreciate any insight or suggestions.
Technical Details
Message-ID: <Xns93886BA85349Eyrobnglnubbpbz@yourdomain.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!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns93886BA85349Eyrobnglnubbpbz@yourdomain.com>
Subject: [Xnews] Environment Variables? (Server & Workstation Use Anomolies)
Date: Tue, 27 May 2003 09:37:11 -0500
From: Donzi <.@.>
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!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 27 May 2003 09:37:11 -0500
Newsgroups: news.software.readers
User-Agent: Xnews/06.02.16
X-Face: $#1>apDxxJ\l_?Bh](cYj1btW5]w(>B]Sno${YNs%etlLtE>:z4iL5WsA5aZ>KoA"<G-.=`n1Y%n2D1NCyg+dB}?@mi]#i#+-QBm{427]9#ah4r4H(&y2~B%)>dQ;i~4]Rk1B?~l5G5z??M~]fWH1$"(1+;0y.~J$yb3PZr/km"3BO9oq?_-+|8_o]&IF=#6-[iX_9^bO0qw\6[22S*4C`4HY1XYSRbxN&qLx0VZqK'B)&{^+w%>kw9U^k;I\Vl)joiK{CQxhuy`;O7mY1px{L1vk).qUN=w7@$}!uYV+6rire~i9Duc+|V1C"=
X-Complaints-To: abuse@sandm.net
Lines: 50
X-Trace: sv3-YQvoHRjjUmyteBhU/e/RL88uKbN/YUP3FhibDwg875ts9wJgIFf8h4shQFmHKhU2OL0EAUToki4AIkO!F3OKjUhG05C3RDQjcgAY/4gMMfgfmCPszyYb3TnQ3GG2i//q8hnyOcnMQIl8AUj8oVycNTA=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1