Home
last modified time | relevance | path

Searched refs:termio (Results 1 – 25 of 88) sorted by relevance

1234

/titanic_41/usr/src/cmd/ttymon/
H A Dtmterm.c73 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
151 if (ioctl(fd, TCGETA, &termio) != 0) {
156 termio.c_lflag |= (ISIG|ICANON|ECHO|ECHOE|ECHOK);
157 termio.c_cc[VEOF] = CEOF;
158 termio.c_cc[VEOL] = CNUL;
159 if (ioctl(fd, TCSETA, &termio) != 0) {
[all …]
H A Dtmautobaud.c82 struct termio termio; in auto_termio() local
86 if (ioctl(fd, TCGETA, &termio) == -1) { in auto_termio()
91 termio.c_iflag = 0; in auto_termio()
92 termio.c_cflag &= ~(CBAUD|CSIZE|PARENB); in auto_termio()
93 termio.c_cflag |= CREAD|HUPCL|(CS8&CSIZE)|(B2400&CBAUD); in auto_termio()
94 termio.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK); in auto_termio()
95 termio.c_oflag = 0; in auto_termio()
97 termio.c_cc[VMIN] = 5; in auto_termio()
98 termio.c_cc[VTIME] = 1; in auto_termio()
100 if (ioctl(fd, TCSETAF, &termio) == -1) { in auto_termio()
H A Dsttyparse.c69 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->c_cc[i];
420 set_ttymode(int fd, int term, struct termio *termio, struct termios *termios, argument
439 termio->c_lflag = termios->c_lflag;
[all …]
/titanic_41/usr/src/cmd/vi/port/
H A Dport.mk.usg111 $(INC)/sys/stat.h $(INC)/termio.h $(INC)/sys/termio.h \
118 $(INC)/termio.h $(INC)/sys/termio.h \
125 $(INC)/termio.h $(INC)/sys/termio.h \
132 $(INC)/termio.h $(INC)/sys/termio.h \
139 $(INC)/termio.h $(INC)/sys/termio.h \
146 $(INC)/termio.h $(INC)/sys/termio.h \
153 $(INC)/termio.h $(INC)/sys/termio.h \
160 $(INC)/termio.h $(INC)/sys/termio.h \
167 $(INC)/termio.h $(INC)/sys/termio.h \
174 $(INC)/termio.h $(INC)/sys/termio.h \
[all …]
H A Dex_put.c1184 static struct termio termio; variable
1194 if(ioctl(i, TCGETA, &termio) < 0) in gTTY()
1196 tty.c_iflag = termio.c_iflag; in gTTY()
1197 tty.c_oflag = termio.c_oflag; in gTTY()
1198 tty.c_cflag = termio.c_cflag; in gTTY()
1199 tty.c_lflag = termio.c_lflag; in gTTY()
1201 tty.c_cc[i] = termio.c_cc[i]; in gTTY()
1207 if(ioctl(i, TCGETA, &termio) < 0) in gTTY()
1209 tty.c_iflag = termio.c_iflag; in gTTY()
1210 tty.c_oflag = termio.c_oflag; in gTTY()
[all …]
/titanic_41/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c75 struct termio termio; in setupline() local
114 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) { in setupline()
119 termio.c_iflag = IXON | IGNCR; in setupline()
120 termio.c_oflag = 0; in setupline()
121 termio.c_cflag = HUPCL | CREAD | CS8 | stopbits | in setupline()
122 ((line != NULL) ? baudrate : (termio.c_cflag & CBAUD)); in setupline()
123 termio.c_lflag = 0; in setupline()
124 termio.c_cc[VMIN] = termio.c_cc[VTIME] = 0; in setupline()
125 if ( ioctl(ttyi, TCSETA, &termio) == -1 ) { in setupline()
163 struct termio termio; /* so we can reset flow control */ in resetline() local
[all …]
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dtermio.h45 struct termio { struct
54 #define TCGETA _IOR('T', 1, struct termio) argument
55 #define TCSETA _IOW('T', 2, struct termio)
56 #define TCSETAW _IOW('T', 3, struct termio)
57 #define TCSETAF _IOW('T', 4, struct termio)
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dtermio.h45 struct termio { struct
54 #define TCGETA _IOR('T', 1, struct termio) argument
55 #define TCSETA _IOW('T', 2, struct termio)
56 #define TCSETAW _IOW('T', 3, struct termio)
57 #define TCSETAF _IOW('T', 4, struct termio)
/titanic_41/usr/src/ucbcmd/stty/
H A Dsttyparse.c54 struct termio *ocb;
333 get_ttymode(fd, termio, termios, stermio, termiox, winsize) in get_ttymode() argument
335 struct termio *termio;
346 if(ioctl(fd, TCGETA, termio) == -1)
348 termios->c_lflag = termio->c_lflag;
349 termios->c_oflag = termio->c_oflag;
350 termios->c_iflag = termio->c_iflag;
351 termios->c_cflag = termio->c_cflag;
353 termios->c_cc[i] = termio->c_cc[i];
374 set_ttymode(fd, term, termio, termios, stermio, termiox, winsize, owinsize) in set_ttymode() argument
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dtty_common.c181 struct termio *cb; in ttycommon_ioctl()
183 if (miocpullup(mp, sizeof (struct termio)) != 0) { in ttycommon_ioctl()
192 cb = (struct termio *)mp->b_cont->b_rptr; in ttycommon_ioctl()
335 struct termio *cb; in ttycommon_ioctl()
338 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) { in ttycommon_ioctl()
339 ioctlrespsize = sizeof (struct termio); in ttycommon_ioctl()
343 cb = (struct termio *)datap->b_wptr; in ttycommon_ioctl()
348 bzero(cb, sizeof (struct termio)); in ttycommon_ioctl()
350 datap->b_wptr += sizeof (struct termio); in ttycommon_ioctl()
351 iocp->ioc_count = sizeof (struct termio); in ttycommon_ioctl()
/titanic_41/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; in disconnect() local
505 (void) ioctl (fileno(_Fdl), TCGETA, &termio); in disconnect()
506 termio.c_cflag = 0; /* speed to zero for hangup */ in disconnect()
507 (void) ioctl (fileno(_Fdl), TCSETAW, &termio); /* hang up terminal */ in disconnect()
H A Dline.c102 static struct termio Savettyb;
122 struct termio ttbuf;
235 struct termio ttbuf;
263 static struct termio tbuf;
397 struct termio ttbuf;
445 struct termio ttbuf;
/titanic_41/usr/src/lib/libast/common/features/
H A Dtty1 hdr termios,termio,sgtty
2 sys termios,termio,ioctl,bsdtty,nttyio,ttyio
54 # include <termio.h>
57 # include <sys/termio.h>
62 # define termios termio
/titanic_41/usr/src/lib/libshell/common/features/
H A Dttys1 hdr termios,termio,sgtty
2 sys termios,termio,ioctl,bsdtty,nttyio,filio
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtty6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
60 # include <termio.h>
63 # include <sys/termio.h>
68 # define termios termio
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtty6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
60 # include <termio.h>
63 # include <sys/termio.h>
68 # define termios termio
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtty6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
60 # include <termio.h>
63 # include <sys/termio.h>
68 # define termios termio
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtty6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
60 # include <termio.h>
63 # include <sys/termio.h>
68 # define termios termio
/titanic_41/usr/src/cmd/format/
H A Dio.c2432 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.c_iflag = tty.c_iflag;
2496 termio.c_oflag = tty.c_oflag;
2497 termio.c_cflag = tty.c_cflag;
[all …]
/titanic_41/usr/src/cmd/streams/strcmd/
H A Dstrchg.c128 struct termio termio; /* save state of tty */ in main() local
273 if (ioctl(STDIN, TCGETA, &termio) >= 0) in main()
380 ioctl(STDIN, TCSETA, &termio) < 0) { in main()
/titanic_41/usr/src/lib/efcode/engine/
H A Dinteractive.c504 struct termio termio, savetermio; in read_line() local
513 ioctl(fileno(stdin), TCGETA, &termio); in read_line()
514 savetermio = termio; in read_line()
515 termio.c_lflag &= ~(ICANON|ECHO|ECHOE|IEXTEN); in read_line()
516 termio.c_cc[VTIME] = 0; in read_line()
517 termio.c_cc[VMIN] = 1; in read_line()
518 ioctl(fileno(stdin), TCSETA, &termio); in read_line()
/titanic_41/usr/src/lib/libnsl/dial/
H A Dline.c93 static struct termio Savettyb;
112 struct termio ttbuf; in fixline()
218 struct termio ttbuf; in sethup()
/titanic_41/usr/src/lib/libshell/amd64/src/cmd/ksh93/FEATURE/
H A Dttys12 #define _hdr_termio 1 /* #include <termio.h> ok */
15 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/titanic_41/usr/src/lib/libshell/i386/src/cmd/ksh93/FEATURE/
H A Dttys12 #define _hdr_termio 1 /* #include <termio.h> ok */
15 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/titanic_41/usr/src/lib/libshell/sparc/src/cmd/ksh93/FEATURE/
H A Dttys12 #define _hdr_termio 1 /* #include <termio.h> ok */
15 #define _sys_termio 1 /* #include <sys/termio.h> ok */

1234