Searched refs:tio (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/include/ac/
H A Dtermios.h33 #define GETFLAGS( tio ) ((tio).c_lflag)
34 #define SETFLAGS( tio, flags ) ((tio).c_lflag = (flags))
47 #define GETFLAGS( tio ) ((tio).sg_flags)
48 #define SETFLAGS( tio, flags ) ((tio).sg_flags = (flags))
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Dsshtty.c72 struct termios tio; local
74 if (tcgetattr(fileno(stdin), &tio) == -1) {
79 _saved_tio = tio;
80 tio.c_iflag |= IGNPAR;
81 tio.c_iflag &= ~(ISTRIP | INLCR | IGNCR | ICRNL | IXON | IXANY | IXOFF);
83 tio.c_iflag &= ~IUCLC;
85 tio.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK | ECHONL);
87 tio.c_lflag &= ~IEXTEN;
89 tio.c_oflag &= ~OPOST;
90 tio
[all...]
H A Dttymodes.c283 struct termios tio; local
302 debug("tty_make_modes: no fd or tio");
305 if (tcgetattr(fd, &tio) == -1) {
310 tio = *tiop;
313 baud = speed_to_baud(cfgetospeed(&tio));
316 baud = speed_to_baud(cfgetispeed(&tio));
323 put_arg(&buf, special_char_encode(tio.c_cc[NAME]));
327 put_arg(&buf, ((tio.FIELD & NAME) != 0));
351 struct termios tio; local
374 if (tcgetattr(fd, &tio)
[all...]
H A Dserverloop.c454 struct termios tio; local
475 tcgetattr(fdin, &tio) == 0 &&
476 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
/netbsd-6-1-5-RELEASE/usr.sbin/btattach/
H A Dinit_unistone.c76 struct termios tio; local
97 if (tcgetattr(fd, &tio) != 0)
111 if (cfsetspeed(&tio, speed) != 0 ||
112 tcsetattr(fd, TCSANOW, &tio) != 0)
H A Dbtattach.c152 struct termios tio; local
248 if (tcgetattr(fd, &tio) < 0)
251 cfmakeraw(&tio);
252 tio.c_cflag |= (cflag | type->cflag);
253 tio.c_cflag &= ~Cflag;
255 if (cfsetspeed(&tio, init_speed) < 0
256 || tcsetattr(fd, TCSANOW, &tio) < 0
264 if (cfsetspeed(&tio, speed) < 0
265 || tcsetattr(fd, TCSADRAIN, &tio) < 0)
524 struct termios tio; local
[all...]
H A Dinit_stlc2500.c110 struct termios tio; local
116 if (tcgetattr(fd, &tio) != 0 ||
117 cfsetspeed(&tio, speed) != 0 ||
118 tcsetattr(fd, TCSANOW, &tio) != 0)
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/compat/
H A Dforkpty-aix.c30 forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws) argument
73 if (tio != NULL && tcsetattr(slave, TCSAFLUSH, tio) == -1)
H A Dforkpty-hpux.c30 forkpty(int *master, char *name, struct termios *tio, struct winsize *ws) argument
67 if (tio != NULL && tcsetattr(slave, TCSAFLUSH, tio) == -1)
H A Dforkpty-sunos.c30 forkpty(int *master, char *name, struct termios *tio, struct winsize *ws) argument
67 if (tio != NULL && tcsetattr(slave, TCSAFLUSH, tio) == -1)
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A DMakefile45 XOBJS = tio.lo
55 tio.lo: nss-pam-ldapd/tio.c
/netbsd-6-1-5-RELEASE/tests/kernel/kqueue/read/
H A Dt_ttypty.c63 struct termios tio; local
82 RL(tcgetattr(acurrent, &tio));
83 tio.c_oflag &= ~ONLCR;
84 RL(tcsetattr(acurrent, TCSADRAIN, &tio));
/netbsd-6-1-5-RELEASE/usr.bin/qsubst/
H A Dqsubst.c170 struct termios tio; local
172 if (tcgetattr(0, &tio) < 0) {
178 tcsetattr(0, TCSADRAIN | TCSASOFT, &tio);
233 struct termios tio; local
237 if (tcgetattr(0, &tio) < 0)
239 otio = tio;
240 tio.c_lflag &= ~(ICANON | ECHOKE | ECHOE | ECHO | ECHONL);
241 tio.c_cc[VMIN] = 1;
242 tio.c_cc[VTIME] = 0;
243 tcsetattr(0, TCSANOW | TCSASOFT, &tio);
[all...]
/netbsd-6-1-5-RELEASE/tests/kernel/tty/
H A Dt_pr.c162 struct termios tio; local
173 rump_sys_ioctl(fd, TIOCGETA, &tio);
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dsession.c88 struct environ *env, struct termios *tio, int idx, u_int sx, u_int sy,
112 s->tio = NULL;
113 if (tio != NULL) {
114 s->tio = xmalloc(sizeof *s->tio);
115 memcpy(s->tio, tio, sizeof *s->tio);
149 if (s->tio != NULL)
150 xfree(s->tio);
87 session_create(const char *name, const char *cmd, const char *cwd, struct environ *env, struct termios *tio, int idx, u_int sx, u_int sy, char **cause) argument
[all...]
H A Dcmd-respawn-pane.c77 if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {
H A Dcmd-respawn-window.c82 if (window_pane_spawn(wp, cmd, NULL, NULL, &env, s->tio, &cause) != 0) {
H A Dcmd-new-session.c63 struct termios tio, *tiop; local
117 * This is read again with tcgetattr() rather than using tty.tio as if
123 if (tcgetattr(ctx->cmdclient->tty.fd, &tio) != 0)
125 tiop = &tio;
H A Dtty.c172 struct termios tio; local
174 if (tty->fd == -1 || tcgetattr(tty->fd, &tty->tio) != 0)
181 memcpy(&tio, &tty->tio, sizeof tio);
182 tio.c_iflag &= ~(IXON|IXOFF|ICRNL|INLCR|IGNCR|IMAXBEL|ISTRIP);
183 tio.c_iflag |= IGNBRK;
184 tio.c_oflag &= ~(OPOST|ONLCR|OCRNL|ONLRET);
185 tio.c_lflag &= ~(IEXTEN|ICANON|ECHO|ECHOE|ECHONL|ECHOCTL|
187 tio
[all...]
H A Dcmd-split-window.c124 new_wp, cmd, shell, cwd, &env, s->tio, &cause) != 0)
H A Dwindow.c286 const char *cwd, struct environ *env, struct termios *tio,
295 if (window_pane_spawn(wp, cmd, shell, cwd, env, tio, cause) != 0) {
638 const char *cwd, struct environ *env, struct termios *tio, char **cause)
680 if (tio != NULL)
681 memcpy(tio2.c_cc, tio->c_cc, sizeof tio2.c_cc);
285 window_create(const char *name, const char *cmd, const char *shell, const char *cwd, struct environ *env, struct termios *tio, u_int sx, u_int sy, u_int hlimit,char **cause) argument
637 window_pane_spawn(struct window_pane *wp, const char *cmd, const char *shell, const char *cwd, struct environ *env, struct termios *tio, char **cause) argument
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Drltty.c660 TIOTYPE tio; local
670 if (get_tty_settings (tty, &tio) < 0)
683 otio = tio;
704 _rl_bind_tty_special_chars (vi_insertion_keymap, tio);
707 _rl_bind_tty_special_chars (_rl_keymap, tio);
710 prepare_terminal_settings (meta_flag, otio, &tio);
712 if (set_tty_settings (tty, &tio) < 0)
/netbsd-6-1-5-RELEASE/usr.bin/rfcomm_sppd/
H A Drfcomm_sppd.c101 static struct termios tio; /* stored termios for reset on exit */ variable in typeref:struct:termios
238 tio = t;
242 if (tio.c_lflag != t.c_lflag ||
243 tio.c_iflag != t.c_iflag) {
685 tcsetattr(STDIN_FILENO, TCSAFLUSH, &tio);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_parse.c2905 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local
2908 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local
3014 if (TTY_GETATTR(fd232, &tio) == -1)
3016 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232);
3023 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc));
3032 memset((char *)tio.c_cc, 0, sizeof(tio.c_cc)); /* best guess */
3036 memset((char *)tio.c_cc, disablec, sizeof(tio
4772 struct termios tio; local
4775 struct termio tio; local
5196 struct termios tio; /* NEEDED FOR A LONG TIME ! */ local
5199 struct termio tio; /* NEEDED FOR A LONG TIME ! */ local
[all...]
H A Drefclock_palisade.c276 struct termios tio; local
294 if (tcgetattr(fd, &tio) < 0) {
296 "Palisade(%d) tcgetattr(fd, &tio): %m",unit);
298 printf("Palisade(%d) tcgetattr(fd, &tio)\n",unit);
304 tio.c_cflag |= (PARENB|PARODD);
305 tio.c_iflag &= ~ICRNL;
326 tio.c_cflag = (CS8|CLOCAL|CREAD);
336 if (tcsetattr(fd, TCSANOW, &tio) == -1) {
337 msyslog(LOG_ERR, "Palisade(%d) tcsetattr(fd, &tio): %m",unit);
339 printf("Palisade(%d) tcsetattr(fd, &tio)\
[all...]

Completed in 214 milliseconds

12