[comp.sys.mac] Macintosh-->ProDOS

mustang@spock.UUCP (Neil McNeight) (02/20/90)

	I KNOW!!  There is an unwritten law stating that cross-posting
between Mac and Apple newsgroups is forbidden, but this question has to
do with both.

	I am having the darndest time trying to transfer files from the
Macs in the computer lab to my //gs in my room.  Before you go through
the trouble of thinking of some elaborate scheme I should use or
something I forgot, let me list what I know:

-I know these files should be Apple compatible because I download them
from comp.binaries.apple off of our VAX 11/780 (soon to be a Sun 3... I
hope :-).  Yes I realize these need to be BinSCII'ed (BinHex in Mac
terms) and un-Shrinkit'ed (un-Stuffit'ed for the Mac) and I
successfully converted BinSCII from VAX to Mac to Apple, but when I
ftp'ed sumex for Shrinkit and eventually converted it, it didn't work!
(Note: the BinSCII was a text file which I executed, when then produced
the real BinSCII (not like you Mac users know what th' he|| I'm talking
about :))

-Forget about any kind of direct link between //gs and VAX because...
	(1) I have no communications program, and
	(2) I'm NOT lugging my gs all the way to the computer center
	    unless I absolutely HAVE to.
 
-I've used Apple File Transfer 'till I'm blue in the face and still
nothing.  Does BinHex do the same job as BinSCII (for those of you who
are bi-lingual)?  Is there something on the VAX which does the same job
as BinSCII (forget about uuencode/uudecode)?

	Any help on the subject (mail or post) would be greatly appreciated.

-------------------------------------------------------------------------------
Neil McNeight			|"Does anyone know where the love of God goes"
Class of 1991			|"When the waves turn the minutes to hours"
Choate Rosemary Hall		|	-Gordon Lightfoot
Wallingford, CT			|	'The Wreck of the Edmund Fitzgerald'
Real Home: Marine City, MI	|--------------------------------------------- 
Real Life: Still searching	| Even!if!I@knew.my.path,I!wouldn't.tell!YOU! 
-------------------------------------------------------------------------------

toddpw@tybalt.caltech.edu (Todd P. Whitesel) (02/20/90)

If you left the files as text until you got them to the //gs, then few
things could go wrong, and those would be:

	binary mode used by FTP, so all returns in the file are actually
