[.MISC] This directory hold miscellaneous routines necessary for MAKE, VAXCIO, and CURSES. The compiler used was VAX C V2.2-015. The operating system was VMS 4.7. ASC2BIN.C - This is the source code to the program that takes an asciized file and converts it to binary. It does this in a very simple fasion; first by opening a 512 byte fixed block file, then by reading input from the first file, two bytes at a time, strip- ping of the high order nibble of both and creat a single byte that is written to the output file. This is a very crude implementation, but it works (!) and solves other stick issues of compression, expansion, file-attribute problems, etc. ASC2BIN.EXE - This is the pre-compiled/pre-linked ASCII to BINARY program. Use it by setting up a global symbol such as: $ ASC2BIN :== $:[dir]ASC2BIN.EXE Then use it as follows: $ ASC2BIN input-file output-file Either input-file or output-file can be a dash "-" and standard input or standard output will be assumed (as applies). ASC2BIN.OBJ - This is the pre-compiled ASC2BIN program. BIN2ASC.C - This program converts an binary file to an ascii file. I call this process asciized. The process is simple and is the reverse of what is described in ASC2BIN.C. BIN2ASC.EXE - This is the pre-compiled/pre-linked BINARY to ASCII program. Use it by setting up a global symbol such as: $ BIN2ASC :== $:[dir]BIN2ASC.EXE Then use it as follows: $ BIN2ASC input-file output-file Either input-file or output-file can be a dash "-" and standard input or standard output will be assumed (as applies). BIN2ASC.OBJ - This is the pre-compiled BIN2ASC program. VAXC_SHARE.OPT - An option file for linking in the shareable C RTL. Use it as follows: (an example) $ LINK ASC2BIN.OBJ,VAXC_SHARE/OPT