🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9874

Re: nn-6.6.0 now available

#9874
From: Neil W Rickert
Date: Sat, 22 Sep 2001 16:23
42 lines
2434 bytes
Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>Problem solved.

>My password is 9 characters long.  However getpass() truncates to 8
>characters.  The problem here is that nntp needs to meet the password
>requirements for a foreign system, while getpass() is designed for
>the passwords on the local system.

I found another bug -- sorry about that :-( .  Maybe you can complain
and call this a gcc bug.

I tried recompiling after adding

#define getpass getpassphrase

to config.h

Then I discovered that it won't compile under gcc-3.01.

The following patch appears to fix it:

--- Makefile	2001/09/22 16:00:44	1.1
+++ Makefile	2001/09/22 16:03:17
@@ -61,6 +61,7 @@
 	       -DCDEBUG="$(CFLAGS)" -Iconf MF.c | \
 	sed -e '1,/MAKE WILL CUT HERE/d' \
 	    -e '/^#/d' \
+	    -e 's/^        /	/' \
 	    -e '/^[ \f	]$$/d' \
 	    -e '/^[ \/]*[*]/d' | \
 	sed -n -e '/^..*$$/p' > ymakefile


Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
tabs into spaces, and that breaks your method of generating
ymakefile.

By the way, nn drops core on posting, if there is a bad path set
in the variable news-record

Technical Details
Message-ID: <FV2r7.2201$7g6.947933@newssrv26.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.monmouth.com!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail
References: <9oiahf$pb$2@husk.cso.niu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <FV2r7.2201$7g6.947933@newssrv26.news.prodigy.com>
Subject: Re: nn-6.6.0 now available
Date: Sat, 22 Sep 2001 16:23:01 GMT
From: Neil W Rickert <rickert+nn@cs.niu.edu>
References: <9oiahf$pb$2@husk.cso.niu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newspeer.monmouth.com!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail
Newsgroups: news.software.nn
User-Agent: nn/6.6.0
Lines: 41
NNTP-Posting-Host: 65.42.132.139
X-Complaints-To: abuse@prodigy.net
X-Trace: newssrv26.news.prodigy.com 1001175781 ST000 65.42.132.139 (Sat, 22 Sep 2001 11:23:01 CDT)
NNTP-Posting-Date: Sat, 22 Sep 2001 11:23:01 CDT
Organization: Prodigy Internet http://www.prodigy.com
X-UserInfo1: Q[R_PJON[RRARWDXKROLNFP@XB]BAAXOGHTVOBPLAH[\RZ]CDVW[AKK[J\]^HVKHG^EWZHBLO^[\NH_AZFWGN^\DHNVMX_DHHX[FSQKBOTS@@BP^]C@RHS_AGDDC[AJM_T[GZNRNZAY]GNCPBDYKOLK^_CZFWPGHZIXW@C[AFKBBQS@E@DAZ]VDFUNTQQ]FN