/titanic_44/usr/src/cmd/ssh/ssh/ |
H A D | sshtty.c | 76 struct termios tio; in enter_raw_mode() local 78 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode() 82 _saved_tio = tio; in enter_raw_mode() 83 tio.c_iflag |= IGNPAR; in enter_raw_mode() 84 tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF); in enter_raw_mode() 85 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL); in enter_raw_mode() 87 tio.c_lflag &= ~IEXTEN; in enter_raw_mode() 89 tio.c_oflag &= ~OPOST; in enter_raw_mode() 90 tio.c_cc[VMIN] = 1; in enter_raw_mode() 91 tio.c_cc[VTIME] = 0; in enter_raw_mode() [all …]
|
H A D | ssh.c | 1051 struct termios tio; local 1073 tio = get_saved_tio(); 1074 tty_make_modes(/*ignored*/ 0, &tio);
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | ttymodes.c | 272 struct termios tio; in tty_make_modes() local 290 if (tcgetattr(fd, &tio) == -1) { in tty_make_modes() 295 tio = *tiop; in tty_make_modes() 298 baud = speed_to_baud(cfgetospeed(&tio)); in tty_make_modes() 302 baud = speed_to_baud(cfgetispeed(&tio)); in tty_make_modes() 309 debug3("tty_make_modes: %d %d", OP, tio.c_cc[NAME]); \ in tty_make_modes() 311 put_arg(&buf, tio.c_cc[NAME]); in tty_make_modes() 314 debug3("tty_make_modes: %d %d", OP, ((tio.FIELD & NAME) != 0)); \ in tty_make_modes() 316 put_arg(&buf, ((tio.FIELD & NAME) != 0)); in tty_make_modes() 340 struct termios tio; in tty_parse_modes() local [all …]
|
H A D | channels.c | 1416 struct termios tio; in channel_handle_wfd() local 1450 if (tcgetattr(c->wfd, &tio) == 0 && in channel_handle_wfd() 1451 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { in channel_handle_wfd()
|
/titanic_44/usr/src/lib/libldap5/include/ldap/ |
H A D | portable.h | 240 #define GETFLAGS( tio ) (tio).sg_flags argument 241 #define SETFLAGS( tio, flags ) (tio).sg_flags = (flags) argument 248 #define GETFLAGS( tio ) (tio).c_lflag argument 249 #define SETFLAGS( tio, flags ) (tio).c_lflag = (flags) argument
|
/titanic_44/usr/src/ucbcmd/test/ |
H A D | test.c | 36 static int tio(char *a, int f); 137 return (tio(nxtarg(0), 4)); in e3() 140 return (tio(nxtarg(0), 2)); in e3() 143 return (tio(nxtarg(0), 1)); in e3() 232 tio(char *a, int f) in tio() function
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | sshpty.c | 204 struct termios tio; in pty_allocate() 230 if (tcgetattr(*ptyfd, &tio) < 0) in pty_allocate() 233 tio.c_lflag |= (ECHO | ISIG | ICANON); in pty_allocate() 234 tio.c_oflag |= (OPOST | ONLCR); in pty_allocate() 235 tio.c_iflag |= ICRNL; in pty_allocate() 238 if (tcsetattr(*ptyfd, TCSANOW, &tio) < 0) in pty_allocate()
|
H A D | serverloop.c | 425 struct termios tio; in process_output() local 446 tcgetattr(fdin, &tio) == 0 && in process_output() 447 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { in process_output()
|
/titanic_44/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vnops.c | 2122 struct hio *fio, *nio, *tio, *prev, *last; in hsched_invoke_strategy() local 2198 tio = fio; in hsched_invoke_strategy() 2199 while (nio != NULL && IS_ADJACENT(tio, nio) && in hsched_invoke_strategy() 2201 avl_remove(&hqueue->deadline_tree, tio); in hsched_invoke_strategy() 2202 avl_remove(&hqueue->read_tree, tio); in hsched_invoke_strategy() 2203 tio->contig_chain = nio; in hsched_invoke_strategy() 2205 prev = tio; in hsched_invoke_strategy() 2206 tio = nio; in hsched_invoke_strategy() 2216 if (fvp && tio->bp->b_file != fvp) { in hsched_invoke_strategy() 2229 hqueue->next = tio; in hsched_invoke_strategy() [all …]
|
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | ports.c | 78 struct termio tio; in open_dialup() local 124 ioctl(1, TCGETA, &tio); in open_dialup() 125 tios.c_cflag = tio.c_cflag; in open_dialup()
|
/titanic_44/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_promif.c | 299 kmdb_prom_read(void *buf, size_t len, struct termios *tio) in kmdb_prom_read() argument 327 if (tio->c_iflag & ICRNL) { in kmdb_prom_read() 337 if (tio->c_lflag & ECHO) in kmdb_prom_read() 338 (void) kmdb_prom_write(buf, totread, tio); in kmdb_prom_read() 345 kmdb_prom_write(const void *bufp, size_t len, struct termios *tio) in kmdb_prom_write() argument 354 if (!(tio->c_oflag & ONLCR)) in kmdb_prom_write()
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 152 struct termios tio; in get_passwd() local 168 if (tcgetattr(fileno(in), &tio) < 0) { in get_passwd() 172 if (tio.c_lflag & ECHO) { in get_passwd() 173 tio.c_lflag &= ~ECHO; in get_passwd() 175 echo_off = tcsetattr(fileno(in), TCSAFLUSH, &tio) == 0; in get_passwd() 176 tio.c_lflag |= ECHO; in get_passwd() 222 (void) tcsetattr(fileno(in), TCSAFLUSH, &tio); in get_passwd()
|