dxrn and mxrn
are versions for DECwindows/XUI and DECwindows/Motif, respectively,
which are stuck at version 6.17 or 6.18.
xrn uses the Athena Widget set and xrn-motif
is an attempt to make version 7.0 work with Motif.
RFC 3977 specifies the NNTP protocol.
README file.
Imakefile
add the desired installation destination directories
and modify
the respective Architecture branch(es):
DESTDIR = /tmp/xrn-9.02/
BINDIR = bin
LIBDIR = lib
MANDIR = man/mann
# HP-UX 10.20, native compiler
XRN_DEFINES = -O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z
SITE_DEFINES = -DCONFIG_H_IS_OK -DGRIPES=\"m.kraemer@gsi.de\"
xmkmf make make install make install.man
From: field to be inappropriate
for use with my favourite nntp servers.
They only seem to accept valid domain (not host) names after the '@'.
Thus I added in compose.c, function buildFrom(),
just before the output string is composed:
{
char *pc;
if ( ( pc = strchr( host, '.' ) ) != NULL ) {
host = pc+1;
}
}
so that only the domain name, if existing, is considered.
lib/X11/app-defaults/XRn, e.g.:
xrn.nntpServer: news.t-online.de xrn.organization: home sweet home !xrn.replyTo: Me.Myself@domain xrn.domainName: .t-online.de(mind the leading dot !)
$HOME/.Xdefaults
xrn.replyTo: Me.Myself@domain
config.h, i.e. the definitions:
#define CONFIG_H_IS_OK #define DOMAIN_NAME ".home.de" /* */ #define ORG_NAME "home"Other influential compile-time definitions are:
#define SERVER_FILE "/usr/local/news/server" #define HIDDEN_FILE "/usr/local/news/hiddenhost" #define PATH_FILE "/usr/local/news/pathhost" #define DOMAIN_FILE "/usr/local/news/domain"
Imakefile, i.e. enable/add the definitions:
#define UseMotif
# installation shouldn't go into /usr/*/X11/
DESTDIR = /tmp/xrnmotif-7.0/
BINDIR = bin
LIBDIR = lib
MANDIR = man/mann
#if defined(HPArchitecture)
LEX = flex
YACC = bison --yacc
CCYACC = bison --yacc
XRN_DEFINES = -DFUNCPROTO -DFUNCPROTO2
#endif
#if defined(AIXArchitecture)
INSTALL=/usr/ucb/install -c -g biodev
#endif
HP-UX receives a special treatment because it lacks the yacc,lex utilities by default.
Note however, that the freeware replacement bison
needs to be properly
configured.
xmkmf make clean make make install make install.man
Xresources.sam is a sample
of how you might customize xrn in your own X resources.
lib/app-defaults/XRnMotif or your private $HOME/.Xdefaults:
XRnMotif.nntpServer: news.tu-darmstadt.de
export NNTPSERVER=news.tu-darmstadt.de
news.tu-darmstadt.de
lib/app-defaults/XRnMotif or your private $HOME/.Xdefaults:
XRnMotif.organization: Completely unorganized
export NEWSORG="Completely unorganized"
Completely unorganized
Reply-To address do one of the following:
XRnMotif.replyTo: My.Name@hostname
export HIDDENHOST=localdomain
localdomain
One may test-post to newsgroups such as de.test
without annoying people with junk postings.
The priority ranking for X resources is, in decreasing order:
$XUSERFILESEARCHPATH $XAPPLRESDIR/$LANG/where
$LANG is of the kind
C, en_US, Ja_JP, zh_CN, etc.
export XFILESEARCHPATH==/usr/local/lib/X11/app-defaults/%N:/usr/local/lib/app-defaults/%N
$XENVIRONMENT, defaults to
$HOME/.Xdefaults $HOME/.Xdefaults-<hostname>
$HOME
/usr/lib/X11/$LANG/app-defaults /usr/lib/X11/app-defaultsSome packages are compiled to use
/usr/local/lib/X11/$LANG/app-defaults /usr/local/lib/X11/app-defaults