Searched defs:termio (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dtermio.h45 struct termio { struct
54 #define TCGETA _IOR('T', 1, struct termio)
55 #define TCSETA _IOW('T', 2, struct termio)
56 #define TCSETAW _IOW('T', 3, struct termio)
57 #define TCSETAF _IOW('T', 4, struct termio)
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dtermio.h45 struct termio { struct
54 #define TCGETA _IOR('T', 1, struct termio)
55 #define TCSETA _IOW('T', 2, struct termio)
56 #define TCSETAW _IOW('T', 3, struct termio)
57 #define TCSETAF _IOW('T', 4, struct termio)
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmautobaud.c37 #include <termio.h>
75 * auto_termio - set termio to allow autobaud
82 struct termio termio; local
86 if (ioctl(fd, TCGETA, &termio) == -1) {
91 termio.c_iflag = 0;
92 termio.c_cflag &= ~(CBAUD|CSIZE|PARENB);
93 termio.c_cflag |= CREAD|HUPCL|(CS8&CSIZE)|(B2400&CBAUD);
94 termio.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK);
95 termio
[all...]
H A Dtmterm.c37 #include <termio.h>
53 * set_termio - set termio on device
55 * options - stty termio options
73 struct termio termio; local
92 if ((term = get_ttymode(fd, &termio, &termios, &stermio,
121 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios,
129 if (set_ttymode(fd, term, &termio, &termios, &stermio,
146 struct termio termio; local
227 struct termio termio; local
[all...]
H A Dsttyparse.c40 #include <termio.h>
69 sttyparse(int argc, char *argv[], int term, struct termio *ocb,
359 get_ttymode(int fd, struct termio *termio, struct termios *termios, argument
374 if (ioctl(fd, TCGETA, termio) == -1)
376 termios->c_lflag = termio->c_lflag;
377 termios->c_oflag = termio->c_oflag;
378 termios->c_iflag = termio->c_iflag;
379 termios->c_cflag = termio->c_cflag;
381 termios->c_cc[i] = termio
420 set_ttymode(int fd, int term, struct termio *termio, struct termios *termios, struct stio *stermio, struct termiox *termiox, struct winsize *winsize, struct winsize *owinsize , struct eucioc *kwp, ldterm_cs_data_user_t *kcswp, int invalid_ldterm_dat_file ) argument
[all...]
H A Dtmttydefs.c40 #include <termio.h>
307 struct termio termio; local
331 if ((s_arg = sttyparse(cnt, argvp, term, &termio, &termios,
/illumos-gate/usr/src/uts/common/sys/
H A Dtermio.h42 struct termio { struct
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c75 struct termio termio; local
114 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) {
119 termio.c_iflag = IXON | IGNCR;
120 termio.c_oflag = 0;
121 termio.c_cflag = HUPCL | CREAD | CS8 | stopbits |
122 ((line != NULL) ? baudrate : (termio.c_cflag & CBAUD));
123 termio.c_lflag = 0;
124 termio.c_cc[VMIN] = termio
163 struct termio termio; /* so we can reset flow control */ local
208 struct termio termio; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c147 struct termio termio; local
345 (void) ioctl (0, TCGETA, &termio);
346 termio.c_cflag = 0; /* speed to zero for hangup */
347 (void) ioctl (0, TCSETAW, &termio); /* hang up terminal */
496 struct termio termio; local
505 (void) ioctl (fileno(_Fdl), TCGETA, &termio); local
506 termio.c_cflag = 0; /* speed to zero for hangup */
507 (void) ioctl (fileno(_Fdl), TCSETAW, &termio); /* han local
[all...]
/illumos-gate/usr/src/cmd/streams/strcmd/
H A Dstrchg.c64 #include <sys/termio.h>
128 struct termio termio; /* save state of tty */ local
273 if (ioctl(STDIN, TCGETA, &termio) >= 0)
380 ioctl(STDIN, TCSETA, &termio) < 0) {
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c1184 static struct termio termio; variable in typeref:struct:termio
1194 if(ioctl(i, TCGETA, &termio) < 0)
1196 tty.c_iflag = termio.c_iflag;
1197 tty.c_oflag = termio.c_oflag;
1198 tty.c_cflag = termio.c_cflag;
1199 tty.c_lflag = termio.c_lflag;
1201 tty.c_cc[i] = termio.c_cc[i];
1207 if(ioctl(i, TCGETA, &termio) < 0)
1209 tty.c_iflag = termio
[all...]
H A Dexrecover.c274 struct termio termio; local
280 ioctl(2, TCGETA, &termio);
281 if (termio.c_lflag & ICANON)
838 struct termio ttyb;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dexterns.h56 #define termio termios macro
352 extern struct termio new_tc;
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinteractive.c395 #include <sys/termio.h>
504 struct termio termio, savetermio; local
513 ioctl(fileno(stdin), TCGETA, &termio); local
514 savetermio = termio;
515 termio.c_lflag &= ~(ICANON|ECHO|ECHOE|IEXTEN);
516 termio.c_cc[VTIME] = 0;
517 termio.c_cc[VMIN] = 1;
518 ioctl(fileno(stdin), TCSETA, &termio); local
/illumos-gate/usr/src/cmd/format/
H A Dio.c39 #include <sys/termio.h>
2432 struct termio termio; local
2459 if (ioctl(0, TCGETA, &termio) == 0) {
2461 tty.c_iflag = termio.c_iflag;
2462 tty.c_oflag = termio.c_oflag;
2463 tty.c_cflag = termio.c_cflag;
2464 tty.c_lflag = termio.c_lflag;
2466 tty.c_cc[i] = termio.c_cc[i];
2495 termio
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c62 #include <sys/termio.h>
637 struct termio termio; local
641 if (Pread(Proc, &termio, sizeof (termio), offset) == sizeof (termio)) {
645 termio.c_iflag,
646 termio.c_oflag,
647 termio.c_cflag,
648 termio
[all...]

Completed in 143 milliseconds