Home
last modified time | relevance | path

Searched refs:tty_new (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ui/
H A Dui_openssl.c164 static long tty_orig[3], tty_new[3]; /* XXX Is there any guarantee that this variable
170 static DWORD tty_orig, tty_new; variable
173 static TTY_STRUCT tty_orig, tty_new; variable
488 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in noecho_console()
489 tty_new.TTY_FLAGS &= ~ECHO; in noecho_console()
493 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1)) in noecho_console()
498 tty_new[0] = tty_orig[0]; in noecho_console()
499 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in noecho_console()
500 tty_new[2] = tty_orig[2]; in noecho_console()
501 status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12, in noecho_console()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ui/
H A Dui_openssl.c168 static long tty_orig[3], tty_new[3]; /* XXX Is there any guarantee that this variable
174 static DWORD tty_orig, tty_new; variable
177 static TTY_STRUCT tty_orig, tty_new; variable
497 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in noecho_console()
498 tty_new.TTY_FLAGS &= ~ECHO; in noecho_console()
502 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1)) in noecho_console()
507 tty_new[0] = tty_orig[0]; in noecho_console()
508 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in noecho_console()
509 tty_new[2] = tty_orig[2]; in noecho_console()
510 status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12, in noecho_console()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/
H A Doread_pwd.c237 long tty_orig[3], tty_new[3]; in des_read_pw() local
242 TTY_STRUCT tty_orig,tty_new; in des_read_pw()
295 memcpy(&(tty_new),&(tty_orig),sizeof(tty_orig)); in des_read_pw()
310 tty_new.TTY_FLAGS &= ~ECHO; in des_read_pw()
314 if (is_a_tty && (TTY_set(fileno(tty),&tty_new) == -1)) in des_read_pw()
322 tty_new[0] = tty_orig[0]; in des_read_pw()
323 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in des_read_pw()
324 tty_new[2] = tty_orig[2]; in des_read_pw()
325 status = sys$qiow(0,channel,IO$_SETMODE,&iosb,0,0,tty_new,12,0,0,0,0); in des_read_pw()
/netbsd-src/crypto/external/bsd/openssl/lib/libdes/
H A Doread_pwd.c237 long tty_orig[3], tty_new[3]; in des_read_pw() local
242 TTY_STRUCT tty_orig,tty_new; in des_read_pw()
295 memcpy(&(tty_new),&(tty_orig),sizeof(tty_orig)); in des_read_pw()
310 tty_new.TTY_FLAGS &= ~ECHO; in des_read_pw()
314 if (is_a_tty && (TTY_set(fileno(tty),&tty_new) == -1)) in des_read_pw()
322 tty_new[0] = tty_orig[0]; in des_read_pw()
323 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in des_read_pw()
324 tty_new[2] = tty_orig[2]; in des_read_pw()
325 status = sys$qiow(0,channel,IO$_SETMODE,&iosb,0,0,tty_new,12,0,0,0,0); in des_read_pw()
/netbsd-src/games/atc/
H A Dmain.c170 tty_new = tty_start; in main()
171 tty_new.c_lflag &= ~(ICANON|ECHO); in main()
172 tty_new.c_iflag |= ICRNL; in main()
173 tty_new.c_cc[VMIN] = 1; in main()
174 tty_new.c_cc[VTIME] = 0; in main()
175 (void)tcsetattr(fileno(stdin), TCSADRAIN, &tty_new); in main()
H A Dextern.c76 struct termios tty_start, tty_new; variable
H A Dextern.h63 extern struct termios tty_start, tty_new;
H A Dinput.c283 if (c == tty_new.c_cc[VERASE]) { in getcommand()
286 } else if (c == tty_new.c_cc[VKILL]) { in getcommand()
380 (void)tcsetattr(fileno(stdin), TCSADRAIN, &tty_new); in gettoken()