CompuServe Thread

UUencodes

17 messages in this thread
#216196From: Paul IdolOct 22, 1995 5:00 PM
Sean- Just to be sure, you've tried UUXT by Asher Feldman? And they can't uudecode your files either? Sounds like maybe they're not using uucoding but think they are… Mr. Zombie
#216411From: Sean HannonOct 24, 1995 9:40 AM
Yup, I've used them all. And I'm not convinced that these are standard uuencoded files, even though the "M" appears at the beginning of each line. I await to hear from my friends o'er thar about just what it is they are sending. And thanks, Asha, for your input. I'd write a separate note but I'm bushed! 🙂 Sean Hannon Ad Rats – Stamford, CT
#216452From: Dr. Erich KuesterOct 24, 1995 3:21 PM
Sean, I have tested it: VuePrint 4.1 generates perfectly correct uuencoded files, which can be read by UUxT. The program splits the uuencoded file in several parts: I get two files sample.uu1 and sample.uu2 from a file "sample.tif" with 19872 Bytes. I transferred the two uuencoded files to my Amiga, stripped off the carriage returns at the end of each line and executed in a shell the following command: UUxT x sample.uu1 sample.uu2 and the original file sample.tif was created again. I think, one of your problems is to extract the files in the right order from your mail. So look at the header of each file and name the file with section 1/3 (which means, that you have to rebuilt your original from three uuencoded files) in it file.uu1, the next one file.uu2 and the last one file.uu3 … The 3 is of course only an example. Then let UUxT do his job. Erich
#216522From: Sean HannonOct 24, 1995 10:53 PM
Getting closer by inches as it gets stranger!!! (Are you listening, Asha? Ueli? Paul?) When Dr. Kuester said his VuePrint worked at uuencoding files, I decided to ask my friend to send me a file one more time. He did, and this time, I noticed two separate files: section 1/2 and section 2/2, and the first one had the "begin" line, and all had "M"s at the front of the line. All well and good. EXCEPT… all the lines were of unequal length! So, I called my friend over the phone, and he assured me that his lines were equal in length. We then compared each line character for character for the first three lines, and what did we discover as a pattern? While all his lines were equal when he sent them, when I received them there were random insertionss of two characters: 3D There were 3D's scattered all over the file in just about every line. I then took the files into WordPerfect and Search&Replaced the 3D occurences with nothing, and BAM!, my lines were exactly even (except for one. Grrr!) I tried to load it into ADPro, and it gave me an error message alerting me to a corrupt GIF file, but at least it did recognize it as a GIF. When I continued to try to display what it had in memory, it showed a black screen with a single horizontal line of colored pixels at the very top. So, what do you suppose is introducing the 3D's into his sends? Also, is the =0D I see in lines near the top and bottom of the files the carriage returns you told me to remove? I did a test with them left in and removed with the same results. Sean Hannon Ad Rats – Stamford, CT
#216556From: Dr. Erich KuesterOct 25, 1995 11:48 AM
Sean, >when Dr. Kuester said … I would prefer "Erich" 😉 > what do you suppose is introducing the 3D's into his sends? How did you receive the files? Direct modem connection or via email? I have received uuencoded files very often yet, but I have not heard of such a behavior. If you agree, I can send you uuencoded files from my VuePrint via CompuServe CMail and you can have a look on it. > carriage returns you told me to remove The carriage return (CR = ASCII 13 = hex 0D) is a control character and normally invisible to the user. The MSDOS-PCs end each line with CR LF (ASCII 13 and ASCII 10) whereas Unix and the Amiga ends each line only with a Line Feed (LF = ASCII 10 = hex 0A). I am using CygnusEd to remove the CRs, because this program makes control characters (except LF) visible. Erich
#216558From: Paul IdolOct 25, 1995 11:51 AM
Sean- One thing I'd highly recommend is that you not use WordPerfect to edit textfiles. Often, word processors show unusual ASCII characters as something other than they are, and often they do reformatting and can add codes even is you specify saving as text only. A good programmer's text editor will get you a long way. As to the 3D stuff, is that what you see as soon as you receive the file, i.e. before anything else is touching it? Mr. Zombie
#216588From: Sean HannonOct 25, 1995 5:17 PM
Ya, Paul, the files contained the extra "3D"s when I got them in my C-mail. What freeware editor do you recommend for processing these files? I sent a copy of the files to Erich to see if he could do something with them. Sean Hannon Ad Rats – Stamford, CT
#216602From: Paul IdolOct 25, 1995 7:24 PM
>>Ya, Paul, the files contained the extra "3D"s when I got them in my C-mail.<< Huh. Don't know what to tell you about that. Maybe some expert type does. <g> >>What freeware editor do you recommend for processing these files?<< Can't help you there either. I use Edge, which was distributed by Inovatronics, before they went under. There are plenty of editors in the libs, here, though. Anyone? Mr. Zombie
#216709From: Dr. Erich KuesterOct 26, 1995 4:14 PM
Sean, I have solved your puzzle. The GIF file shows a man with a beard. Let me explain, how it works. But I do not know yet, why it works 😉 I put all messages you sent me in one file in the given order. The first line of this file have to be changed from section 1/2 file pmex2.gif [ VuePrint 4.1 ] =0D begin 644 pmex2.gif to section 1/2 file pmex2.gif [ VuePrint 4.1 ] begin 644 pmex2.gif three lines in the middle of the file have to be changed from M'G#X(8,.8%A$A1J,L"(5;MX(PY0?B%$!AE)ZF22%,V"XHH])2`IIN9!*ZH0( =0D section 1/2 file pmex2.gif [ VuePrint 4.1 ] =0D section 2/2 file pmex2.gif [ VuePrint 4.1 ] =0D to M'G#X(8,.8%A$A1J,L"(5;MX(PY0?B%$!AE)ZF22%,V"XHH])2`IIN9!*ZH0( section 1/2 file pmex2.gif [ VuePrint 4.1 ] section 2/2 file pmex2.gif [VuePrint 4.1 ] two lines at the end have to be changed from 3SZH4M(,,P"H`\%G/#E(#`0$`.\32 ` end =0D section 2/2 file pmex2.gif [ VuePrint 4.1 ] =0D to 3SZH4M(,,P"H`\%G/#E(#`0$`.\32 ` end section 2/2 file pmex2.gif [VuePrint 4.1 ] Now substitute in the whole file all occurrencies of =3D with = and all lines are equal now (except the last one, this one is without leading M). The next line has only a ` in it. Now split this file into two between the lines beginning with section 1/2 and section 2/2 circa in the middle of the file. Save the first part as test.uu1 and the second one as test.uu2 . Execute now the command UUxT x test.uu1 test.uu2 and the file pmex2.gif is generated with 34894 Bytes. Erich
#216784From: Sean HannonOct 26, 1995 10:17 PM
Give the man a cigar! Thank you, Erich, I followed your instructions and the man with the beard (my friend in L.A.) appeared in a jif… as `twere. I hope that I don't have to continue this strange character search&replace routine, but if it's what I must do, then do it I shall. Thanks so much for untieing this knot. (and thanks, Paul, Euli, & Asha, for your input as well.) Sean Hannon Ad Rats – Stamford, CT
#216832From: Sean HannonOct 27, 1995 10:59 AM
Erich, Now that I'm going, a ton o' questions… Can you tell me if I can use UUxt to uuencode small programs as well as pictures? Also, what kind of compression utility can we use on both platforms? He is using Windows 95 on a PC. Can I use LhA to crunch the program, and will he be able to decrunch it? I noticed that LhA 1.38 says in its description that it is compatible with MS-DOS systems. Does he just pop the same LhA program I use into his c directory? Am I able to create ZIPped files on the Amiga? Thanks, Sean Hannon Ad Rats – Stamford, CT
#216843From: Dr. Erich KuesterOct 27, 1995 12:37 PM
Sean, to answer your questions: ALL is possible on an Amiga :-)) You can use UUxT to decode all kinds of files. UUencoding is only a algorithm to change 8bit code into 7bit ASCII code to send it as normal internet mail. >I noticed that LhA 1.38 says in its description that it is compatible with MS-DOS systems. I have not tried this yet, but I think it is really true. But only for the files, that are generated by Lha. Lha itself must be another program written especially for those ugly PCs 😉 >Am I able to create ZIPped files on the Amiga? Download file GZIP.LHA from library 14 of forum AmigaUser. Erich
#217051From: Sean HannonOct 28, 1995 11:14 PM
Thanks, Erich. Which bank account did you want my check made out to? ;^) Sean Hannon Ad Rats – Stamford, CT
#216896From: John DraperOct 27, 1995 7:40 PM
Sean, <Can you tell me if I can use UUxt to uuencode small programs as well as pictures? Also, what kind of compression utility can we use on both platforms? He is using Windows 95 on a PC. Can I use LhA to crunch the program, and will he be able to decrunch it? I noticed that LhA 1.38 says in its description that it is compatible with MS-DOS systems. Does he just pop the same LhA program I use into his c directory? Am I able to create ZIPped files on the Amiga?> Lets see if I can cover all this in some sensible order…:) 1) Yes, Uuxt should allow you to decode the majority of uuencoded files, be they pictures, programs, whatever. 2) You can use either LHA or ZIP cross-platform. We have an ZIP and UNZIP program for the Amiga here (search for ZIP). 3) There is an LHA for clones, but it's a different program. Your friend cannot simply pop the same LHA into his c: directory (do clones even have a c: directory?). Your friend will have to find a PC version of LHA if that's the one you decide to go on. 4) Yes, using ZIP you can creat compatible ZIP files on the Amiga. Hope this helps! 🙂 Asha @}–,–`–
#217052From: Sean HannonOct 28, 1995 11:14 PM
> Hope this helps! 🙂 Indeed it does. The attention and care you give to our stumblings on this path is a gift to us all. Keep the rose blooming! Sean Hannon Ad Rats – Stamford, CT
#217164From: John DraperOct 29, 1995 9:44 PM
Sean, <The attention and care you give to our stumblings on this path is a gift to us all. Keep the rose blooming!> Thank you! (blush) Asha @}–,–`–
#216483From: John DraperOct 24, 1995 6:17 PM
Sean, <I await to hear from my friends o'er thar about just what it is they are sending. And thanks, Asha, for your input. I'd write a separate note but I'm bushed! :)> I understand, and you're welcome! If you find you need more help on this (or anything else I can help with) don't hesitate to ask! Asha @}–,–`–