Return to BSD News archive
Xref: sserve comp.unix.bsd:16598 comp.unix.questions:64492 comp.unix.misc:16995 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoknor.edu!news.ecn.uoknor.edu!paladin.american.edu!gatech!howland.reston.ans.net!nntp.crl.com!acara.snsnet.net!polo.iquest.com!dkelly.iquest.com!user From: dkelly@iquest.com (David Kelly) Newsgroups: comp.unix.bsd,comp.unix.questions,comp.unix.misc Subject: Re: Question about uuencode/decode Date: Wed, 17 May 1995 22:30:15 -0600 Organization: N4HHE Lines: 36 Distribution: world Message-ID: <dkelly-1705952230150001@dkelly.iquest.com> References: <3pbjji$9t6@galaxy.cs.ucsb.edu> NNTP-Posting-Host: n4hhe.iquest.com In article <3pbjji$9t6@galaxy.cs.ucsb.edu>, genek@galaxy.ucsb.edu (Gene Kostruba) wrote: > Hello, > > I am trying to download a uuencoded file from a Unix system to my PC. I am > using Procomm Plus 2.01 for DOS, and kermit. The file, call it x.zip, is > uuencoded on Unix as "uuencode x.zip x.zip > x.uue", with the corresponding 35% > increase in file size. I download x.uue to my PC with file type ASCII, and the > file x.uue on my PC reflects the insertion of CR's. Then running "uudecode > x.uue" on my PC terminates with the message "End not found", and the output > file x.zip is shorter than it should be. > > Running "uudecode x.uue" on Unix results in the correct x.zip file. > > This does not happen on every download. What is the nature of this error? It > seems uuencode on Unix is sometimes generating a character that is causing > uudecode on the PC to terminate. What is this character? Is this preventable? > > Thank you. > > ****************************************************** > Gene Kostruba... genek@cs.ucsb.edu > ****************************************************** Try adding a blank line at the end of the uuencoded file. A lot of programs get the "last line in file w/o <CR>LF>" situation wrong on PC's. Maybe you need to add this line at the PC end, the BSD end should also work. -- David Kelly N4HHE, n4hhe@amsat.org, dkelly@iquest.com ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.