Home
last modified time | relevance | path

Searched refs:oterm (Results 1 – 4 of 4) sorted by relevance

/freebsd-11-stable/crypto/openssh/openbsd-compat/
HDreadpassphrase.c67 struct termios term, oterm; in readpassphrase() local
102 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) { in readpassphrase()
103 memcpy(&term, &oterm, sizeof(term)); in readpassphrase()
114 memset(&oterm, 0, sizeof(oterm)); in readpassphrase()
115 oterm.c_lflag |= ECHO; in readpassphrase()
159 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
163 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
/freebsd-11-stable/lib/libc/gen/
HDreadpassphrase.c51 struct termios term, oterm; in readpassphrase() local
94 if (input_is_tty && tcgetattr(input, &oterm) == 0) { in readpassphrase()
95 memcpy(&term, &oterm, sizeof(term)); in readpassphrase()
104 memset(&oterm, 0, sizeof(oterm)); in readpassphrase()
105 oterm.c_lflag |= ECHO; in readpassphrase()
149 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
150 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 && in readpassphrase()
/freebsd-11-stable/usr.bin/gzip/
HDzmore58 oterm=`stty -g 2>/dev/null`
63 if tty -s && test -n "$oterm" -a $# -gt 0; then
66 trap "stty $oterm 2>/dev/null" 0 1 2 3 13 15
69 stty $oterm 2>/dev/null
/freebsd-11-stable/contrib/libarchive/libarchive_fe/
HDpassphrase.c173 struct termios term, oterm; in readpassphrase() local
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()
270 if (memcmp(&term, &oterm, sizeof(term)) != 0) { in readpassphrase()
274 while (tcsetattr(input, _T_FLUSH, &oterm) == -1 && in readpassphrase()