Home
last modified time | relevance | path

Searched refs:old_settings (Results 1 – 3 of 3) sorted by relevance

/dragonfly/usr.bin/top/
H A Dscreen.c136 static struct sgttyb old_settings; variable
140 static struct termio old_settings; variable
144 static struct termios old_settings; variable
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()
389 new_settings = old_settings; in screen_init()
400 ch_kill = old_settings.c_cc[VKILL]; in screen_init()
414 new_settings = old_settings; in screen_init()
[all …]
/dragonfly/contrib/ncurses/progs/
H A Dreset_cmd.c473 send_init_strings(int fd GCC_UNUSED, TTY * old_settings) in send_init_strings() argument
478 (void) old_settings; in send_init_strings()
480 if (old_settings != 0 && in send_init_strings()
481 old_settings->c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) { in send_init_strings()
482 old_settings->c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET); in send_init_strings()
483 SET_TTY(fd, old_settings); in send_init_strings()
549 show_tty_change(TTY * old_settings, in show_tty_change() argument
559 older = old_settings->c_cc[which]; in show_tty_change()
605 print_tty_chars(TTY * old_settings, TTY * new_settings) in print_tty_chars() argument
607 show_tty_change(old_settings, new_settings, "Erase", VERASE, CERASE); in print_tty_chars()
[all …]
H A Dtty_settings.c100 update_tty_settings(TTY * old_settings, TTY * new_settings) in update_tty_settings() argument
102 if (memcmp(new_settings, old_settings, sizeof(TTY))) { in update_tty_settings()