🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10632

Re: [solved?] Problem with NN and /etc/nntpserver

#10632
From: Neil W Rickert
Date: Sat, 05 Mar 2005 18:58
35 lines
1952 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Neil W Rickert <rickert+nn@cs.niu.edu> writes:

>>Yes, it still prompts.  Clearly init is being read *after* authentication.

>As a quick workaround for anyone that wants this before nn-6.7 is released,
>find the following code in nn.c around line 858:

>#ifdef NNTP
>    if (who_am_i != I_AM_VIEW)
>        nntp_check();
>#endif


>Change it to:

>#ifdef NNTP
>    if (who_am_i != I_AM_VIEW) {
>        visit_init_file(0, argv[1]);
>        nntp_check();
>    }
>#endif

>Which should do the trick.

I just tried that.

	init error: Error in macro 1: Unknown word >>save-full<<
	init error: unknown key command: macro

It seems that something in my init file is not understandable until
later, where it was previously read.

I guess I should wait until nn-6.7
Technical Details
Message-ID: <d0cvgm$vqv$1@usenet.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.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!elk.ncren.net!news.niu.edu!not-for-mail
References: <4228ad45$1@aspen> <pY7Wd.476$ZB6.468@newssvr19.news.prodigy.com> <422952cc$1@aspen>

Show Full Headers
Complete Article Headers
Message-ID: <d0cvgm$vqv$1@usenet.cso.niu.edu>
Subject: Re: [solved?] Problem with NN and /etc/nntpserver
Date: Sat, 05 Mar 2005 18:58:30 +0000
From: Neil W Rickert <rickert+nn@cs.niu.edu>
References: <4228ad45$1@aspen> <pY7Wd.476$ZB6.468@newssvr19.news.prodigy.com> <422952cc$1@aspen>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!elk.ncren.net!news.niu.edu!not-for-mail
Newsgroups: news.software.nn
Organization: Northern Illinois University
Lines: 35
NNTP-Posting-Host: euclid.cs.niu.edu
X-Trace: usenet.cso.niu.edu 1110049110 32607 131.156.145.14 (5 Mar 2005
X-Complaints-To: abuse@niu.edu
NNTP-Posting-Date: Sat, 5 Mar 2005 18:58:30 +0000 (UTC)
X-PGP-Sig: v1.3.91 Subject,Control,Supersedes,From
 iD8DBQFCKgFTvmGe70vHPUMRAvc/AJkB3A8jASm0DpelnBBKLaigOG9jpACcCi/n
 evYpJK6iMlLL/l3WmtGBbnE= =w/ZU
User-Agent: nn/6.6.5