[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

1264.0. "HELP with UNSHAR on the Amiga" by PAULUS::LUKAS (Dieter Lukas, DEC Frankfurt, @FRO) Mon Mar 21 1988 06:03

	When I try to unshar a UNIX-like shell archive (.shr files)
	on my Amiga, I always get a Guru (illegal instruction, address
	error).
	I used "Shar" from FF28 and "Sh" from FF92 to unpack the .shr files,
	but both don't work.
	Has anybody get it work ?
	What I'm doing wrong, or is there a bug ?


	- Dieter
T.RTitleUserPersonal
Name
DateLines
1264.1Use the VAXWJG::GUINEAUDo you know we exist?Mon Mar 21 1988 12:474
I always unshar them on the VAX, then ARC 'em for AMY.

John
1264.2try re-compile??MVCAD3::BAEDERD. Scott DTN 237-2961 SHR1-3/E19Mon Mar 21 1988 15:198
    I've never had any problems...Have you tried re-compiling the shar
    code??  I know Dave Weckers one works fine on both vax and ami.
    
    code (and vax exe) are in mvcad3::user0:[amiga.tools]shar.*
    
    scott.
    
    
1264.3Answer?WHYVAX::KRUGERTue Mar 22 1988 13:484
    Did you uuedcode first? If the stuff looks like junk, you run uudecode
    and THEN unshar.
    
    dov
1264.4BAGELS::BRANNONDave BrannonTue Mar 22 1988 20:462
    one other possibility - try a STACK 10000 before you use shar.
    -dave
1264.5It was a stacksize problemPAULUS::LUKASDieter Lukas, DEC Frankfurt, @FROThu Mar 24 1988 06:518
    
    	Thanks to all for your inputs,
    
    	it was a stacksize problem.
    	I tried to unshar with a stacksize of 10000 and it works fine
    	now.
    
    	-Dieter
1264.6whats wrong docMEO78B::MANDERSONAmiga + '030 == MicroCRAYThu Jan 16 1992 19:4815
    Well heres another shar/unshar problem....
    
    
    I have ftp'ed some postscript font files from cica.cica uni. 
    In the ftpmail request I used binary and uuencode.
    They came back as 4 seperate files as expected. now the fun part -
    I run uudecode over the 4 concatenated (no header) files. this makes
    the file named in the first line of the file (ftpmail.uu).
    
    then running the vax zip over this to extract it it crashes on the
    second file. I then tried to rerun zipover the first zip file extracted
    - and it crashed after a few files.
    
    any ideas on what I am doing wrong. I hope i dont have to keep
    re-requesting the files from cica as there are a lot of them....
1264.7cvtarc uSTAR::GUINEAUnothing personal...Thu Jan 16 1992 21:5612
Typically after uudecoding something, you need to cvtarc the resulting file.

What I usually do is:

	1. concatenate/delete headers on all parts
	2. change the ftpmail.uu name to something more reasonable
	3. uudecode it
	4. cvtarc u <file>
	5. lharc -l <file>   (lharc, zoo, arc, whatever the format is)

john
1264.8Trailers, also...STAR::DCARRGuru: a 4-letter word to Amiga ownersFri Jan 17 1992 00:391
    Don't forget those pesky internet trailers, too.
1264.9try UUCATARRODS::GOLDSTEINSteve G. DTN: 847-5401Fri Jan 17 1992 06:1234
    
    	There was a recent note regarding a new program that lets you 
    
    use the different file with the headers and trailers...
    
    
    Here is the docs from it program
    
    
    UUCAT.EXE is a VMS utility to concatinate a bunch of uuencoded file
    segments received via FTPMAIL and uudecode them ignoring any header
    or trailer information as it goes.
  
    You must install it as a foreign command, ie:

    $ uucat :== $disk:[user]uucat.exe

    The command syntax is:

    $ uucat file1 file2 file3 ... filen

    where file1 file2 etc are segments of the file to be concatinated and
    uudecoded. The segments must be listed in order! You of course can give
    it a single file to be uudecoded as well. The resultant file is a uudecoded
    stream-lf file already for file transfer etc!

    Enjoy,
    AMIGA::RIES, Frank
    
    
    
    
    	Hope this Helps.
    	Steve G
1264.10Thanks, now to find UUCATMEO78B::MANDERSONAmiga + '030 == MicroCRAYFri Jan 17 1992 10:327
    thanks - now to track down uucat. 
    
    Have also had a kind mail offer to help - and when we get further down
    the track will post the files here (are a bunch of postscript fonts).
    
    many thanks
    kevin
1264.11STAR::GUINEAUnothing personal...Fri Jan 17 1992 12:075
>    thanks - now to track down uucat. 

It's at EOT::AMIGA:[UPLOAD]

john
1264.12another alternative...STAR::DCARRGuru: a 4-letter word to Amiga ownersFri Jan 17 1992 18:599
     I didn't get a chance to mention this in my reply last nite, though
     it's been referred to in other notes concerning this problem (if I could
     only remember where). I've had good success with myuud.lzh (in the eot
     upload area) which has a vms executable myuud.exe in the archive. I've
     simply set up my foreign command as uud and let it run thru all the
     previously concatenated files (with headers and trailers intact). It
     knows enough to ignore them and has worked fine for me in the past.
     
     -Dom
1264.13SHAR which read VAXnotes extracts directly.SNOFS1::GERAGHTYSimon, SPR CS ISSun Jan 19 1992 23:0327
I have upload to EOT::AMIGA:[UPLOAD]NUSHAR.LZH (with NUSHAR.TXT) a modified
version of shar.c, as follows.

Here is a modified version of shar.c for AMIGA and VMS.

On VMS it can be used directly on VAXNotes extracts (including headers) to
unshar files. Just use the following:

$ shar == "$disk:[directory]shar.exe"
$ shar -u notes.txt

I also added some extra code to create subdirectories if the shar archive
specifies them. This works in most cases on AMIGA and VMS, but does depend on
the syntax encoded in the shar archive.

Simon Geraghty
Principal Analyst/Programmer

 _--_|\
/      \      SPR Digital Services Information Services
\_.--._/  ,
      v  '

A1:      simon geraghty @sno
VAXMAIL: snofs1::geraghty
DTN:     730-5209
M/S:     SNO2-2/E4