🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #23377

Re: Can tin show article size?

#23377
From: Greg Berigan
Date: Mon, 24 Jun 1996 00:00
68 lines
3654 bytes
rob-l@superlink.net (Rob-L) wrote:

>I'd like tin to show the size of each article, or if it's a thread with
>several articles, show the size of the article I'd be reading with the tab
>key.  Any option to do that?  All I see is an author toggle.

That was a patch I made and is found in the 1.3beta unoff version.  It
will display the number of lines in the first unread article in a listed
thread or, if there are no more unread articles in that thread, the
number of lines in the first extant article of the thread.  Latest
version allows you to use your tinrc file to decide whether or not you
want that behavior.

>A lot of times I'm just checking out the
>first few paragraphs and quitting-out because it's a quote-a-thon or
>whatever.

The unoff version also has another one of my patches so that you can use
the ":" to skip all lines that start with the same character as the
first character of the last line displayed.  Very useful for skipping
all the included text or all of a uuencoded binary (doesn't work for
other encoding methods that don't use the same character to start every
line like base64, binhex, or binscii).

>Other times, somebody puts an 800K binary up with no indication
>of size or code format.  It's like, "Surprise! Part 3/4 of a base-64
>multi-part, 800K". :)  That's just plain rude, but it happens.

You can also use "i" to reprint the entire subject at the bottom of the
screen in case the subject is truncated.  Sometimes the part number gets
truncated on display of the subject list.

There's no way to get a preview of the message body before reading
without getting the whole article anyway.

>There's
>always a long pause before it comes up for reading.

That's because when you tell it to read an article, it gets the whole
article from the server and _then_ shows it to you.  Perhaps it could
show it as it gets it, but there will be a tradeoff: you won't have the
percentage at the bottom of the screen anymore.  It would have to become
a line count.

>This must cause a lot of data to be read from the server -- all for 
>nothing.  Is there a way to set tin to read just the first 2K, so articles
>can be previewed then tagged if wanted?  Lighten up the load on the
>server link a bit?

Perhaps there could be added a way to show just the headers and, upon
perusal of them, decide whether to continue showing the article.  The
way the servers work, you must fetch the whole article to see any of the
binary.  You can't just get the top 2K of the body.  You can however get
just the headers of an article.

Seeing just the headers could identify the posting as base64 encoded,
but I don't think it would be conclusive, what with the multi-part
messages.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/usenet/tin-ftp.html
     ___/___
  _-~_--<###)   "`Where's Crow?'  Huh.  I'm not supposed to say anything, but
<~c>' __--<       I did see that little moron heading towards the basement
 \_--=____#)      with a pickaxe in his hand." -- Tom Servo; MST3K: The Movie

Technical Details
Message-ID: <4qmia9$8k7@crcnis3.unl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <4qlo3h$qri@earth.superlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <4qmia9$8k7@crcnis3.unl.edu>
Subject: Re: Can tin show article size?
Date: Mon, 24 Jun 1996 00:00:00 +0000
From: gberigan@cse.unl.edu (Greg Berigan)
References: <4qlo3h$qri@earth.superlink.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 161871773
Organization: Dept of CS&E -- University of Nebraska-Lincoln
Newsgroups: news.software.readers