🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #140276

Re: [SLRN] Binary news group questions

#140276
From: Phil Boutros
Date: Sat, 03 Jan 2004 03:38
96 lines
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
Technical Details
Message-ID: <slrnbvce97.7n5.philb@ah61.is-a-geek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
References: <slrnbvboo2.3vq.Widgeteye@widgeteye.homeip.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbvce97.7n5.philb@ah61.is-a-geek.com>
Subject: Re: [SLRN] Binary news group questions
Date: Sat, 03 Jan 2004 03:38:12 +0000
From: Phil Boutros <philb@total.net>
References: <slrnbvboo2.3vq.Widgeteye@widgeteye.homeip.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.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews2
Newsgroups: news.software.readers
Organization: Total lack of...
Lines: 96
NNTP-Posting-Host: p-846.newsdawg.com
User-Agent: slrn/0.9.8.0 (Linux)