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
328 if (ioctl(STDOUT, TIOCGETP, &old_settings) == -1) in screen_readtermcap()
334 if (ioctl(STDOUT, TCGETA, &old_settings) == -1) in screen_readtermcap()
340 if (tcgetattr(STDOUT, &old_settings) == -1) in screen_readtermcap()
355 if (ioctl(STDOUT, TIOCGETP, &old_settings) != -1) in screen_init()
358 new_settings = old_settings; in screen_init()
366 ch_erase = old_settings.sg_erase; in screen_init()
367 ch_kill = old_settings.sg_kill; in screen_init()
368 ch_werase = old_settings.sg_werase; in screen_init()
386 if (ioctl(STDOUT, TCGETA, &old_settings) != -1) in screen_init()
389 new_settings = old_settings; in screen_init()
399 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
400 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
401 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
411 if (tcgetattr(STDOUT, &old_settings) != -1) in screen_init()
414 new_settings = old_settings; in screen_init()
424 ch_erase = old_settings.c_cc[VERASE]; in screen_init()
425 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
426 ch_werase = old_settings.c_cc[VWERASE]; in screen_init()
460 (void) ioctl(STDOUT, TIOCSETP, &old_settings); in screen_end()
466 (void) ioctl(STDOUT, TCSETA, &old_settings); in screen_end()
469 (void) tcsetattr(STDOUT, TCSADRAIN, &old_settings); in screen_end()