🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #7741

Re: Tin: NNTP_ABLE

#7741
From: D Zabriskie
Date: Thu, 17 Feb 1994 04:07
62 lines
3344 bytes
Iain Lea (iain.lea@anl433.erlm.siemens.de) wrote:
: Rob E. Payne (repayne@gamera.syr.EDU) wrote:
: :
: : When I compile tin 1.22 on Solaris 2.2/2.3 and try to run it (via
: : rtin), I get the following error message:
: : 	   Option not enabled. Recompile with -DNNTP_ABLE.
: :
: : I am trying to set tin up to read news from a remote server (*only*)
: :
: :        COPTS	= -c -DHAVE_TERMIO_H -DINDEX_DAEMON -DNNTP_ABLE
:                                      ^^^^^^^^^^^^^^
: Remove the INDEX_DAEMON define from COPTS and add -DNNTP_ONLY

I'm trying to do the same thing with linux. I get errors when I say 
make linux. and make halts :(

fuzzy:/hda4/news/tin-1.22# make linux
Compiling tin v1.22 for Linux (NNTP Ready)...
make[1]: Entering directory `/hda4/news/tin-1.22'
gcc -c -O -DHAVE_ISPELL  -static -DSYSV  -DNNTP_INEWS_GATEWAY=\"\"  
-DNNTP_INEWS_DOMAIN=\".dialup.access.net\"  
-DNNTP_DEFAULT_SERVER=\"news.panix.com\"  -DLIBDIR=\"/usr/lib/news\"  
-DSPOOLDIR=\"/usr/spool/news\"  -DNOVROOTDIR=\"/usr/spool/news\" active.c
In file included from /usr/include/features.h:141, from 
/usr/include/stdio.h:24, from tin.h:20, from active.c:15:
/usr/include/sys/cdefs.h:68: syntax error before `typedef'
active.c: In function `check_for_any_new_groups':
active.c:615: warning: passing arg 4 of `qsort' from incompatible pointer 
type
active.c:616: warning: passing arg 4 of `qsort' from incompatible pointer 
type
make[1]: *** [active.o] Error 1
make[1]: Leaving directory `/hda4/news/tin-1.22'
make: *** [linux] Error 1

My problem is I dont get the correct host/domain.name when I post from 
fuzzy.dialup.access.net via NNTP server at news.panix.com.

I am using slackware 1.1.1 and have linux kernel 0.99.pl15b,
with net-2e beta4 applied.

The binary provided with slackware fails to get the correct 
host and domain.name, so I thought I would try to compile
a tailored binary myself :-(.

example of provided binaries posted headers, the top 2 lines
seem to be used to display the posting user's location,
but they have bad data, the NNTP lines seem to the right data
though.

From panix!myhost.subdomain.domain!fuzzy Wed Feb 16 14:20:09 1994
Path: panix!myhost.subdomain.domain!fuzzy
From: fuzzy@myhost.subdomain.domain (Fuzzy)
Newsgroups: <edited>
Subject: test abc
Date: 16 Feb 1994 06:59:10 GMT
Organization: *fuzzies* and *e-hugs*
Lines: 3
Message-ID: <2jsg7u$g0t@news.panix.com>
NNTP-Posting-Host: fuzzy.dialup.access.net
X-Newsreader: TIN [version 1.2 PL2]
 
Technical Details
Message-ID: <2juqi5$kgi@panix.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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!panix!not-for-mail
References: <REPAYNE.94Feb14172249@gamera.syr.EDU> <1994Feb16.092238.28741@anl433.uucp>

Show Full Headers
Complete Article Headers
Message-ID: <2juqi5$kgi@panix.com>
Subject: Re: Tin: NNTP_ABLE
Date: Thu, 17 Feb 1994 04:07:33 +0000
From: dz@panix.com (D Zabriskie)
References: <REPAYNE.94Feb14172249@gamera.syr.EDU> <1994Feb16.092238.28741@anl433.uucp>
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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!panix!not-for-mail
Newsgroups: news.software.readers
Organization: PANIX Public Access Internet and Unix, NYC
Lines: 62
NNTP-Posting-Host: panix.com
X-Newsreader: TIN [version 1.2 PL2]