home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3516 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.2 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.shell
  4. Subject: ignoring parity using stty?
  5. Message-ID: <BARNETT.92Aug18171012@grymoire.crd.ge.com>
  6. Date: 18 Aug 92 22:10:12 GMT
  7. Sender: usenet@crd.ge.com (Required for NNTP)
  8. Reply-To: barnett@crdgw1.ge.com
  9. Organization: GE Corp. R & D, Schenectady, NY
  10. Lines: 19
  11. Nntp-Posting-Host: grymoire.crd.ge.com
  12.  
  13. I am trying to find the right option for stty(1) to ignore parity.
  14.  
  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.  
  26. I want to use stty instead of a filter because a shell script is going
  27. to call expect, which will call script(1) followed by a telnet to a
  28. modem pool, which will then dial out to a remote site. I am currently
  29. filtering the output of script to remove parity bits.
  30. --
  31. Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
  32.