(old_tty_valid): New variable.
authorKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 12:35:03 +0000 (12:35 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 5 Jun 1995 12:35:03 +0000 (12:35 +0000)
commit7e32a4fbae95a023fefcd1c2a2cd8e16988cd7a7
tree72d435abb254c277755434cd2eba930211e6e781
parent866f60fd75b9d17375fab7c793da9821952dbd06
(old_tty_valid): New variable.
(init_sys_modes): Set old_tty_valid if we set old_tty.
(reset_sys_modes): Restore tty settings only if old_tty_valid.
src/sysdep.c