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

/freebsd-11-stable/usr.bin/gzip/
H A Dzmore58 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/lib/libc/gen/
H A Dreadpassphrase.c51 struct termios term, oterm; local
94 if (input_is_tty && tcgetattr(input, &oterm) == 0) {
95 memcpy(&term, &oterm, sizeof(term));
104 memset(&oterm, 0, sizeof(oterm));
105 oterm.c_lflag |= ECHO;
149 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
150 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 &&
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c67 struct termios term, oterm; local
102 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) {
103 memcpy(&term, &oterm, sizeof(term));
114 memset(&oterm, 0, sizeof(oterm));
115 oterm.c_lflag |= ECHO;
159 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
163 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 &&
/freebsd-11-stable/contrib/libarchive/libarchive_fe/
H A Dpassphrase.c173 struct termios term, oterm; local
208 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) {
209 memcpy(&term, &oterm, sizeof(term));
220 memset(&oterm, 0, sizeof(oterm));
221 oterm.c_lflag |= ECHO;
270 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
274 while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&

Completed in 89 milliseconds