Lines Matching refs:old_settings
136 static struct sgttyb old_settings; variable
140 static struct termio old_settings; variable
144 static struct termios old_settings; variable
340 if (ioctl(STDOUT, TIOCGETP, &old_settings) == -1) in screen_readtermcap()
346 if (ioctl(STDOUT, TCGETA, &old_settings) == -1) in screen_readtermcap()
352 if (tcgetattr(STDOUT, &old_settings) == -1) in screen_readtermcap()
367 if (ioctl(STDOUT, TIOCGETP, &old_settings) != -1) in screen_init()
370 new_settings = old_settings; in screen_init()
378 ch_erase = old_settings.sg_erase; in screen_init()
379 ch_kill = old_settings.sg_kill; in screen_init()
380 ch_werase = old_settings.sg_werase; in screen_init()
398 if (ioctl(STDOUT, TCGETA, &old_settings) != -1) in screen_init()
401 new_settings = old_settings; in screen_init()
411 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
412 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
413 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
423 if (tcgetattr(STDOUT, &old_settings) != -1) in screen_init()
426 new_settings = old_settings; in screen_init()
436 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
437 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
438 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
472 (void) ioctl(STDOUT, TIOCSETP, &old_settings); in screen_end()
478 (void) ioctl(STDOUT, TCSETA, &old_settings); in screen_end()
481 (void) tcsetattr(STDOUT, TCSADRAIN, &old_settings); in screen_end()