home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!news
- From: Harald.Eikrem@delab.sintef.no
- Subject: Re: ignoring parity using stty?
- In-Reply-To: barnett@grymoire.crd.ge.com's message of 18 Aug 92 22:10:12 GMT
- Message-ID: <1992Aug25.234849*Harald.Eikrem@delab.sintef.no>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Organization: SINTEF DELAB, Trondheim, Norway.
- References: <BARNETT.92Aug18171012@grymoire.crd.ge.com>
- Date: 25 Aug 92 23:48:49
- Lines: 26
-
- Goes Bruce Barnett <barnett@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
-
- So your'e kind of demanding an stty -ostrip, eh? I dont know, haven't ever
- seen such a need before. You'll probably have to enter some output filter
- after all.
-
- ~~harald E.
-