Thread View: news.software.readers
3 messages
3 total messages
Started by Widgeteye
Fri, 02 Jan 2004 21:30
[SLRN] Binary news group questions
Author: Widgeteye
Date: Fri, 02 Jan 2004 21:30
Date: Fri, 02 Jan 2004 21:30
36 lines
2464 bytes
2464 bytes
(1) When I download a binary from the alt.binaries.movies news group and answer the question whether I want to decode the file, I answer yes, of course, then it asks me whether I want to delete the unencoded file I answer yes. Then when I go to the directory $HOME/News there is nothing there. I am assuming the unencoding fails because these are YENC encoded files, SLRN doesn't understand yenc encoding so when I answer yes to delete the unencoded file I am deleting the only thing there. Am I pretty much on the right track in my thinking or am I all screwed up? Do I have to use a seperate unencoder to unencode these files? (2) When slrn shows the parts of a file it shows the file in up to 34 different pieces IOW, say movie.r01 is one part of a 49 part movie avi file. That movie.r01 shows up in slrn as something like; movie.r01(part1/34), just going by memory here, and there are 34 parts of the file movie.r01. Is there any way to get slrn to just show the movie.r01 file and not all it's parts? (3) Slrn is very slow in it's downloads because it only makes one connection to the news server. When using Pan I get download speeds of up to 188 k/s because it is making 4 connections at a time to the server. With slrn I get only about 46 k/s. Is there anyway to speed slrn up or is that the best it will do? Thanks in advance Widgeteye
Re: [SLRN] Binary news group questions
Author: Phil Boutros
Date: Sat, 03 Jan 2004 03:38
Date: Sat, 03 Jan 2004 03:38
96 lines
4070 bytes
4070 bytes
Widgeteye <Widgeteye@Widgets.com> wrote:
>
> I am assuming the unencoding fails because
> these are YENC encoded files, SLRN doesn't understand yenc encoding
> so when I answer yes to delete the unencoded file I am deleting the
> only thing there. Am I pretty much on the right track in my thinking
> or am I all screwed up?
No, that's pretty much it.
> Do I have to use a seperate unencoder to
> unencode these files?
Yes. You need yydecode. I believe it was a poster to this
group that posted a macro to incorporate Yenc decoding. I'll put it
at the end of this post.
> When slrn shows the parts of a file it shows the file in up to 34
> different pieces IOW, say movie.r01 is one part of a 49 part movie
> avi file. That movie.r01 shows up in slrn as something like;
> movie.r01(part1/34), just going by memory here, and there are 34 parts
> of the file movie.r01. Is there any way to get slrn to just show the
> movie.r01 file and not all it's parts?
Er...No. Why would you want to? All those "parts" are
independent Usenet posts. That way you can find out if all the parts
are there, and also put them in proper order.
> Slrn is very slow in it's downloads because it only makes one
> connection to the news server. When using Pan I get download speeds
> of up to 188 k/s because it is making 4 connections at a time to the
> server. With slrn I get only about 46 k/s. Is there anyway to
> speed slrn up or is that the best it will do?
I don't know of a way to do that. Sorry.
Here's the macro:
#v+
% setkey article yydecode_article "Y"
define yydecode_article()
{
variable n = 1;
variable decode_program="yydecode";
variable sted="", ngnavn, mnavn, tmp2;
if (get_yes_no_cancel ("Save tagged articles") <= 0)
return;
else
{
while (goto_num_tagged_header(n))
{
% Try to save tagged multiparts.
if (sted=="")
{
sted = get_variable_value ("decode_directory");
ngnavn = current_newsgroup();
tmp2 = sted+"/"+ngnavn;
mnavn = read_mini ("Temporary file (^G aborts): ","",tmp2);
}
pipe_article (sprintf ("cat >>%s", mnavn));
++n;
}
if (n == 1)
{
% No tagged articles found--decode current article only
pipe_article (decode_program);
} else
{
% Decode saved multiparts.
tmp2 = "Decode "+mnavn;
if (get_yes_no_cancel (tmp2) <= 0)
return;
% FIXME: Should change dir to decode_dir prior to yydecoding!.
pipe_article (sprintf ("%s %s </dev/null", decode_program, mnavn));
% FIXME: Should really ask user before deleting file. - DONE
tmp2 = "Delete "+mnavn;
if (get_yes_no_cancel (tmp2) <= 0)
return;
else pipe_article (sprintf ("rm %s </dev/null", mnavn));
}
}
}
#v-
Of course, you need to get yydecode first. The 'setkey
article yydecode_article "Y"' should be in your slrnrc.
Phil
--
AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS philb@total.net
http://ah61.com EKIII rides with me. http://eddiekieger.com
"And even though I've tried my best, I still can't find no happiness" - P. Tosh
Re: [SLRN] Binary news group questions
Author: Jurriaan (note: this is a workin...
Date: Sat, 03 Jan 2004 10:32
Date: Sat, 03 Jan 2004 10:32
95 lines
5961 bytes
5961 bytes
From: Widgeteye <Widgeteye@Widgets.com>
Date: Fri, 02 Jan 2004 21:30:26 GMT
>
>
> (1)
>
> When I download a binary from the alt.binaries.movies news group
> and answer the question whether I want to decode the file, I
> answer yes, of course, then it asks me whether I want to delete the
> unencoded file I answer yes. Then when I go to the directory $HOME/News
> there is nothing there. I am assuming the unencoding fails because
> these are YENC encoded files, SLRN doesn't understand yenc encoding
> so when I answer yes to delete the unencoded file I am deleting the
> only thing there. Am I pretty much on the right track in my thinking
> or am I all screwed up? Do I have to use a seperate unencoder to
> unencode these files?
recent uudeview libraries have yenc support, so you'll have to compile
slrn yourself and link in the uudeview library.
>
> (2)
>
> When slrn shows the parts of a file it shows the file in up to 34
> different pieces IOW, say movie.r01 is one part of a 49 part movie
> avi file. That movie.r01 shows up in slrn as something like;
> movie.r01(part1/34), just going by memory here, and there are 34 parts
> of the file movie.r01. Is there any way to get slrn to just show the
> movie.r01 file and not all it's parts?
Yes, recent slrn versions (0.9.8.0) can thread messages in this way.
>
> (3)
>
> Slrn is very slow in it's downloads because it only makes one
> connection to the news server. When using Pan I get download speeds
> of up to 188 k/s because it is making 4 connections at a time to the
> server. With slrn I get only about 46 k/s. Is there anyway to
> speed slrn up or is that the best it will do?
>
A patch exists at http://www.xs4all.nl/~thunder7 to have slrnpull use
multiple processes and download multiple groups at the same time. This
speeds things up quite a bit, if you're downloading articles from
multiple groups.
As the developer of this patch, I'm not quite satisfied with this, since
downloading a single group is no speedier. Therefore, I'm currently
experimenting with a patch that uses multi-threading and downloaded
multiple articles from one group in parallel.
I don't work on slrn itself, only on slrnpull, BTW.
Here's a small screendump [ sorry, long lines! ]
01/03/2004 11:05:23 slrnpull 0.9.8.0-jwk2 started.
01/03/2004 11:05:23 Reading /var/spool/XXXX/slrnpull.conf
01/03/2004 11:05:23 Connecting to host XXXX.xs4all.nl ...
01/03/2004 11:05:24 Authenticating XXXX ...
01/03/2004 11:05:24 Connected to host. Posting ok.
01/03/2004 11:05:24 Connecting to host XXXX.xs4all.nl ...
01/03/2004 11:05:24 Authenticating XXXX ...
01/03/2004 11:05:24 Connected to host. Posting ok.
01/03/2004 11:05:24 Connecting to host XXXX.xs4all.nl ...
01/03/2004 11:05:24 Authenticating XXXX ...
01/03/2004 11:05:24 Connected to host. Posting ok.
01/03/2004 11:05:24 Fetching articles for alt.binaries.XXXXXXX.
01/03/2004 11:05:24 alt.binaries.XXXXXXX: 547 articles marked for retrieval
01/03/2004 11:05:24 alt.binaries.XXXXXXX: 0 articles/0 headers already on disk
01/03/2004 11:05:24 alt.binaries.XXXXXXX: 547 articles to retrieve
0/547 (0 killed), Time: 00:00:08 (1:24542 2:19185 3:15226) total BPS: 58954 KB: 460
85/547 (0 killed), Time: 00:02:51 (1:67153 2:67341 3:64717) total BPS: 199213 KB: 33267
415/547 (0 killed), Time: 00:13:04 (1:62539 2:62482 3:63254) total BPS: 188275 KB: 144148
420/547 (0 killed), Time: 00:13:17 (1:62129 2:62317 3:62785) total BPS: 187231 KB: 145726
01/03/2004 11:22:11 alt.binaries.XXXXXXX: 547/0 (0 killed), Time: 00:16:47, BPS: 186019 KB: 182931
01/03/2004 11:22:11 Fetching articles for alt.binaries.XXXXXX-XXXXXX.
01/03/2004 11:22:11 alt.binaries.XXXXXX-XXXXXX: 3222 articles marked for retrieval
01/03/2004 11:22:11 alt.binaries.XXXXXX-XXXXXX: 0 articles/0 headers already on disk
01/03/2004 11:22:11 alt.binaries.XXXXXX-XXXXXX: 3222 articles to retrieve
256/3222 (0 killed), Time: 00:21:59 (1:60306 2:60653 3:61057) total BPS: 182017 KB: 234453
Notice how 3 thread at about 60 KBPS run into a total of 180 KBPS. Not
bad. I'm still working on this patch, but so far, it looks quite good.
If it's ready, it'll appear at http://www.xs4all.nl/~thunder7 and I'll
announce it, at least on the slrn-users list.
Good luck,
Jurriaan
--
W2K is a really good idea. Everyone else with a configuration like this
is using Unix, and they are all very interested in finding out if W2K
will work.
Eric Andruscava, PEG mailing list on
running 32 Progress databases on one server.
Debian (Unstable) GNU/Linux 2.6.1-rc1-mm1 4276 bogomips 0.26 0.16
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