🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9771

Re: nn-6.6.alpha [posting failure/workaround]; was: now available - changes? what changes? [rant]

#9771
From: Dave Olson
Date: Mon, 21 May 2001 02:32
53 lines
3314 bytes
sam@s.netic.de (Sascha Geschwandtner) writes:

| Michael T Pins <mtpins@nndev.org> writes:
| 
| >Very strange.  You don't, perchance, have more than one thing named "vim"
| >sitting around?
| 
| No, there is just one thing called "vim".

Sorry about this.  When I made posting part of nn, rather
than a seperate program (because of the AUTH changes), I
was a bit simplistic about it.  It wants you to either have
EDITOR set to whatever you are using (or the nn editor variable),
or to find vi (not vim).

Unfortunately, if the exec fails, I don't print the error
message until *after* you say that you want to post it (it's
a delayed error from execute())...

I should have spent more time shaking out that set of changes,
but at the time I made them, I was "desperate" to get nn working
with the netscape news server with AUTH required.

Since setting "editor" fixed your problem, and Michael is rewriting
my change, I guess it's just a matter of documenting this for
the time being.


However:

| But I played around a little. After commenting 'clrdisp();' before
| 'prompt("Post it? ");' in answer.c, I could read the following
| error message when trying to follow-up:
| Lost connection to NNTP server localhost: Bad file descriptor

This sounds like there were at least two errors, and the second
overwrote the first.  Hmmm.  I have seen problems with a number
of servers that use AUTH, where they have fairly short timeouts,
and if you take more than the timeout to compose the reply, the
connection is closed, but not reopened on the error, as it normally
should be.  Turning on nntp-trace before you post will probably
show if that's what is happening.

If your news server doesn't have AUTH, then probably it's time
to turn on nntp-debug, or even go to "debug".  Or run it under
ktrace or strace (forget which freebsd has), and see what system
calls are failing at that point.


Dave Olson
olson@bengaltech.com
http://www.bengaltech.com/public/dave
Technical Details
Message-ID: <olson.990412364@redtail.bengaltech.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.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!redtail.bengaltech.com!olson
References: <iGTJ6.115$7i4.101266@ruti.visi.com> <2001-05-15T01-40-52@guckes.net> <slrn9g23lp.gja.cord@dexter.mediaways.net> <9drtaq$1qp$1@logos.dnsalias.org> <xgmM6.1025$Dd5.657842@ruti.visi.com> <9durnu$4pa$1@logos.dnsalias.org> <d9JM6.1179$Dd5.771677@ruti.visi.com> <9e692g$7u$1@logos.dnsalias.org>

Show Full Headers
Complete Article Headers
Message-ID: <olson.990412364@redtail.bengaltech.com>
Subject: Re: nn-6.6.alpha [posting failure/workaround]; was: now available - changes? what changes? [rant]
Date: Mon, 21 May 2001 02:32:44 +0000
From: Dave Olson <olson@redtail.bengaltech.com>
References: <iGTJ6.115$7i4.101266@ruti.visi.com> <2001-05-15T01-40-52@guckes.net> <slrn9g23lp.gja.cord@dexter.mediaways.net> <9drtaq$1qp$1@logos.dnsalias.org> <xgmM6.1025$Dd5.657842@ruti.visi.com> <9durnu$4pa$1@logos.dnsalias.org> <d9JM6.1179$Dd5.771677@ruti.visi.com> <9e692g$7u$1@logos.dnsalias.org>
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.tele.dk!194.42.224.136!diablo.netcom.net.uk!netcom.net.uk!redtail.bengaltech.com!olson
Newsgroups: news.software.nn
Organization: Dave Olson at home
Lines: 52
Sender: george@bengaltech.com
Reply-To: olson@bengaltech.com
NNTP-Posting-Host: c1355169-b.palto1.sfba.home.com
X-Trace: taliesin.netcom.net.uk 990412919 19536 65.12.8.245 (21 May 2001 02:41:59 GMT)
X-Complaints-To: abuse@corp.netcom.net.uk
NNTP-Posting-Date: Mon, 21 May 2001 02:41:59 +0000 (UTC)