🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19875

Re: xrn 8.01 question

#19875
From: Jonathan Kamens
Date: Fri, 15 Mar 1996 00:00
31 lines
2271 bytes
In article <4ia2d9$6c3@gotland.ifi.unizh.ch>, lueg@ifi.unizh.ch (Christopher Lueg) writes:
|> I'm going to install xrn 8.01 (sparc, solaris) as NNTP-based reader for INN 1.4unoff1.
|> Now I have the following question:
|> 
|> Is it possible to config xrn 8.01 in order to give definitions in 
|> xrn's config.h (ORG_NAME, DOMAIN_NAME, RETURN_HOST) always precedence 
|> over INN's own definitions without modifying compose.c?

Surely if you've already got the source code from XRN (which would seem to be
the case if you already know which file the relevant code is in), you can
figure this out by reading compose.c?  It's not particularly complicated code.

Besides that, if you'd sent bug-xrn@cam.ov.com E-mail about this, I would have
answered rather quickly, and you would have saved the bandwidth of a posting
to the entire world.

In any case, to answer your question: When INN is defined, INN's settings
(where they are available) always override the settings in config.h.  This is
in keeping with the principal that hard-coded compile-time values should be
used only when all other run-time sources of information have been exhausted.

If you want your XRN installation to override INN for the settings you
mentioned above, then put "*organization", "*domainName" and "*hiddenHost"
resources into your XRn.src file before installing the program.  Since X
resources are checked before INN's settings, resources in the app-defaults
file will override INN's settings.

Or you could put these resources in your .Xdefaults instead of in the
app-defaults file.  The end result would be the same.

Technical Details
Message-ID: <4ibje8$vgk@jik.israel.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.mbox.zip!not-for-mail
References: <4ia2d9$6c3@gotland.ifi.unizh.ch>

Show Full Headers
Complete Article Headers
Message-ID: <4ibje8$vgk@jik.israel.net>
Subject: Re: xrn 8.01 question
Date: Fri, 15 Mar 1996 00:00:00 +0000
From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens)
References: <4ia2d9$6c3@gotland.ifi.unizh.ch>
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: 142925170
Sender: jik@jik.israel.net (Jonathan Kamens)
To: lueg@ifi.unizh.ch (Christopher Lueg)
Cc: jik
Organization: jik's Linux box
Newsgroups: news.software.readers