home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / bit / listserv / cmspipl / 706 next >
Encoding:
Text File  |  1992-11-16  |  1.7 KB  |  47 lines

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