home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3615 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!ugle.unit.no!news
  3. From: Harald.Eikrem@delab.sintef.no
  4. Subject: Re: ignoring parity using stty?
  5. In-Reply-To: barnett@grymoire.crd.ge.com's message of 18 Aug 92 22:10:12 GMT
  6. Message-ID: <1992Aug25.234849*Harald.Eikrem@delab.sintef.no>
  7. Sender: news@ugle.unit.no (NetNews Administrator)
  8. Organization: SINTEF DELAB, Trondheim, Norway.
  9. References: <BARNETT.92Aug18171012@grymoire.crd.ge.com>
  10. Date: 25 Aug 92 23:48:49
  11. Lines: 26
  12.  
  13. Goes Bruce Barnett <barnett@crd.ge.com>:
  14. ! I am trying to find the right option for stty(1) to ignore parity.
  15. ! Reproduction of problem (SunOS 4.1.1)
  16. !     FILE is an ASCII file where some of the characters have the
  17. !         8th bit set. 
  18. ! The commands:
  19. !     stty  istrip
  20. !     cat FILE
  21. ! does not remove the 8th bit from the file when it 
  22. ! is displayed on the terminal (actually xterm or cmdtool). I have tried
  23. ! various parameters to stty but none seem to work. Perhaps I have a
  24. ! conceptual problem......
  25. ! I want to use stty instead of a filter because a shell script is going
  26. ! to call expect, which will call script(1) followed by a telnet to a
  27. ! modem pool, which will then dial out to a remote site. I am currently
  28. ! filtering the output of script to remove parity bits.
  29. ! --
  30. ! Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
  31.  
  32. So your'e kind of demanding an stty -ostrip, eh?  I dont know, haven't ever
  33. seen such a need before.   You'll probably have to enter some output filter
  34. after all.
  35.  
  36.   ~~harald E.
  37.