line feeds (unix uses linefeeds instead of returns).
	AFE (which is too F*cking slow because it thinks a prodos disk is a bad
quantum) might have used its default translation (it shouldn't) which would
preserve the linefeeds...
	even then, binscii should walk right past them without any problems.

could you describe exactly the method you've been using, and where the problems
show up?

Todd Whitesel
toddpw @ tybalt.caltech.edu

MARCELO@phoenix.princeton.edu (MARCELO) (02/21/90)

In article <1011@spock.UUCP> mustang@spock.UUCP (Neil McNeight) writes:
> -Forget about any kind of direct link between //gs and VAX because...
>         (1) I have no communications program, and
>         (2) I'm NOT lugging my gs all the way to the computer center
>             unless I absolutely HAVE to.
>  
> -I've used Apple File Transfer 'till I'm blue in the face and still
> nothing. 

     .. You could probably keep on using AFE " 'till I'm blue in the face" 
and never get anywhere .. The file that resides on comp.binary.apple (or 
whatever) is a text file .. Regardless of where that file ends up it will 
always be text .. That means it's text on the Vax on a Sun on a Mac on an 
IBM on an Amiga and on an Apple ][ .. There is no need to use AFE .. In 
fact if you do use AFE it takes this data which is for an Apple ][ and 
treats it like it was a Mac file (trouble begins here) .. Now we take this 
file and convert it to Apple ][ format using AFE (why?? it was in A ][ 
form to begin with) .. You now have a file filled with garbage That is 
useless to any and all machines .. 

huang@husc4.HARVARD.EDU (Howard Huang) (02/21/90)

In article <1011@spock.UUCP> mustang@spock.UUCP (Neil McNeight) writes:

>... I
>ftp'ed sumex for Shrinkit and eventually converted it, it didn't work!

Are you sure you got Shrinkit and not Stuffit?  As far as I know, sumex
only carries Mac software.  Try ftp'ing to husc6.harvard.edu or 
him1.cc.umich.edu to get Shrinkit.


>...Does BinHex do the same job as BinSCII (for those of you who
>are bi-lingual)?  Is there something on the VAX which does the same job
>as BinSCII (forget about uuencode/uudecode)?

BinHex and BinSCII are different.  There is source code (in C) for a
program called sciibin, which you can get from husc6 (in the Unix directory).
If you compile this prog on your VAX (soon to be a Sun), you can un-Binscii
files on the VAX and download them as binary.  However, it's probably
easier (but slower) to just download the text files (binscii'ed) to your
Mac and then un-Binscii them on the Apple II.

----------------------------------------------------------------------------
Howard C. Huang                        Internet:  huang@husc4.harvard.edu
Sophomore Computer Science Major       Bitnet:    huang@husc4.BITNET
Mather House 426, Harvard College      UUCP:      huang@husc4.UUCP (I think)
Cambridge, MA 02138                    Apple II:  ftp husc6.harvard.edu

pem@cadnetix.COM (Paul Meyer) (02/23/90)

In article <1011@spock.UUCP> mustang@spock.UUCP (Neil McNeight) writes:
>
>	I KNOW!!  There is an unwritten law stating that cross-posting
>between Mac and Apple newsgroups is forbidden, but this question has to
>do with both.
	I don't know it; then again, I don't tend to read the Apple group.
On the other hand, if you're not looking for a hardware solution, why did
you crosspost to c.s.m.h?
>
>	I am having the darndest time trying to transfer files from the
>Macs in the computer lab to my //gs in my room.  Before you go through
>the trouble of thinking of some elaborate scheme I should use or
>something I forgot, let me list what I know:

	I used to do this a little; I have both a Mac and a //gs at home,
and occcasionally pull things off the net for the //gs, but it's been a long
time since I did this (the last time was before the advent of BinScii, when
everything was in Executioner format).
	My problems usually started on the UNIX->Mac end of things; I had
lousy luck with text downloads, but got the PD source for xmodem and that
took care of it.  These days we have Macs at work and use TOPS...
	I'd guess that your problem is in text-file translation.  I've never
had the AFE text translator work for me; use the default (pure binary)
translation.  Make sure that the line-ends are correct for the Apple--the
Mac uses just a cr (ascii 13) for line-ends.  I don't know offhand what
ProDOS uses (you can tell which of my machines I do most stuff on).
I'd try the various permutations--make three copies of the file and
change all the line-ends to cr in one, to crlf in another, and to lf in the
last.  (I'd do all this on the Mac, using McSink or equivalent; I imagine
MS Word could do it with enough effort.)
	Lastly, perhaps the ProDOS file type bytes are coming out wrong?
Does Binscii expect a specific value that AFE doesn't put in?

	Do any of the folks with the MPW //gs tools have a tool to make this
job easier?

Paul Meyer                      pem@cadnetix.COM
Daisy/Cadnetix Inc. (DAZIX)	{uunet,boulder}!cadnetix!pem
5775 Flatirons Pkwy.            GEnie P.MEYER  CI$ 73627,1274  AoL LordKorath
Boulder, CO 80301               (303)444-8075x277

dcw@lcs.mit.edu (David C. Whitney) (02/23/90)

In article <11494@cadnetix.COM> pem@cadnetix.COM (Paul Meyer) writes:

>	Lastly, perhaps the ProDOS file type bytes are coming out wrong?
>Does Binscii expect a specific value that AFE doesn't put in?

BinSCII cares about NOTHING. Line-ends are ignored. Multiple parts to
decode can sit in the same text file. You can even process them out of
order. Have a party.

>
>Paul Meyer                      pem@cadnetix.COM
>Daisy/Cadnetix Inc. (DAZIX)	{uunet,boulder}!cadnetix!pem
>5775 Flatirons Pkwy.            GEnie P.MEYER  CI$ 73627,1274  AoL LordKorath
>Boulder, CO 80301               (303)444-8075x277


--
Dave Whitney
dcw@sun-bear.lcs.mit.edu  ...!mit-eddie!sun-bear!dcw  dcw@athena.mit.edu
My employer pays me well. This, however, does not mean he agrees with me.
I wrote Z-Link & BinSCII. Send me bug reports. I use a //GS. Send me Tech Info.

wombat@claris.com (Scott Lindsey) (02/24/90)

In article <11494@cadnetix.COM> pem@cadnetix.COM (Paul Meyer) writes:

	   Do any of the folks with the MPW //gs tools have a tool to make this
> job easier?

Yes, it's called DuplicateIIgs, but you have to have MPWIIgs in order to get
it.  A.F.E. is the only thing available to the masses.



Scott Lindsey     | I dig iguana in their outer space duds
Claris Corp.      |    saying, "Aren't you glad we only eat bugs?"
ames!claris!wombat| DISCLAIMER: These are not the opinions of Claris, Apple,
wombat@claris.com |    StyleWare, the author, or anyone else living or Dead.