🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10599

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

#10599
From: Arctic Fidelity
Date: Wed, 02 Mar 2005 04:41
45 lines
3022 bytes
Mike Hoehn <spamhere@birnehh.shacknet.nu> writes:

>Arctic Fidelity <af@homeunix.net> writes:

>>[...] Now, I'm still
>>having problems with my hostname...anyone want to tackle this? I'm going
>>to read up on some stuff and possibly hack some nn code to fix this.

>IIRC setting /etc/HOSTNAME to the fqdn worked for me. Although I never
>had problems, I suppose it's not meant to be used like this.

Tried that, didn't work. It should actually work like this, and I do
belive it was meant to be used like this, but it still didn't work. :-)

>>On the plus side, the problem with the nntpserver is no longer there!

>How did you actually solve that? I don't quite understand what you wrote.
>Was it just a bad value in the Makefile?

In the first section, I misinterpreted something and though that I should
use :

CC = /usr/bin/gcc
CPP = /usr/bin/g++

Since, this was obviously not correct, and the errors that I was getting
were dealing with things I had noted were part of C, but NOT part of
C++, or at least that were different, combined with the "bad style"
"invalid format" errors, I had an intuitive hunch that something was
going wrong with my presumed C++ compiler.

To test, I changed CPP to = /usr/bin/gcc -E, and what do you know? It
works.

>Personally I have hardcoded the nntpserver into the source, as well as
>the password. This way I don't have to type the password everytime I
>start nn. This might not be suitable for multiuser-systems, though.
>But I can live with it... :)

I can't really live with hard coding.

-- 
"Beware of bugs in the above code; I have only proved it correct, not
tried it."
		-- Donald Knuth
Technical Details
Message-ID: <3K-dnfKlsoRn3rjfRVn-gA@gvtc.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.20140326.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
References: <c8qdnSJxb57cXb3fRVn-qw@gvtc.com> <2005Feb27.232614.20624@jarvis.cs.toronto.edu> <u8OdnbulQNZ8Lr_fRVn-iQ@gvtc.com> <KrGdnVOTduSTbL7fRVn-tQ@gvtc.com> <42248260$0$24925$9b4e6d93@newsread2.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <3K-dnfKlsoRn3rjfRVn-gA@gvtc.com>
Subject: Re: [solved?] Problem with NN and /etc/nntpserver
Date: Tue, 01 Mar 2005 22:41:30 -0600
From: Arctic Fidelity <spam@sacrificumdeo.net>
References: <c8qdnSJxb57cXb3fRVn-qw@gvtc.com> <2005Feb27.232614.20624@jarvis.cs.toronto.edu> <u8OdnbulQNZ8Lr_fRVn-iQ@gvtc.com> <KrGdnVOTduSTbL7fRVn-tQ@gvtc.com> <42248260$0$24925$9b4e6d93@newsread2.arcor-online.net>
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.ams.giganews.com!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 01 Mar 2005 22:41:30 -0600
Newsgroups: news.software.nn
User-Agent: nn/6.6.5
Lines: 45
NNTP-Posting-Host: 64.185.189.174
X-Trace: sv3-Fl1aAx9/jK9k3STSl/CWpD3UA3fGlbhWam4Nm4F+zvlarMI6MLYRUSD+MAIsNuKlopi4qK8ACVSyseD!LnIEji5vaEKqFk/fmiA96ETgMPEN9LeLqqDDlD6UBJq7NMx+wBx/+wilc2OpI2j4tH5N
X-Complaints-To: abuse@gvtc.com
X-DMCA-Complaints-To: abuse@gvtc.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.31