ttysighandler
(void)signal(SIGINT, ttysighandler);
(void)signal(SIGQUIT, ttysighandler);
static void ttysighandler(int);