home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
internet
/
uucode_68020
/
uucoders
/
more_uucode_ideas
next >
Wrap
Text File
|
1997-08-31
|
3KB
|
106 lines
To: bbanerje%sjuvax.sju.edu@relay.cs.net
From: bryce
Subject: Re: Question about uu*code
Return-Receipt-To: bryce
>I propose to add these to your version. Do you have any
>suggestions on how to implement the split files, in order that my
>additions remain compatible with the spirit of your
>implementation.
Don't consider it gospel, but here's what I just typed out:
part 1 of 2
table
................................
................................
begin 644 echo
M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29
M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB!
5<F%R>0!B860@87)G<PH"``````/RS
``
continue with file02
part 2 of echo
M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29
M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB!
5<F%R>0!B860@87)G<PH"``````/RS
``
end
size 336
Checksums are an extra character at the end of each line. Don't mess
with that. everything should be clearly labeled so a human can
figure out what is going on without prior knowlege of this format.
part 1 of 2 ;just a note to the human, ignored by readers
;indicates this is the first of 2 parts
table ;optional munch-proof table.
begin ;always at the real start
644 ;The unix mode. 644 default (666 was technical first choice :-)
echo ;name of the file
`` ;As you know, a line with just a space indicates the end.
;single quote is used instead of space because spaces always
;get truncated and `` evaluates the same on old uudeocdes.
;Two ``s are used in my version because it survives better.
continue ;in place of the "end". Old decoders will say "no end found"
;which is just what happended if it is continued...
with ;No need to terse... this makes the sentence clearer.
file02 ;the name of the next file to pick up
part ;indicates this is a part (pseudo-"begin")
02 ;which part?
of ;No need to terse... this makes the sentence clearer.
echo ;What are we part of?
end ;Finally the real end. Old decoders won't uudecode this
;module alone becuase it had no "begin".
size 336 ;final check.
In some cases the chaining to the next file is not going to work.
But it *will* be an indication for the human of where and how to
join it manually.
----------------
I'm told that all the fopens in both encode and decode need to be changed
from "r" and "w" to "rb" and "wb". It does not affect my Amiga Lattice
or Aztec compilers, but it is rummored to help the IBM-PC.
Checksum error messages should be of the form:
Checksum error on lines 1-99
Checksum error on lines 103-106
You might want to check if the proposed character is not on the table.
If this is the case, strip and shift as usual... but give a warning
with line and character number.
Remember that on any file " " (space) and "`" single start quote
must be treated as the same. "~" (circumflex) must be accepted for
"^" (caret).
*** SEND ME A COPY OF WHATEVER YOU DO ***
*** Be sure to use the version from COMP.SOURCES.MISC and not
COMP.SOURCES.AMIGA. The date in the first line or two should read
9/1/87 ***
> Binayak Banerjee
>{allegra | astrovax | bpa | burdvax}!sjuvax!bbanerje
> bbanerje%sjuvax.sju.edu@relay.cs.net
|\ /| . Ack! (NAK, ENQ, SYN)
{o O} .
(") bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce
U replace "hoser" with "cogsci" if you have trouble.
well!cogsci!bryce might also help.