home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / wizards / 3712 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.4 KB

  1. Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
  2. From: barnett@grymoire.crd.ge.com (Bruce Barnett)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Re: 'cat'ting 8 bit data to the terminal.....
  5. Message-ID: <BARNETT.92Aug27143531@grymoire.crd.ge.com>
  6. Date: 27 Aug 92 19:35:31 GMT
  7. References: <BARNETT.92Aug24093311@grymoire.crd.ge.com>
  8.     <15250003@hprpcd.rose.hp.com>
  9. Sender: usenet@crd.ge.com (Required for NNTP)
  10. Reply-To: barnett@crdgw1.ge.com
  11. Organization: GE Corp. R & D, Schenectady, NY
  12. Lines: 21
  13. In-Reply-To: tmilner@hprpcd.rose.hp.com's message of 26 Aug 92 20:52:59 GMT
  14. Nntp-Posting-Host: grymoire.crd.ge.com
  15.  
  16. I wrote:
  17.  
  18. > If someone finds an existing solution (better than "script | fixparity") 
  19. > I'd appreciate it.... 
  20.  
  21. In article <15250003@hprpcd.rose.hp.com> tmilner@hprpcd.rose.hp.com (Tom Milner) writes:
  22. >   How 'bout
  23. >       cat file | tr '[\200-\377]' '[\000-\177]'
  24.  
  25. Since this is the same solution ( I already know how to write a filter
  26. to strip out parity), this doesn't really help.
  27.  
  28. Someone told me that "stty cs7 -pass8" would work. It doesn't on SunOS
  29. with an xterm. Many it works on other systems. If anyone can find the
  30. right stty combination, I'd love to hear about it. The symptom in
  31. xterm of cat'ing 8 bit data is that the bits with parity are displayed
  32. as blank spaces. In a cmdtool window, you get special foreign
  33. characters.
  34.  
  35. --
  36. Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
  37.