home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!stanford.edu!bcm!convex!darwin.sura.net!paladin.american.edu!auvm!UMINN1.BITNET!IJIM
- Message-ID: <CMSPIP-L%92111610320041@VM.MARIST.EDU>
- Newsgroups: bit.listserv.cmspip-l
- Date: Mon, 16 Nov 1992 09:33:36 CST
- Sender: VM/SP CMS Pipelines Discussion List <CMSPIP-L@MARIST.BITNET>
- From: Jim Colten <IJIM@UMINN1.BITNET>
- Subject: Re: CMS TAR (Octal Conversion)
- In-Reply-To: Message of Tue, 10 Nov 1992 14:51:24 +0100 from <VMPROD@DJUKFA11>
- Lines: 35
-
- Would you ba able to send these files to me?
-
- On Tue, 10 Nov 1992 14:51:24 +0100 Klaus Wolkersdorfer said:
- >Rick,
- >
- >sorry for the delay:
- >It happens that I wrote some time ago ASSEMBLE filters for octal conversion:
- >(We needed that for a conversion from GML POSTSCRIPT files to 7 bit printers
- > on workstations. So we could achieve sending characters with the 8th bit on)
- >
- >c2o Converts EDCDIC string to octal digits (byte for byte)
- > i.e. 'AB' = X'C1C2' --> '301302'
- > i.e. 1234 = X'000004D2' --> '000000004322'
- >
- >o2c Converts groups of 3 octal digits to bytes
- > i.e. '301302' --> 'AB'
- >
- >w2o Converts 32 bit words to exactly 12 octal digits each
- > i.e. 1234 = X'000004D2' --> '000000002322'
- >
- >o2w Converts groups of 12 octal digits into 32 bit words
- > i.e. '000000002322' --> X'000004D2' = 1234
- >
- >So if you need d2o you could write
- >
- >... | spec 1-* d2c 1 | w2o | ...
- > or c2o depending what you really want.
- >
- >I will send you the ASSEMBLE files together with a small EXEC to create
- >the PIPLOCF MODULE using the MACLIBs from 1.0106.
- >(BTW: Where are these MACLIBs in 2.0101 ?)
- >
- >Hope this helps
- >Klaus
- >I'net: K.Wolkersdorfer@kfa-juelich.de
-