🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12246

client interupt of body in transit

#12246
From: Trevor Cordes
Date: Mon, 11 Nov 1996 00:00
54 lines
2670 bytes
(Note: this is regarding NNTP client programming or using NNTP connections via
straight telnet - it is not about any particular newsreader.)

Is there a way for a NNTP client program to interupt a message in transit?

Alternatively, is there a NNTP command to request just the first n (where n is
small, say 10) lines of a body?  Something like "PREVIEW" or something would
be nice.

A good analogy for the first questions is is using standard unix cat:

user>	$ cat long_file
cat>	file
cat>	This is the line (2/10000) or long_file
user>	^C
user>	$

In the example, there is a long file that once seeing the first few lines I
decided I didn't want to see more (or wait for 10000 lines to scroll by).
With cat one can just hit ^C in that situation and enter a new command.

So is there a way to do the same with NNTP?  Assuming there exists such a
method, it would hopefully be along the lines of:

user>	$ telnet news.foo.com 119
tel>	Trying...
tel>	Connected to news.foo.com.
tel>	Escape character is '^]'.
tel>	200 news.foo.com InterNetNews NNRP server INN 1.4 22-Dec-93 ready
user>	group news.software.nntp
tel>	211 166 19385 19550 news.software.nntp
user>	body 19550
tel>	This is the line (1/10000) of a long message
tel>	This is the line (2/10000) of a long message
tel>	This is the line (3/10000) of a long message
user>	^C
tel>	< stops sending message and awaits further commands >

It would appear ^C does not work.  I have also tried many other desperate
attempts to no avail.  All of the NNTP reference RFCs and drafts do not make
mention of a interupt option.  Perhaps one doesn't exist?  If so, confirmation
from someone would help me sleep better at night.

BTW, I don't want an answer like "just ignore the rest of the message" as my
software will be operated over a modem and messages can get quite long.

Thanks to all who help!

If you post a response, please CC via email to me as well as my local news
server is presently unreliable.


Technical Details
Message-ID: <3284A2C5.167E@cyberspc.mb.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3284A2C5.167E@cyberspc.mb.ca>
Subject: client interupt of body in transit
Date: Mon, 11 Nov 1996 00:00:00 +0000
From: trevor@cyberspc.mb.ca (Trevor Cordes)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail
X-Deja-AN: 195817081
Distribution: world
Sender: zorch@ftp.UU.NET
Organization: Cyberspace Online Information Systems
Newsgroups: news.software.nntp,news.software.readers,news.admin.technical