[comp.sys.amiga] comp.binaries.amiga shar files are ANNOYING !

rkl@mva.cs.liv.ac.uk (Richard K. Lloyd) (04/28/89)

I just want to raise a small objection to the format of the postings to
comp.binaries.amiga. Not everyone uses UNIX to unpack/download binaries
(I'm sure that VMS is a very popular alternative) and hence not everyone
has access to shar.
   My point is that every line of the latest Amiga uuencoded binaries is
preceded by an 'X' (which is automatically stripped if you run it through
shar). If you are used to concatenating parts into one big uuencoded file,
then it's a REAL PAIN to strip the leading X off each line. The old system
didn't use to do this and I was happy with the minimal effort required to
concatenate files...please, please remove the X's !!!!!

Richard K. Lloyd,       **** This is a MicroVAX II running VAX/VMS V4.7 ****
Computer Science Dept., * JANET     : RKL@UK.AC.LIV.CS.MVA or              *
Liverpool University,   *             RKL@000010500211.FTP.MAIL            *
Merseyside, England,    * Internet  : RKL%mva.cs.liv.ac.uk@cunyvm.cuny.edu *
Great Britain.          ****************************************************

"What's the world's fastest microcomputer ? A Mac II at 5000 pounds ?
A 25Mhz Compaq 386 at 5500 pounds ? No, it's an Archimedes at 800 pounds !"

dwl10@uts.amdahl.com (Dave Lowrey) (04/29/89)

In article <4715@mva.cs.liv.ac.uk> rkl@mva.cs.liv.ac.uk (Richard K. Lloyd) writes:
>I just want to raise a small objection to the format of the postings to
>comp.binaries.amiga. Not everyone uses UNIX to unpack/download binaries
>(I'm sure that VMS is a very popular alternative) and hence not everyone
>has access to shar.
>   My point is that every line of the latest Amiga uuencoded binaries is
>preceded by an 'X' (which is automatically stripped if you run it through
>shar). If you are used to concatenating parts into one big uuencoded file,
>then it's a REAL PAIN to strip the leading X off each line. The old system
>didn't use to do this and I was happy with the minimal effort required to
>concatenate files...please, please remove the X's !!!!!
>
>Richard K. Lloyd,       **** This is a MicroVAX II running VAX/VMS V4.7 ****
>Computer Science Dept., * JANET     : RKL@UK.AC.LIV.CS.MVA or              *
>Liverpool University,   *             RKL@000010500211.FTP.MAIL            *
>Merseyside, England,    * Internet  : RKL%mva.cs.liv.ac.uk@cunyvm.cuny.edu *
>Great Britain.          ****************************************************
>
>"What's the world's fastest microcomputer ? A Mac II at 5000 pounds ?
>A 25Mhz Compaq 386 at 5500 pounds ? No, it's an Archimedes at 800 pounds !"

There is a "shar" program that runs on the amiga. If you would
like a copy, let me know.

-- 
-------------------------------------------------------------------

    "What is another word for 'Thesaurus'?"  Steven Wright

                          Dave Lowrey
                          Amdahl Corp.
                          Houston, Texas
                          (713)-850-8828
                         ...!{ames,sun,decwrl,uunet,....}!amdahl!dwl10

[ The opinions expressed <may> be those of the author and not necessarily
  those of his most eminent employer. ]

mjl@ut-emx.UUCP (Maurice LeBrun) (04/30/89)

In article <4715@mva.cs.liv.ac.uk> rkl@mva.cs.liv.ac.uk (Richard K. Lloyd) writes:
>I just want to raise a small objection to the format of the postings to
>comp.binaries.amiga. Not everyone uses UNIX to unpack/download binaries
>(I'm sure that VMS is a very popular alternative) and hence not everyone
>has access to shar.

All the tools necessary for unpacking comp.(sources|binaries).amiga
distributions -- shar, uudecode, and zoo -- will run quite comfortably
under VMS.  I got each of these to compile under Vax C with no
problems.  For utilities which need redirection (like uuencode), it is
sometimes helpful to write a .COM file front end that redefines
SYS$INPUT and SYS$OUTPUT as necessary.  The shar I use on the vax is
the one written by by Dave Wecker.  If you need a copy of shar.c or
uu/en/de/code.c, drop me a note and I'll send them out (they're
small).

Maurice LeBrun		      |   "So then I says to Borg, `You know,
Institute for Fusion Studies  |  as long as we're under siege, one of us
University of Texas at Austin |    oughta moon these Saxon dogs.'"
Internet: mjl@128.83.131.1    |
 (mjl@fusion.ph.utexas.edu)   |                   (Far Side)

giguere@aries5.uucp (Eric Giguere) (04/30/89)

Yes, but these files that are encoded with the X's in front need to have
the UNIX sed program around... I have shar, but not sed -- is there an
Amiga version?  I would much prefer to download a whole shar file down to
my Amiga and unshar it there than have to do it on Unix and download all
the little bits...

Eric Giguere                                  268 Phillip St #CL-46
For the curious: it's French ("jee-gair")     Waterloo, Ontario  N2L 6G9
Bitnet  : GIGUERE at WATCSG                   (519) 746-6565
Internet: giguere@aries5.UWaterloo.ca         "Nothing but urges from HELL!!"

schow@bnr-public.uucp (Stanley Chow) (04/30/89)

In article <12554@ut-emx.UUCP> mjl@emx.UUCP (Maurice LeBrun) writes:
>In article <4715@mva.cs.liv.ac.uk> rkl@mva.cs.liv.ac.uk (Richard K. Lloyd) writes:
>>I just want to raise a small objection to the format of the postings to
>>comp.binaries.amiga. Not everyone uses UNIX to unpack/download binaries
>>(I'm sure that VMS is a very popular alternative) and hence not everyone
>>has access to shar.
>
>All the tools necessary for unpacking comp.(sources|binaries).amiga
>distributions -- shar, uudecode, and zoo -- will run quite comfortably
>under VMS.  I got each of these to compile under Vax C with no
>problems.  For utilities which need redirection (like uuencode), it is
>sometimes helpful to write a .COM file front end that redefines
>SYS$INPUT and SYS$OUTPUT as necessary.  The shar I use on the vax is
>the one written by by Dave Wecker.  If you need a copy of shar.c or
>uu/en/de/code.c, drop me a note and I'll send them out (they're
>small).
>
>Maurice LeBrun		      |   "So then I says to Borg, `You know,
>Institute for Fusion Studies  |  as long as we're under siege, one of us
>University of Texas at Austin |    oughta moon these Saxon dogs.'"
>Internet: mjl@128.83.131.1    |
> (mjl@fusion.ph.utexas.edu)   |                   (Far Side)

I have a version of uudecode that can take a posting - complete with
headers, descriptions and all, and find the actual uuencoded portion
to decode. The old format (without the leading 'X') could be uudecoded
directly. The new format forces me to  go through sh.

BTW, even if tools are available (or can be ported), it is still
nicer to not have to use them. Also, all those extra 'X' doesn't really
do much except for wasting bandwidth and occasionally making a multi-part
posting necessary.
 
 ----

 As long as we are talking about format of the postings, does anyone
 have a program of a script that can go straight from rn to a single
 recombined file?


 Stanley Chow    ..!utgpu!bnr-vpa!bnr-fos!schow%bnr-public
		   schow@BNR.CA.BITNET

Disclaimer: No one pays me to play with Amiga, so all opinions on 
	    this topic are strictly my own.

new@udel.EDU (Darren New) (04/30/89)

In article <158@maytag.waterloo.edu> giguere@aries5.waterloo.edu (Eric Giguere) writes:
>I would much prefer to download a whole shar file down to
>my Amiga and unshar it there than have to do it on Unix and download all
>the little bits...

I have an Amiga version of unshar (and uuxcode). It not only will strip
all the X's and such, but it will also go looking for the
#!/bin/csh and stop at the exit, even if there is more than one
pair of these in the same file. I just use rn to concat all the
files of a particular posting together, kermit it down, and
run my unshar.  I can upload it to wherever (someone tell me where),
but since I almost certainly got it from usenet, it must already
be out there somewhere.            -- Darren

schow@bnr-public.uucp (Stanley Chow) (04/30/89)

In article <158@maytag.waterloo.edu> giguere@aries5.waterloo.edu (Eric Giguere) writes:
>Yes, but these files that are encoded with the X's in front need to have
>the UNIX sed program around... I have shar, but not sed -- is there an
>Amiga version?  I would much prefer to download a whole shar file down to
>my Amiga and unshar it there than have to do it on Unix and download all
>the little bits...
>

I have settled on what *I* think is a much better way:
     - unshar, uudecode, etc. to get all the raw files
     - zoo all the bits together.
     - btoa (smaller and much more robust than uuencoded)
     - down load
     - btoa -a to get back the zoo file

This means I get to look at the doc's before I down load, and the zoo'ed
file after btoa is usually much smaller than all the bits added together.
Also, with the error correction of btoa (and a MNP class 5 modem), I use
ASCII capture to download, getting very close to maximum modem through-put.
[Ha, I haven't gotten DNet to work yet, and Kermit is SLOW.]



Stanley Chow       ..!utgpu!bnr-vpa!bnr-fos!schow%bnr-public
		   Bitnet: schow@BNR.CA.BITNET

Disclaimer: My boss doesn't even know I am using the Unix boxes to
	    do this! No, I don't represent them.

tadguy@cs.odu.edu (Tad Guy) (05/01/89)

In article <158@maytag.waterloo.edu>, giguere@aries5 (Eric Giguere) writes:
>I would much prefer to download a whole shar file down to
>my Amiga and unshar it there than have to do it on Unix and download all
>the little bits...

Why download the little bits?  Use UNIX Zoo to put all those little
bits into one nice, clean zoo file and download that.  Doing this even
cuts down on your download time since the zoo file is going to be
smaller than all those uncompressed files...

	...tad

ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (05/01/89)

In article <158@maytag.waterloo.edu> giguere@aries5.waterloo.edu (Eric Giguere) writes:
>Yes, but these files that are encoded with the X's in front need to have
>the UNIX sed program around... I have shar, but not sed -- is there an
>Amiga version?  [ ... ]

	This can be done with 'Edit' (you know, that useless program that's
usually the first thing you delete out of your C: directory for space).

	What's more, I think this Edit command will do it for you:

	GE B/X//

	Which means, "Global Exchange at Beginning of line, substitute for
'X', '' (i.e. nothing)."

	This will probably also work:

	0(E B/X//;N)

	NOTE:  I have not actually tried these.  Caveat User.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	INET: well!ewhac@ucbvax.Berkeley.EDU
 \_ -_		Recumbent Bikes:	UUCP: pacbell > !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor

brianm@sco.COM (Brian Moffet) (05/03/89)

In article <4715@mva.cs.liv.ac.uk> rkl@mva.cs.liv.ac.uk (Richard K. Lloyd) writes:
>   My point is that every line of the latest Amiga uuencoded binaries is
>preceded by an 'X' (which is automatically stripped if you run it through
>shar). If you are used to concatenating parts into one big uuencoded file,
>then it's a REAL PAIN to strip the leading X off each line. The old system
>didn't use to do this and I was happy with the minimal effort required to
>concatenate files...please, please remove the X's !!!!!

Those 'X' characters actually have a purpose in life.  For example,
the word:

From

will cause problems when passed to mail on a new line.  Most mailers 
look for the word 'From' on a new line to denote who the message is
from.   By putting an 'X' in front of all the lines via shar, one
does not have to worry about getting a '>' prepended to the 'From'
on a new line.

------- Amigas bought early -------

I bought mine in Jan of 86, and am still going strong without
a single hardware problem.   Looks like I won't be buying another
computer anytime soon either... :-)

brian 
-- 
Brian Moffet			{uunet,decvax!microsoft,ucscc}!sco!brianm
 -or-				...sco!alar!brian
"I was everything you wanted me to be.  You were afraid, I was frightening."
My fish and company have policies.  I have opinions.

haeb@ibmpcug.UUCP (Harry Broomhall) (05/07/89)

In article <1fn=H29lt21010=prfA@amdahl.uts.amdahl.com> dwl10@amdahl.uts.amdahl.com (Dave Lowrey) writes:
>
>There is a "shar" program that runs on the amiga. If you would
>like a copy, let me know.
>
I too find the current format a pain.  I dewrap all postings on an Amiga
and hand unpicking all the Unix stuff is VERY tiresome.  In comp.binaries.ibm.pc
it is much simplified so that those with Unix facilities can de-shar and those
without don't have much knitting to do.  It would be nice if c.b.a followed
this practice.   Failing this a PD unshar and sed would be very handy, this
seeming to be the minimum to handle the postings.
   (I'm not against Unix,  I like the system very much - on a Unix box!)
       Regards,
          Harry Broomhall    (haeb@ibmpcug.co.uk)

-- 
Automatic Disclaimer:
The views expressed above are those of the author alone and may not
represent the views of the IBM PC User Group.

bader+@andrew.cmu.edu (Miles Bader) (05/07/89)

jms@tardis.Tymnet.COM (Joe Smith) writes:
> Mailers modify the header of the message.  They do not mangle the body
> of the message.

Clearly, /bin/mail isn't a mailer then...