Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!skat.usc.edu!acliu From: acliu@skat.usc.edu (Alex C. Liu) Newsgroups: comp.sys.cbm Subject: Re: UUENCODE / UUDECODE for C-64 Summary: Just a UUencode with some Quirks... No UUdecode... Keywords: uudecode, uuencode, c64 Message-ID: <21932@usc.edu> Date: 23 Dec 89 10:50:13 GMT References: <6579@brspyr1.BRS.Com> Sender: news@usc.edu Organization: Maze Inc. Lines: 48 In article <6579@brspyr1.BRS.Com> davef@brspyr1.BRS.Com (Dave Fiske) writes: >A short while ago, someone was looking for some UUENCODE/UUDECODE stuff >that had been posted on the net ages ago. I thought I had saved it, >but couldn't locate it, until today, when I found two compressed files >in my Humor subdirectory. Why I stored them there, I don't know, but >at least I found them. [ Some people actually think it is funny that you would try to implement uuencode/uudecode on a C64/128! :) ] >There is a UUENCODE program in BASIC, and it is pretty easy to follow. Yes the program is well written, and runs in 64 and 128 mode. It has some Quircks, though, It creates a STANDARD ASCII file, so when you upload the file, you must make sure your term program won't try to Convert what it thinks is a PETASCII code into standard ASCII. (You will end up wrong info) Also, the program ends a Line with a CR (CHR$(13)) which is not that smart on a Unix/amiga system that likes an LF (CHR$(10)) or on a CPM/MS-DOS system, that likes a CRLF. Besides that the program works like a charm... >The UUDECODE/UUENCODE program is, unfortunately, uuencoded. Thus, >you have to have a way to uudecode it before you can use it. >This sounds insane, but actually, if you can get the file to a PC or >mini-computer where you already have uudecode, you can transfer it in >binary fashion to your C-64, and you would then have a working version. Well, that file (Called CLINET when uudecoded) is NOT a uudecode program. It will Encode the program in some fashion but that is NOT UUencoding. It is most likely to be a Cyphering program for DATA SECURITY. Yes, I know, I wish there is a UUdecode program for the C64/128, but this one Ain't it! >Also, I should point out that I have never tried either of these. I >saved the BASIC program, just because it was an easy way to see how >UUENCODE works, and I saved the uuencoded file with the idea that >someday I might make the effort to actually transfer it onto my 64. >(I still haven't.) I already did. Nice try, and you got the thing ALMOST right... (I mean one program right out of two is not that bad! ;-) :-) ______________________________________________________________________ Alex C. Liu | INTERNET: acliu%skat@usc.edu Voice: (213) 749-2730 | BITNET: acliu%skat@gamera Q-Link: Alejandro | UUCP: ...!usc!edu