🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by [RiC] Mon, 19 Jun 2000 00:00
[Xnews] Feature Request please :)
#62517
Author: [RiC]
Date: Mon, 19 Jun 2000 00:00
25 lines
1512 bytes
Hi,

I love the Xnews reader and have been using it for nearly 8 months. I used 
to use Agent but this is far better.

The feature I would like to be added or to be told where it is (if already 
added) is how to find out the size of a message in kb rather than lines.

I would like to see a size column added to the articles window that would 
show the size of the article in kb or Mb depending on the size.

For the time being is there any way of finding out the size of a message or 
can some one tell me how many bytes one line is so I can do some sort of 
rudimentary math and work out the size.


Thanks a lot,

keep up the good work Luu

---

[RiC]

Re: [Xnews] Feature Request please :)
#62521
Author: Dominik R.
Date: Mon, 19 Jun 2000 00:00
20 lines
1313 bytes
ric@aktive.getridofthis.co.uk ([RiC]) wrote in
<8F58BF5FAricaktivecouk@209.99.56.11>: 

>The feature I would like to be added or to be told where it is (if
>already added) is how to find out the size of a message in kb rather
>than lines. 
>
>I would like to see a size column added to the articles window that
>would show the size of the article in kb or Mb depending on the size

I second that wish!
-- 
Dom
http://Beam.To/Dominik/
Yapp's Basic Fact:
If a thing cannot be fitted 
into something smaller than itself, 
some dope will do it.

Re: [Xnews] Feature Request please :)
#62524
Author: J. B. Moreno
Date: Mon, 19 Jun 2000 00:00
21 lines
1615 bytes
Ross Presser <rpresser@NOSPAMimtek.com.invalid> wrote:

> alt.distinguished.ric@aktive.getridofthis.co.uk
> ([RiC]).wrote.posted.offered: 
> 
> >The feature I would like to be added or to be told where it is (if
> >already added) is how to find out the size of a message in kb rather
> >than lines. 
> 
> This doesn't currently exist and doesn't seem very likely.  Xnews can
> guess using rules like you would (see below) but there's *no* way to be
> sure that an article really contains a binary file, let alone how big
> it will be.

Actually this is indeed possible -- the size in bytes is typically
returned as part of the xover command.

-- 
John B. Moreno

Re: [Xnews] Feature Request please :)
#62551
Author: Ross Presser
Date: Mon, 19 Jun 2000 00:00
42 lines
2411 bytes
alt.distinguished.ric@aktive.getridofthis.co.uk
([RiC]).wrote.posted.offered: 

>The feature I would like to be added or to be told where it is (if
>already added) is how to find out the size of a message in kb rather
>than lines. 

This doesn't currently exist and doesn't seem very likely.  Xnews can 
guess using rules like you would (see below) but there's *no* way to be 
sure that an article really contains a binary file, let alone how big 
it will be.

>For the time being is there any way of finding out the size of a
>message or can some one tell me how many bytes one line is so I can
>do some sort of rudimentary math and work out the size.

There is *no* way to tell for sure, but one can make a good guess.

Firstly, there is no mandatory line length for either uuencode or 
base64 encoding.

Secondly, spammers often post attachments with large numbers of blank 
lines, or a lying "Lines:" header, just to get people to read their 
spam.

However, it is possible to guess and be right much of the time.  Almost 
all uuencoded files use a maximum line length of 81, including the "M" 
start.  There are 3 uuencode characters per 2 bytes.  Therefore, each 
line in a uuencoded file contains 80*0.67 = 53.333 bytes of the 
original file, or to put it another way, 19.2 uuencoded lines equal 
1024 bytes.  Divide the number of lines by 19.2 and you'll get an upper 
bound on the uuencoded file size in K (additional lines mean the result 
file will be slightly smaller).

Base64 should give a similar result, but I don't know the rules.
-- 
Ross Presser * ross_presser@imtek.com
'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
a state of *believing* that you are unable to solve a puzzle.'
- Andrew "Zarf" Plotkin, waxing philosophical again

Re: [Xnews] Feature Request please :)
#62576
Author: Ross Presser
Date: Tue, 20 Jun 2000 00:00
30 lines
1801 bytes
alt.distinguished.planb@newsreaders.com (J. B.
Moreno).wrote.posted.offered: 

>Ross Presser <rpresser@NOSPAMimtek.com.invalid> wrote:
>
>> alt.distinguished.ric@aktive.getridofthis.co.uk
>> ([RiC]).wrote.posted.offered: 
>> 
>> >The feature I would like to be added or to be told where it is
>> >(if already added) is how to find out the size of a message in kb
>> >rather than lines. 
>> 
>> This doesn't currently exist and doesn't seem very likely.  Xnews
>> can guess using rules like you would (see below) but there's *no*
>> way to be sure that an article really contains a binary file, let
>> alone how big it will be.
>
>Actually this is indeed possible -- the size in bytes is typically
>returned as part of the xover command.
>

Ack.  I was so sure he asked "can Xnews tell me the size of the
attachment" that I put my foot actually past my tongue.  Again. 
-- 
Ross Presser * ross_presser@imtek.com
'"Stuck" is not a state of being unable to solve a puzzle. "Stuck" is
a state of *believing* that you are unable to solve a puzzle.'
- Andrew "Zarf" Plotkin, waxing philosophical again

Re: [Xnews] Feature Request please :)
#62616
Author: Rich
Date: Wed, 21 Jun 2000 00:00
11 lines
1094 bytes
On Mon, 19 Jun 2000 19:00:10 GMT, Ross Presser
<rpresser@NOSPAMimtek.com.invalid> wrote: 

>Almost all uuencoded files use a maximum line length of 81, including
>the "M" start.

Actually, 61.



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