VMS C file type and stdio - help!
Rahul Dhesi
dhesi at bsu-cs.UUCP
Thu Aug 18 15:04:49 AEST 1988
In response to the request for a solution to the problem of how to
create a binary file under VAX/VMS that allows arbitrary seeks: There
is no ideal solution (other than switching to UNIX, of course), but you
can get by if you use stream-LF files.
Kermit will not let you transfer a stream-LF file without risking
corrupting it with newline conversions. The standard VMS "Kermit-32"
won't treat a stream-LF file as a binary file and sends it line by line
instead.
Kermit transfer can still be done, however. My bilf.c utility (that is
included with source code for zoo 2.0) will convert between stream-LF
and fixed-length-record (FLR) files. So to do a Kermit transfer, use
bilf.c to convert to FLR format, then transfer with Kermit as a binary
file. Or the other way around.
--
Rahul Dhesi UUCP: <backbones>!{iuvax,pur-ee,uunet}!bsu-cs!dhesi
More information about the Comp.lang.c
mailing list