[net.micro.cbm] C64/UNIX communication & file xfers

nebula@sftig.UUCP (D.Donahue) (01/05/85)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***
This may be an old-hat issue to may of you, but I'm willing to bet that there are 
still alot of folks out there who would like to know the gory details about how to
use the C64, 1541 & UNIX (tm).  In any case, I've seen messages here to this effect.
I've been wondering myself for quite some time.  I've tried to contact some of those
people who were wondering how to do the same, but to no avail thus far.  I believe
the procedure is something like the following:

		1) Obtain an XMODEM type terminal program for the C64
		2) Obtain or write a TERMCAP and place it in /usr/lib/terminfo on the
		    UNIX (tm) machine
		3) Modify the .profile file on the UNIX (tm) machine

I suppose that from there you should be able to then dial the machine, communicate 
and be able to transfer files. In any event, is this the proper picture? If not,
would someone please post the PROPER procedure to this net?  While your'e at it,
please post a WORKABLE termcap as well.  I would like to be able to use C64 to xfer
files back and forth from machines at work.  If there are any other comments about
such operations, please feel free to send me mail or post it here.

					Thanks in advance,

					Doug Donahue
					AT&T Bell Labs
					201 522 6175
					btlunix!nebula

rfox@sdcsvax.UUCP (Richard Fox) (01/08/85)

> 
> 		1) Obtain an XMODEM type terminal program for the C64
> 		2) Obtain or write a TERMCAP and place it in /usr/lib/terminfo on the
> 		    UNIX (tm) machine
> 		3) Modify the .profile file on the UNIX (tm) machine
> 


This procedure is a little drawn out and not needed. I have recently (last night)
used xmodem to transfer to and fro unix to the 64. I did not need to declare a
term type to use the program, thus when asked I replied "dumb".
Then I used the xmodem command we have installed on line. If there are unixes
out there without this command then send me a reply and I'll see what I can
do. Anyways after typing the xmodem command on unix I transfer control to
xmodem and tell it what I want to do and the rest happens like magic. 

Here's a procedural example:

UNIX: xmodem rtcf <file name>   /* rt=receive text, cf error checking */
64:   upload
	<file name>
	<file type>
and the rest should be history.

Now this protocol works great for transfer of text files only, unless you 
make some modifications .. it doesn't interpret basic programs because of the
ascii mismatch but since a basic version of xmodem is only 20 blocks it should
be very easy to add the neccessary additions to make it work for basic program
files.


If there are still any questions or suggestions please send mail or post it to 
the net



rich