Dec 112017
 
TENEX convert - convert tenex 36-bit files into standard 8-bit byte stream by discarding every 9th nibble.
File TENEX.ZIP from The Programmer’s Corner in
Category UNIX Files
TENEX convert – convert tenex 36-bit files into standard 8-bit byte stream by discarding every 9th nibble.
File Name File Size Zip Size Zip Type
TENEX.C 5053 1644 deflated
TENEX.DOC 1684 906 deflated
TENEX.EXE 11827 7266 deflated

Download File TENEX.ZIP Here

Contents of the TENEX.DOC file


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...

Cheers,
Dan Ts'o
[email protected]
[email protected]
...cmcl2!rna!dan
212-570-7671
Dept Neurbiology
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], 9/7/88
*
*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.
*/


 December 11, 2017  Add comments

Leave a Reply