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