Catching ^C and ^Z

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Thu Sep 6 10:55:57 AEST 1990


In article <3367 at awdprime.UUCP> dcm at toysrus.austin.ibm.com (Craig Miller) writes:
  [ about a ``lock'' program ]
> 	Why complicate things with ioctls?

You have to do something so that the user's keystrokes don't show up on
the screen; you may as well go all the way and basically turn off the
tty device driver. (To do this portably, use curses.)

---Dan



More information about the Comp.lang.c mailing list