🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Rob-L Mon, 24 Jun 1996 00:00
Can tin show article size?
#23388
Author: Rob-L
Date: Mon, 24 Jun 1996 00:00
21 lines
1613 bytes
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.

I'm under the impression that tin must load-in the entire article when it
is selected for reading.  Is that true?  I never know if the article's
going to be long or short until I can see the size at the bottom of the
screen when I start reading it.  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.  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.  There's
always a long pause before it comes up for reading.

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?

Re: Can tin show article size?
#23377
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads