* Some (many...) System V derived implementations of curses will
* not reset the terminal modes correctly if you do any tgetent(3)
* style calls. We can often get around this by using the System
* V tiget(3) style calls, but in some implementations they're not
* available. So, we have to reset the terminal modes explicitly
(void)(tcsetattr(STDIN_FILENO
,
TCSASOFT
| TCSADRAIN
, &__global_list
->original_termios
));