I had just spent a few hours uploading MSDOS stuff from SIMTEL20.
Back on my PC, I realized that while I had remembered to transfer everything
in binary mode (in FTP), that I had neglected to account for (is it called ?)
TENEX mode (since SIMTEL20 is a 36-bit machine). I decided it would be faster
to write a C program to convert the 36-bit data into good ol' 8-bit bytes,
than re-upload every. So here is the program. I used MSC 5.0. If anyone needs
a binary copy for MSDOS, I'll mail them one. I hope this wheel hasn't been
reinvented too many times...
Dan Ts'o[email protected][email protected]
The Rockefeller University
1230 York Ave.
NY, NY 10021
* TENEX convert - convert tenex 36-bit files into standard 8-bit
*byte stream by discarding every 9th nibble (hopefully its zero).
*Also convert TENEX 7-bit ASCII to standard 8-bit byte ASCII by
*discarding every 36th bit.
*Written by Daniel Ts'o, [email protected]
*Usage: tenex [-[t|b]] [-[v|q]] [files...]
*-tConvert 5x7bit ASCII (35+1bit packing) into 8-bit byte stream
*-bConvert 4*8bit binary (32+4bit packing) into 8-bit byte stream
(Default is -b)
*-vPrint progress on stderr
*-qQuietly delete nonzero bits
*If file arguments are given, they are converted "in place", using
*temporary file "tenex.tmp".
*If file arguments are missing, convert stdin to stdout (filter mode).
*Compile with MSC 5.0 on MSDOS:
*cl tenex.c \lib\setargv.obj /link /NOE
*to permit wildcard expansion.