From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d0db37c1d9e9e425 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-08-01 22:23:47 PST Path: gmdzi!unido!mcsun!uunet!munnari.oz.au!metro!grivel!gara!dheap From: dheap@gara.une.oz.au (David Heap) Newsgroups: comp.sys.dec Subject: Re: RT-11 data transfer query Message-ID: <7937@gara.une.oz.au> Date: 1 Aug 91 06:01:41 GMT References: <1991Jul25.151141.7303@sun.pcl.ac.uk> <13265.28934a5b@decus.com.au> <7879@gara.une.oz.au> <1212@chiton.ucsd.edu> Reply-To: dheap@gara.UUCP (David Heap) Organization: Uni. of New England, Armidale, NSW. 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