🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #12376

Re: emacs 19.27 gnus unable to connect to nntpd

#12376
From: John Polstra
Date: Tue, 08 Nov 1994 17:30
28 lines
1995 bytes
In article <CMATTERN.94Nov1183253@ronin.mindspring.com>,
Chuck Mattern <cmattern@mindspring.com> wrote:
> I've just compiled and installed gnu emacs 19.27 from sources I found
> on ftp.funet.fi.  While I could access the news on my machine (inn
> 1.4) with the gnus that came with Slackware 2.0.0 running as a reader,
> I am unable to do so with the gnus that comes with the new package.
> It errors out with a message that it cannot connect to the nntpd.

To work with inn, news readers have to send a special command "mode
reader", which causes innd to fork an nnrpd process.  Nnrpd
contains the functionality for interacting with news readers
(as opposed to news feeders).

GNUS does not send the required command.  I solved this problem by
adding the following lines to my .emacs file:

    (setq gnus-startup-hook
      '(lambda ()
	(nntp-send-command "^[23].*\r$" "MODE READER")
	))

I am no emacs guru, but nevertheless I think this is a reasonable way to
solve the problem.
-- 
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                   Phone (206) 932-6482
   Seattle, Washington USA                         Fax (206) 935-1262
   "Self-knowledge is always bad news."                 -- John Barth
Technical Details
Message-ID: <39ock9$9ig@seattle.polstra.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!uunet!polstra!not-for-mail
References: <CMATTERN.94Nov1183253@ronin.mindspring.com>

Show Full Headers
Complete Article Headers
Message-ID: <39ock9$9ig@seattle.polstra.com>
Subject: Re: emacs 19.27 gnus unable to connect to nntpd
Date: Tue, 08 Nov 1994 17:30:49 +0000
From: jdp@polstra.com (John Polstra)
References: <CMATTERN.94Nov1183253@ronin.mindspring.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!uunet!polstra!not-for-mail
Newsgroups: gnu.emacs.gnus,news.software.readers,news.software.nntp
Organization: Polstra & Co., Seattle, WA
Lines: 28
Distribution: inet
NNTP-Posting-Host: seattle.polstra.com