• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.sunH A D03-May-2022628 3323

READMEH A D08-Oct-19933.2 KiB7760

README.ftpH A D05-Apr-1996743 1914

atob.cH A D08-Oct-19938.9 KiB403324

btoa.1H A D08-Oct-19933.6 KiB113112

btoa.cH A D03-May-20228 KiB361280

btoa.hH A D08-Oct-19931.7 KiB7246

chksum.hH A D08-Oct-1993805 2517

repair.cH A D08-Oct-19938.1 KiB339249

README

1             BTOA version 5.2
2            ------------------
3Written by Paul Rutter, Joe Orost & Stefan Parmark.
4
5
6Btoa was created from atob/btoa which were submitted to Usenet
7by Paul E. Rutter. Atob and btoa has now been merged into one
8program, now refered to as btoa.
9
10Btoa converts 4 binary characters to 5 ascii ones, causing a 25%
11expansion. Spaces will not be used, which should make it safe
12to send files over Usenet without risking that blanks become
13tabs.
14
15Decoding, which previously was done with atob, is now an option
16of btoa. See the manual for details.
17
18One of the drawbacks with the previous version of btoa was that,
19if there was an error in the file, atob only stated so, but gave
20no clue to its location. It used a checksum covering the
21total file, making it impossible to detect where the error was.
22I added a single-byte checksum for each row.
23
24Further, the file contained no information about the name of the
25output file. Rather, stdout was used. Version 5.0 has the feature
26to name the file contents. It can be turned off by reading data
27from stdin.
28
29A totally new feature is the ability to mend corrupted archives.
30This can be done as long as the header and last line are OK.
31It detects bad lines, informs the remote computer about this,
32which retransmits these lines in a special file, which btoa uses
33to repair the archive. See the manual for more details.
34
35Btoa uses characters between '!' and 'u'. Special characters are
36'z' meaning 4 consecutive zeros, 'y' meaning 4 spaces, and
37'x' as an end-of-archive mark. The 'y' was added be me, and will
38not be recognized by the old version.
39
40Old btoa encoding is still possible, as an extra option (see the
41manual). When decoding, btoa can tell if it's the old or new btoa
42format by looking at the header.
43
44I removed the feature to exit with no output if there was en error
45in the archive. This was done by using a temporary file for
46storage. This is not a good idea for micro computer folks like
47me, with limited storage possibilities. I hope all realize that
48you shouldn't run a file that was created from a corrupted archive.
49
50Most of the code was rewritten in order to make it execute faster.
51Special efforts have been made to optimize the atob part.
52Measured speeds are 30 kbyte/s on a Sun-3 and 4 kbyte/s on an
53Amiga. On the Amiga I used the VD0: recoverable RAM disk without
54FFS.
55
56I have tested btoa on an Amiga 1000 and a Sun-3, and it has
57worked very well. If you find it doesn't work on your favourite
58computer, drop me a note to one of the addresses below, preferably
59the top one, and I'll see what I can do. Also, if you port and/or
60improve it, please send me the diffs, and I'll include them in the
61next release.
62
63---------------------- DISCLAIMER -------------------------------
64
65I assume no responsibility for the use of btoa. It should work OK,
66and I have included lots of tests to make sure that files open,
67end-of-file is detected, etc.
68
69Btoa is in the public domain. You may use it, give it away, and
70make improvements, as long as the names of the developers are
71mentioned and you don't use it to earn money. It may NOT be used
72commercially without my permission.
73
74/Stefan Parmark
75        d84sp@efd.lth.se
76        d84spa@rigel.sunet.se
77

README.ftp

1The btoa version 5.2 source code was found on the net as follows:
2
3Host bigblue.pvv.unit.no    (129.241.210.232)
4
5Location: /store/store/ernie/btoa/src-5.2
6
7total 39
8-r--r--r--   1 store    52            217 Oct  8  1993 Makefile.sun
9-r--r--r--   1 store    52           3228 Oct  8  1993 README
10-r--r--r--   1 store    52           9140 Oct  8  1993 atob.c
11-r--r--r--   1 store    52           3690 Oct  8  1993 btoa.1
12-r--r--r--   1 store    52           8055 Oct  8  1993 btoa.c
13-r--r--r--   1 store    52           1764 Oct  8  1993 btoa.h
14-r--r--r--   1 store    52            805 Oct  8  1993 chksum.h
15-r--r--r--   1 store    52           8293 Oct  8  1993 repair.c
16
17Brent J. Nordquist (nordquist@platinum.com)
18Fri Apr  5 23:16:07  1996
19