🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Donzi Tue, 27 May 2003 14:37
[Xnews] Environment Variables? (Server & Workstation Use Anomolies)
#125461
Author: 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.
Re: [Xnews] Environment Variables? (Server & Workstation Use Anomolies)
#125484
Author: JanC
Date: Wed, 28 May 2003 00:35
15 lines
1631 bytes
Donzi <.@.> schreef:

> 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.

Why not install Xnews on every workstation (it's not that big) and use /D 
to point to the data, filters, etc. on the server?

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9
Re: [Xnews] Environment Variables? (Server & Workstation Use Anomolies)
#125506
Author: Donzi
Date: Wed, 28 May 2003 10:09
33 lines
3186 bytes
JanC <usenet_spam@janc.invalid> wrote in
news:Xns93891A3BE110DJanC@213.119.4.116: 

> Donzi <.@.> schreef:
> 
>> 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. 
> 
> Why not install Xnews on every workstation (it's not that big) and use
> /D to point to the data, filters, etc. on the server?

Mostly because Xnews handles its default path(s) pretty well and thusly no 
reason to complicate the installation. I just need to make sure noone saves 
the paths xnews reconstructs and fills in to the blanks in setup.

If it wasn't for the little bug that occurs over path (?) confusion, 
everything works pretty good as it is. I may just remove the JPG|GIF from 
the auto-save.

Although I think it's for clarification, there is a reference in the 
folders.ini file to "<programdir>" -- I may try a few hints spread around 
the docs, etc fishing for a variable that works.

All in all, the error that got me even looking in to this may occur even if 
I use the /D: arguement -- could be a Xnews-UNC problem.  I've never tried 
saving actual paths in the .ini file(s) in this arrangement and mapping the 
drives is definantly out.

I've just assumed that the trouble is because I am relying on the default 
paths and not specifying it in full "drive:\path\.." syntax.
Re: [Xnews] Environment Variables? (Server & Workstation Use Anomolies)
#125508
Author: Donzi
Date: Wed, 28 May 2003 10:34
5 lines
1866 bytes
Any clue why that last message got posted twice?  (will this one?)

I took a long time to write the other reply, some sort of draft copy 
related thing?
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