Searched refs:oterm (Results 1 – 5 of 5) sorted by relevance
/freebsd/lib/libc/gen/ |
H A D | readpassphrase.c | 48 struct termios term, oterm; in readpassphrase() local 91 if (input_is_tty && tcgetattr(input, &oterm) == 0) { in readpassphrase() 92 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 101 memset(&oterm, 0, sizeof(oterm)); in readpassphrase() 102 oterm.c_lflag |= ECHO; in readpassphrase() 146 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase() 147 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | readpassphrase.c | 59 struct termios term, oterm; in readpassphrase() local 94 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase() 95 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 106 memset(&oterm, 0, sizeof(oterm)); in readpassphrase() 107 oterm.c_lflag |= ECHO; in readpassphrase() 151 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase() 155 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | readpassphrase.c | 65 struct termios term, oterm; in readpassphrase() local 98 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase() 99 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 110 memset(&oterm, 0, sizeof(oterm)); in readpassphrase() 111 oterm.c_lflag |= ECHO; in readpassphrase() 155 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase() 159 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
|
/freebsd/usr.bin/gzip/ |
H A D | zmore | 57 oterm=`stty -g 2>/dev/null` 62 if tty -s && test -n "$oterm" -a $# -gt 0; then 65 trap "stty $oterm 2>/dev/null" 0 1 2 3 13 15 68 stty $oterm 2>/dev/null
|
/freebsd/contrib/libarchive/libarchive_fe/ |
H A D | passphrase.c | 171 struct termios term, oterm; in readpassphrase() 208 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase() 209 memcpy(&term, &oterm, sizeof(term)); in readpassphrase() 220 memset(&oterm, 0, sizeof(oterm)); in readpassphrase() 221 oterm.c_lflag |= ECHO; in readpassphrase() 272 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase() 276 while (tcsetattr(input, _T_FLUSH, &oterm) == -1 && in readpassphrase() 173 struct termios term, oterm; readpassphrase() local
|