Article View: news.software.readers
Article #949Problem with TRN running via NNTP and remote thread database
From: Andrew Patrick
Date: Tue, 31 Dec 1991 17:12
Date: Tue, 31 Dec 1991 17:12
164 lines
4505 bytes
4505 bytes
I am trying to build trn to run via NNTP and I am running into a
problem. (Server and Client machines are SPARCstations running SunOS
4.1.1B.) Trn builds and runs fine on the news server (rick). Mthreads
has been run and the .threads files are in the news spool directory
(rick:/rgd/news/spool).
My problems comes when I try to configure and build trn on a client
(calvin). I am trying to get trn to use NNTP for reading/sending news,
but to share the thread database via NFS. The problem is I am not sure
what the configuration should be for this. When I build and run trn it
works fine except that there is no threading. I can build the threads
dynamically, but can't seem to get access to the database on the
server.
Any ideas? Should I give up on this coniguration and patch the NNTP
source to support threading?
Here is my config.sh file. The news spool directory is mounted as
"/am/rgd/news/spool", and the news lib directory is mounted as
"/am/rgd/news/lib".
#!/bin/sh
# config.sh
# This file was produced by running the Configure script.
n='-n'
c=''
libc='/lib/libc.a'
sharedclib=''
eunicefix=':'
eunice='undef'
cpp='cc -E'
shsharp='true'
startsh='#!/bin/sh'
spitshell='cat'
test='/bin/test'
expr='expr'
sed='sed'
echo='echo'
cat='cat'
rm='rm'
mv='mv'
cp='cp'
tail='tail'
tr='tr'
mkdir='mkdir'
sort='sort'
uniq='uniq'
inews='/usr/local/bin/inews'
grep='grep'
egrep='/bin/egrep'
nidump=''
ypmatch=''
contains='grep'
lib='/am/rgd/news/lib'
libexp='/am/rgd/news/lib'
nametype='bsd'
cc='cc'
cflags='-O'
iandd=''
rrninclude=''
termlib='-ltermlib'
jobslib=''
socketlib=''
getcwd='undef'
getwd='define'
setbuffer='define'
setvbuf='undef'
dirtype='dirent'
dirinc='<dirent.h>'
ndirlib=''
libndir='undef'
usendir='undef'
ndirc=''
ndiro=''
posix=''
pager='/usr/ucb/more'
mailer='/usr/lib/sendmail'
internet='define'
rnbin='/usr/local/bin'
filexp='/usr/local/lib/trn/filexp'
distlist=''
Log='$Log'
Id='$Id'
sitename='calvin.dgbt.doc.ca'
hostfile=''
domain='dgbt.doc.ca'
orgname="Communications Research Centre, Ottawa, Canada"
isadmin='define'
newsadmin='news'
rnlib='/usr/local/lib/trn'
mtlib='/usr/local/lib/trn'
mansrc='/usr/man/manl'
manext='l'
maildir='/usr/spool/mail/%L'
spool='/tmp'
serverspool=''
active='/usr/lib/news/active'
myactive='.falseactive'
activetimes='nntp'
mininact='define'
pref='/bin/csh'
defeditor='/usr/ucb/vi'
rootid='0'
mboxchar='F'
locpref='dbr'
orgpref='marvin'
citypref='ott'
statepref='ont'
cntrypref='can'
contpref='na'
strchr='undef'
memcpy='undef'
rename='define'
ftruncate='define'
usleep='define'
uselect='undef'
strftime='define'
xnxlib=''
chsize='undef'
tzset='undef'
threaddef='TRUE'
selectdef='TRUE'
threaddir='/am/rgd/news/lib/trn'
syslog=''
novoid='undef'
novfork='undef'
sunos4='define'
portable='define'
passnam='define'
berknam='define'
usgnam='undef'
whoami='undef'
termio='undef'
termios='undef'
fcntl='define'
ioctl='define'
ptem='undef'
normsig='define'
sigblock='define'
sigret='void'
sighold='undef'
getuidgid='define'
havetlib='define'
getpwent='define'
gethostname='define'
douname='undef'
phostname='undef'
hostcmd='hostname'
norelay='define'
rdchk='undef'
isrrn='define'
xthread='undef'
serverfile='/usr/local/lib/rn/server'
ignoreorg='undef'
NNTPSRC='/am/bg/util/news/nntp'
CONFIG=true
--
Andrew Patrick, Ph.D. Communications Research Centre, Ottawa, CANADA
andrew@calvin.dgbt.doc.CA
"Making computers do the things they do on television."
"Making television do the things that computers do."
Technical Details
Message-ID:
<1991Dec31.171223.1571@rick.dgbt.doc.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.edu!utgpu!cunews!nrcnet0!dgbt!rick.dgbt.doc.ca!calvin.dgbt.doc.ca!andrewShow Full Headers
Complete Article Headers
Message-ID: <1991Dec31.171223.1571@rick.dgbt.doc.ca> Subject: Problem with TRN running via NNTP and remote thread database Date: Tue, 31 Dec 1991 17:12:23 GMT From: andrew@calvin.dgbt.doc.ca (Andrew Patrick) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sources.d.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!cs.utexas.edu!utgpu!cunews!nrcnet0!dgbt!rick.dgbt.doc.ca!calvin.dgbt.doc.ca!andrew Newsgroups: news.software.readers,comp.sources.d Summary: configuration confusion Keywords: trn NNTP configuration Sender: news@rick.dgbt.doc.ca Nntp-Posting-Host: calvin.dgbt.doc.ca Organization: Communications Research Centre, Ottawa, Canada Lines: 163