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.shell
- Subject: ignoring parity using stty?
- Message-ID: <BARNETT.92Aug18171012@grymoire.crd.ge.com>
- Date: 18 Aug 92 22:10:12 GMT
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: barnett@crdgw1.ge.com
- Organization: GE Corp. R & D, Schenectady, NY
- Lines: 19
- Nntp-Posting-Host: grymoire.crd.ge.com
-
- I am trying to find the right option for stty(1) to ignore parity.
-
- Reproduction of problem (SunOS 4.1.1)
- FILE is an ASCII file where some of the characters have the
- 8th bit set.
- The commands:
- stty istrip
- cat FILE
- does not remove the 8th bit from the file when it
- is displayed on the terminal (actually xterm or cmdtool). I have tried
- various parameters to stty but none seem to work. Perhaps I have a
- conceptual problem......
-
- I want to use stty instead of a filter because a shell script is going
- to call expect, which will call script(1) followed by a telnet to a
- modem pool, which will then dial out to a remote site. I am currently
- filtering the output of script to remove parity bits.
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-