From: dheap@gara.une.oz.au (David Heap)
Subject: Re: RT-11 data transfer query
Date: 1 Aug 91 06:01:41 GMT [thread overview]
Message-ID: <7937@gara.une.oz.au> (raw)
In-Reply-To: 1212@chiton.ucsd.edu
In article <1212@chiton.ucsd.edu> cdl@chiton.ucsd.edu (Carl Lowenstein) writes:
>In article <7879@gara.une.oz.au> dheap@gara.UUCP (David Heap) writes:
>-
>- I have a utility program (actually a minor enhancement of 'ansitape')
>-which will read RT11 format (& RT11 BUP format) magtapes properly (no fudges)
>-on unix. Directories, individual files etc. Vanilla ansitape will accept
>-RT11 tapes, but messes up data due to some errors in RT11 ansii headers. My
>-version identifies RT11 tapes & reacts accordingly.
>
>Is this the difference between v5.5 RT11 tapes and older ones, where the
>older tapes are less ANSI-compliant (512-byte header records, but v5.5
>actually uses the 80-byte headers.
While you are correct about the 512 byte headers on pre v5.5
RT11 tapes, ansitape didn't mind this, neither did RT11 when reading an
ANSI compliant tape. The incompatibilities are this:
RT11 BUP tapes leave the carriagecontrol field in HDR2 blank. It
should be 'E' -embedded. This causes ansii type tape programs to plug in
bogus record separators every 4096 bytes.
RT11 BUP tapes pad out the last record of a file to 4096 (or is it
8192?) bytes (I don't have the documentation handy). The actual block count
is embedded elsewhere in the header & must be retrieved so the last record
can be trimmed.
RT11 standard format tapes don't have a HDR2 record! My ansitape
version recognises an RT11 HDR1 & fills out the missing HDR2 information.
Ansitape appended a bogus 003 character to the end of RT11 files
(due to an internal ansitape problem).
>The Berkeley folks did it for 4.?BSD, called arff "archive floppy".
>Originally intended to read & write the console floppy device on a
>VAX780.
>
>Since then, arff has been greatly improved for DEC's Ultrix. Whoever
>worked on it actually understood RT11 file and directory formats. Of
>course, this doesn't do you any good unless you have VAX Ultrix. Not
>supplied with RISC Ultrix.
I have looked a a version of 'arff'. Not directly suitable, but
could be hacked.
Dave Heap ACSNET: dheap@gara.une.oz.au
Psychology Department, UUCP: ...!uunet!gara.une.oz.au!dheap
University of New England, ARPA: dheap%gara.une.oz.au@uunet.uu.net
Armidale NSW 2351, Australia
prev parent reply other threads:[~1991-08-01 6:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-07-25 15:11 RT-11 data transfer query Malcolm Ray
1991-07-28 12:51 ` stewart_andy
1991-07-29 22:33 ` David Heap
1991-07-29 22:36 ` David Heap
1991-07-30 17:51 ` Carl Lowenstein
1991-08-01 6:01 ` David Heap [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox