3.743 XXENCODE/DECODE (115)

Willard McCarty (MCCARTY@vm.epas.utoronto.ca)
Tue, 14 Nov 89 20:29:28 EST

Humanist Discussion Group, Vol. 3, No. 743. Tuesday, 14 Nov 1989.


(1) Date: Mon, 13 Nov 89 09:19:00 EST (33 lines)
From: Wujastyk (on GEC 4190 Rim-B at UCL) <UCGADKW@EUCLID.UCL.AC.UK>

(2) Date: Mon, 13 Nov 89 09:20:00 EST (33 lines)
From: Wujastyk (on GEC 4190 Rim-B at UCL) <UCGADKW@EUCLID.UCL.AC.UK>
Subject: xxdecode.c

(3) Date: Fri, 10 Nov 89 11:35 (31 lines)
From: Wujastyk (on GEC 4190 Rim-E at UCL) <UCGADKW@EUCLID.UCL.AC.UK>
Subject: xxencode/decode

(1) --------------------------------------------------------------------
Date: Mon, 13 Nov 89 09:19:00 EST
From: Wujastyk (on GEC 4190 Rim-B at UCL) <UCGADKW@EUCLID.UCL.AC.UK>


[Below is the C source-code for XXENCODE, an encoding program
that changes a file into characters able to survive transmission
across a network and through various operating systems. It is similar
to UUENCODE but uses a superior character set. Files thus encoded must
be decoded with XXDECODE. Both programs are in the public domain.

Notice that under VM/CMS, these require the Waterloo C compiler. Under
MS-Dos they require the Microsoft C compiler. The usual cc command works
under Ultrix.

XXENCODE has been supplied by Mr. David J. Camp,
david%wubios@wucfua.wustl. ]

-----xxencode.c-----

[remainder deleted]

--------------------
[A complete version of this file is now available on
the file-server, s.v. XXENCODE SOURCE. A copy may be obtained
by issuing the command -- GET filename filetype HUMANIST -- either
interactively or as a batch-job, addressed to ListServ@UToronto and
*not* to Humanist. Thus on a VM/CMS system, you say interactively:
TELL LISTSERV AT UTORONTO GET filename filetype HUMANIST; to submit
a batch-job, send mail to ListServ@UToronto with the GET command as
the first and only line. For more details see your "Guide to Humanist".
Problems should be reported to David Sitman, A79@TAUNIVM, after you
have consulted the Guide and tried all appropriate alternatives.]

(2) --------------------------------------------------------------35----
Date: Mon, 13 Nov 89 09:20:00 EST
From: Wujastyk (on GEC 4190 Rim-B at UCL) <UCGADKW@EUCLID.UCL.AC.UK>
Subject: xxdecode.c


[Below is the C source-code for XXDECODE, a decoding program
that takes a file encoded by XXENCODE and converts it back to its
original form. See the companion file XXENCODE SOURCE for more details.
XXDECODE is similar to UUDECODE but uses a superior character set.
XXDECODE is in the public domain.

Notice that under VM/CMS, this requires the Waterloo C compiler. Under
MS-Dos it requires the Microsoft C compiler. The usual cc command works
under Ultrix.

XXDECODE has been supplied by Mr. David J. Camp,
david%wubios@wucfua.wustl. ]




--------------------
[A complete version of XXDECODE is now available on
the file-server, s.v. XXDECODE SOURCE. A copy may be obtained
by issuing the command -- GET filename filetype HUMANIST -- either
interactively or as a batch-job, addressed to ListServ@UToronto and
*not* to Humanist. Thus on a VM/CMS system, you say interactively:
TELL LISTSERV AT UTORONTO GET filename filetype HUMANIST; to submit
a batch-job, send mail to ListServ@UToronto with the GET command as
the first and only line. For more details see your "Guide to Humanist".
Problems should be reported to David Sitman, A79@TAUNIVM, after you
have consulted the Guide and tried all appropriate alternatives.]

(3) --------------------------------------------------------------43----
Date: Fri, 10 Nov 89 11:35
From: Wujastyk (on GEC 4190 Rim-E at UCL) <UCGADKW@EUCLID.UCL.AC.UK>
Subject: xxencode/decode

May I make a plea that HUMANISTS familiarize themselves with the
XXencode/XXdecode programs? [Editor's note: see the above two
messages.] These are completely analagous to the UUencode/decode pair,
in that they translate a binary file (chars > 127) into a plain text
file (all chars <128, all lines shorter than 75 chars), and back again.

Where XXencoding scores over UUencoding is that XXencoding uses
only alphabetic characters and digits. UUencode uses the tilde,
caret, percent, and several other signs. Bitnet is notorious for
muddling these characters up, and if you get a two-to-one conversion,
you can't mend it.

Since HUMANIST is condemned to using Bitnet, we ought to agree
to use XXencode for file exchange, since it really does survive
the worst that Bitnet can do.

For those without a C compiler, I would be perfectly willing to
send in the DOS executables, but of course I would have to UUencode
them! So they might not survive the journey to Toronto and on to you.

Dominik