🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49579

Re: inews: mandrake's got the man page but not the command

#49579
From: Russ Allbery
Date: Thu, 28 Dec 2000 23:07
18 lines
1595 bytes
In news.software.nntp, Dan Jacobson <jidanni@kimo.FiXcomTHiS.tw> writes:

> By the way, how can I sucessfully do, if I insisted:
> { echo post;cat my_ready_to_go_article_with_headers;echo .;}|telnet localhost 119
> which works if I cut & paste into telnet instead.

Add sleeps.  The problem with this pipeline is that it gives telnet data
before it's ready for it.  If you put a sleep 2 in the front, then a MODE
READER command and a sleep 1, then the post command, the cat, and the echo
of the period, it will probably work.

> And where'd those "405: OK" style nntp response output go?

Not sure what you mean here.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <yl1yusdu1q.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <m2k88kthep.fsf@localhost.localdomain>

Show Full Headers
Complete Article Headers
Message-ID: <yl1yusdu1q.fsf@windlord.stanford.edu>
Subject: Re: inews: mandrake's got the man page but not the command
Date: Thu, 28 Dec 2000 23:07:13 +0000
From: Russ Allbery <rra@stanford.edu>
References: <m2k88kthep.fsf@localhost.localdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp,alt.os.linux.mandrake
Organization: The Eyrie
Lines: 17
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)