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