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

/freebsd-10.1-release/usr.bin/gzip/
H A Dzmore51 oterm=`stty -g 2>/dev/null`
56 if tty -s && test -n "$oterm" -a $# -gt 0; then
59 trap "stty $oterm 2>/dev/null" 0 1 2 3 13 15
62 stty $oterm 2>/dev/null
/freebsd-10.1-release/crypto/openssh/openbsd-compat/
H A Dreadpassphrase.c59 struct termios term, oterm; local
108 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) {
109 memcpy(&term, &oterm, sizeof(term));
120 memset(&oterm, 0, sizeof(oterm));
121 oterm.c_lflag |= ECHO;
150 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
151 while (tcsetattr(input, _T_FLUSH, &oterm) == -1 &&
/freebsd-10.1-release/lib/libc/gen/
H A Dreadpassphrase.c50 struct termios term, oterm; local
85 if (input != STDIN_FILENO && tcgetattr(input, &oterm) == 0) {
86 memcpy(&term, &oterm, sizeof(term));
95 memset(&oterm, 0, sizeof(oterm));
96 oterm.c_lflag |= ECHO;
140 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
141 while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 &&

Completed in 101 milliseconds