jh 1df0fb5d0b MFC r197956:
- Catch SIGHUP to perform cleanup before exiting.
- Exit if getch() returns with an error other than EINTR. Otherwise
  systat(1) may get stuck in an infinite loop if it doesn't receive
  SIGHUP when terminal closes.
- Remove attempt to clear stdio error indicators. getch() doesn't use
  stdio, making it useless.
- Remove unneeded masking of getch() return value.

PR:		bin/107171
Approved by:	trasz (mentor)
2009-11-15 14:11:26 +00:00
..
2008-01-16 19:27:43 +00:00
2007-10-15 20:00:24 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2007-10-15 20:00:24 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2009-11-15 14:11:26 +00:00
2009-11-15 14:11:26 +00:00
2007-10-15 20:00:24 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2008-01-16 19:27:43 +00:00
2007-10-15 20:00:24 +00:00
2006-04-30 04:47:23 +00:00
2008-01-16 19:27:43 +00:00