home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13557 < prev    next >
Encoding:
Text File  |  1992-09-11  |  1.1 KB  |  32 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!sun-barr!ames!sgi!fido!zola!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: sys/termio.h CTRL-c definition
  5. Message-ID: <pnspgro@zuni.esd.sgi.com>
  6. Sender: news@zuni.esd.sgi.com (Net News)
  7. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  8. References: <BuDrtF.28H@math.uwaterloo.ca>
  9. Distribution: na
  10. Date: Fri, 11 Sep 92 22:38:25 GMT
  11. Lines: 19
  12.  
  13. In <BuDrtF.28H@math.uwaterloo.ca> rblander@math.uwaterloo.ca (Robyn Landers) writes:
  14. | This observation is on an Indigo running 4.0.4.
  15. | The file /usr/include/sys/termio.h contains this fragment:
  16.  
  17. ...
  18. | Because of how CTRL(c) is defined, CERASE CKILL CEOF CSTART CSTOP CSWTCH
  19. | all get set to control-c.
  20.  
  21. Only if you compile -ansi or -xansi (the default).  We have fixed this
  22. in the next major release; we didn't notice this one in time to fix
  23. it earlier.
  24.  
  25. #define CTRL(c) ((c)&037)
  26. #define CERASE  CTRL('H')
  27.  
  28. --
  29. Let no one tell me that silence gives consent,  |   Dave Olson
  30. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  31.     Maria Isabel Barreno                        |   olson@sgi.com
  32.