Article View: comp.sys.atari.st
Article #37965Re: UUE
From: "R. A. Quadling"
Date: Thu, 13 Apr 1989 10:38
Date: Thu, 13 Apr 1989 10:38
103 lines
4237 bytes
4237 bytes
Hello Chris Edington.
UUE is a UNIX program (so I have been told, but more on that later) which will
convert an 8-bit binary file (in fact it can be used on any file:7-bit or 8-bit)
to a 7-bit file.
UUD works the other way. It reconstitutes a 7-bit for to an 8-bit file.
PURPOSE: Some networks will only transmit 7-bits, so computer s/w usually needs
encoding so that it can be UUEncode/SENT -> RECEIVED/UUDecoded without
losing the data.
The original versions of these programs were written in 'C' for UNIX machines,
but the code has been successfully converted to run as a UUE.TTP and UUD.TTP
When using UUE.TTP (I have a fairly new version for my own use, so the operation
may be slightly different to what I do and what you do.), you double-click on
UUE.TTP and enter the filename to be encoded. On my version, I can enter a
command to create several files of UUEncoded data, each with a set number of
lines.
Eg: To UUEncode a file called MYPROG.PRG I would enter in the TTP dialog,
MYPROG.PRG
If I wanted to create files that only had 500 lines in (512 lines is about 32K)
I would enter,
-500 MYPROG.PRG
The reason for being able to set the file size (this in effect is what you are
doing when you set the number of lines) is that certain mailers will discard
the file after a certain amount has been read. (It is very difficult to give a
perfect size, but I have not had any problems with using files of 512 lines.)
When using UUD.TTP, you would do exactly the same, except that you do not need
to give a filesize. There is a different option available with UUD.TTP. It is
-d
Therefore, to decode a file,
MYPROG.UUE
If the encoded file is just 1 file. OR
MYPROG.UAA
Multiple files created by UUE are have the extendor .UAA then .UAB .UAC .UAD etc
When they reach .UAZ thy go to .UBA.......
The option -d gives details of what is happening when you are UUDecoding.
Eg.
-d MYPROG.UAA
will give something like this: (For the sake of an example, I am using a 3 part
file. MYPROG.UAA .UAB .UAC)
Begin uudecoding: MYPROG.PRG
Sequence checking on. /* Notes for this */
Reading next section from: MYPROG.UAB
Reading part b
Reading next section from: MYPROG.UAC
Reading part c
Finished uudecoding.
End of file.
You would then have a normal copy of MYPROG.PRG
NOTES: You will see the phrase : Sequence checking on.
This is a sort of check that goes on inside UUD to make sure that it can keep
track and prevent any errors whilst decoding. Some file are UUEncoded using an
older version and do not provide this function. When UUDecoding, they give :
No sequence checking.
That's about it.
You do of course have to ARC all the files you wish to send as all files get
bigger when encoded. EG: A file was 8632 bytes. When UUEncoded into 1 file it
became 12383 bytes. Not much agreed, but UUEncode a 250K demo, it becomes 358K.
(Approx. values)
If you do not know how to use ARC.TTP then I will send you the help files. If
you want them, please reply ASAP.
That's all,
Bye,
Gilbert.
=====================++========================================================
Richard Alan Quadling|| (JANET) S82895@UK.AC.PLYMOUTH.PRIME-A
11, Fellowes Place, || (BITNET) If you can fill in the blanks for me I would
Millbridge, || be very happy.
Plymouth, |+========================================================
Devon, || DISCLAIMER : Anything said by me is the truth as far as
England. || I know and I cannot be held responsible for any offence
PL1 5NB. || this causes. If you don't like what I say, then don't
Tel: (0752) 567045 || read it.
=====================++========================================================
Technical Details
Message-ID:
<8904131107.AA23560@ucbvax.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!prime-a.plymouth.ac.UK!S82895Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!prime-a.plymouth.ac.UK!S82895
From: S82895@prime-a.plymouth.ac.UK ("R. A. Quadling")
Newsgroups: comp.sys.atari.st
Subject: Re: UUE
Message-ID: <8904131107.AA23560@ucbvax.Berkeley.EDU>
Date: 13 Apr 89 10:38:05 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 103