Thread View: news.software.readers
2 messages
2 total messages
Started by Christopher Lueg
Thu, 14 Mar 1996 00:00
xrn 8.01 question
Author: Christopher Lueg
Date: Thu, 14 Mar 1996 00:00
Date: Thu, 14 Mar 1996 00:00
16 lines
994 bytes
994 bytes
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? Thanks in advance, Christopher (please post answers cc:lueg@ifi.unizh.ch) -- --lueg@ifi.unizh.ch
Re: xrn 8.01 question
Author: Jonathan Kamens
Date: Fri, 15 Mar 1996 00:00
Date: Fri, 15 Mar 1996 00:00
31 lines
2271 bytes
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.
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