resetTerminal(): use 'stty sane' instead of 'reset' as base

maybe this makes interrupting programs work reliable without breaking
terminal output, maybe not. So far I always got a working terminal,
though...