🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1050

Re: Problem with TRN running via NNTP and remote thread database

#1050
From: Wayne Davison
Date: Thu, 16 Jan 1992 23:32
39 lines
2543 bytes
Greg Earle (earle@poseur.jpl.nasa.gov) wrote:
> (1) The "xthread.patch" file is for the NNTP server.

No, it's for all of NNTP -- both the server and common directories are
affected, and the client code is in the common directory.  If you wish
to only install the client portion of the patches in the case where you
have deleted the server source code, you could sit through the patch
session pressing <return> for every "File to patch: " prompt and 'y'
for each "skip this patch?" prompt and you will end up patching what is
needed.

>     I just need the necessary bits of NNTP 1.5.11 to compile trn as
>     an NNTP client.  I think that's only common/clientlib.c and common/nntp.h.

Yup.  That's them.  If you edit out the patches for just these two files,
you could apply them separately, if you like.  Having a separate client
and server patch was considered, but I thought it wasn't needed.  Perhaps
I was wrong.

>     Also, my clientlib.c doesn't reference any "clientlib.h" (which
>     a patch for exists in the "xthreads.patch" file)?

It is interesting that no one appears to use the clientlib.h file.  It was,
however, updated with the latest clientlib.c changes to keep it current.

> (2) At the tail end of server.h, you'll get bitten by 
> # if defined(XTHREAD) && !defined(OK_BIN)
>      ??????  /* This version of NNTP doesn't have XTHREAD support */
> # endif
>     if you haven't figured out that you need to apply a subset of the
>     "xthread.patch" file.

That's what it's there for.  Trn-xthreads can't compile without the XTHREAD
changes to the clientlib, and what better way to fail than to tell you that
you need to add the XTHREAD support to your NNTP?
-- 
 \  /| / /|\/ /| /(_)    Wayne Davison
(_)/ |/ /\|/ / |/  \     davison@borland.com
   (W   A  Y   N   e)
Technical Details
Message-ID: <1992Jan16.233207.4665@borland.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!decwrl!borland.com!davison
References: <1992Jan9.113435.4212@urmel.informatik.rwth-aachen.de> <1992Jan13.072355.10292@borland.com> <1992Jan16.080409.7392@elroy.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
Message-ID: <1992Jan16.233207.4665@borland.com>
Subject: Re: Problem with TRN running via NNTP and remote thread database
Date: Thu, 16 Jan 1992 23:32:07 GMT
From: davison@borland.com (Wayne Davison)
References: <1992Jan9.113435.4212@urmel.informatik.rwth-aachen.de> <1992Jan13.072355.10292@borland.com> <1992Jan16.080409.7392@elroy.jpl.nasa.gov>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!decwrl!borland.com!davison
Newsgroups: news.software.readers
Keywords: trn
Organization: Borland International