Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmterm.c62 struct termio termio; in set_termio() local
131 struct termio termio; in turnon_canon() local
136 if (ioctl(fd, TCGETA, &termio) != 0) { in turnon_canon()
142 termio.c_cc[VEOF] = CEOF; in turnon_canon()
143 termio.c_cc[VEOL] = CNUL; in turnon_canon()
144 if (ioctl(fd, TCSETA, &termio) != 0) { in turnon_canon()
208 struct termio termio; in hang_up_line() local
215 if (ioctl(fd, TCGETA, &termio) < 0) { in hang_up_line()
219 termio.c_cflag &= ~CBAUD; in hang_up_line()
220 termio.c_cflag |= B0; in hang_up_line()
[all …]
H A Dtmautobaud.c77 struct termio termio; in auto_termio() local
81 if (ioctl(fd, TCGETA, &termio) == -1) { in auto_termio()
86 termio.c_iflag = 0; in auto_termio()
87 termio.c_cflag &= ~(CBAUD|CSIZE|PARENB); in auto_termio()
88 termio.c_cflag |= CREAD|HUPCL|(CS8&CSIZE)|(B2400&CBAUD); in auto_termio()
89 termio.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK); in auto_termio()
90 termio.c_oflag = 0; in auto_termio()
92 termio.c_cc[VMIN] = 5; in auto_termio()
93 termio.c_cc[VTIME] = 1; in auto_termio()
95 if (ioctl(fd, TCSETAF, &termio) == -1) { in auto_termio()
H A Dtmextern.h54 extern char *sttyparse(int, char *[], int, struct termio *,
58 extern int get_ttymode(int, struct termio *, struct termios *,
61 extern int set_ttymode(int, int, struct termio *, struct termios *,
65 extern char *sttyparse(int, char *[], int, struct termio *,
67 extern int get_ttymode(int, struct termio *, struct termios *,
69 extern int set_ttymode(int, int, struct termio *, struct termios *,
H A Dsttyparse.c365 get_ttymode(int fd, struct termio *termio, struct termios *termios, argument
380 if (ioctl(fd, TCGETA, termio) == -1)
382 termios->c_lflag = termio->c_lflag;
383 termios->c_oflag = termio->c_oflag;
384 termios->c_iflag = termio->c_iflag;
385 termios->c_cflag = termio->c_cflag;
426 set_ttymode(int fd, int term, struct termio *termio, struct termios *termios, argument
445 termio->c_lflag = termios->c_lflag;
446 termio->c_oflag = termios->c_oflag;
447 termio->c_iflag = termios->c_iflag;
[all …]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c73 struct termio termio; in setupline() local
118 termio.c_oflag = 0; in setupline()
121 termio.c_lflag = 0; in setupline()
122 termio.c_cc[VMIN] = termio.c_cc[VTIME] = 0; in setupline()
161 struct termio termio; /* so we can reset flow control */ in resetline() local
188 termio.c_cc[VMIN] = 1; in resetline()
189 termio.c_cc[VTIME] = 0; in resetline()
206 struct termio termio; in setupstdin() local
233 termio = oldtermio; in setupstdin()
235 termio.c_cc[VMIN] = 1; in setupstdin()
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dsttyparse.c51 struct termio *ocb;
332 struct termio *termio;
343 if(ioctl(fd, TCGETA, termio) == -1)
345 termios->c_lflag = termio->c_lflag;
346 termios->c_oflag = termio->c_oflag;
347 termios->c_iflag = termio->c_iflag;
348 termios->c_cflag = termio->c_cflag;
373 struct termio *termio;
385 termio->c_lflag = termios->c_lflag;
386 termio->c_oflag = termios->c_oflag;
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c1183 static struct termio termio; variable
1208 tty.c_iflag = termio.c_iflag; in gTTY()
1209 tty.c_oflag = termio.c_oflag; in gTTY()
1210 tty.c_cflag = termio.c_cflag; in gTTY()
1211 tty.c_lflag = termio.c_lflag; in gTTY()
1213 tty.c_cc[i] = termio.c_cc[i]; in gTTY()
1228 termio.c_iflag = tty.c_iflag; in sTTY()
1229 termio.c_oflag = tty.c_oflag; in sTTY()
1230 termio.c_cflag = tty.c_cflag; in sTTY()
1231 termio.c_lflag = tty.c_lflag; in sTTY()
[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/uts/common/io/
H A Dtty_common.c182 struct termio *cb; in ttycommon_ioctl()
184 if (miocpullup(mp, sizeof (struct termio)) != 0) { in ttycommon_ioctl()
193 cb = (struct termio *)mp->b_cont->b_rptr; in ttycommon_ioctl()
336 struct termio *cb; in ttycommon_ioctl()
339 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) { in ttycommon_ioctl()
340 ioctlrespsize = sizeof (struct termio); in ttycommon_ioctl()
344 cb = (struct termio *)datap->b_wptr; in ttycommon_ioctl()
349 bzero(cb, sizeof (struct termio)); in ttycommon_ioctl()
351 datap->b_wptr += sizeof (struct termio); in ttycommon_ioctl()
352 iocp->ioc_count = sizeof (struct termio); in ttycommon_ioctl()
H A Dptem.c613 struct termio *termiop; in ptemwmsg()
655 error = miocpullup(mp, sizeof (struct termio)); in ptemwmsg()
660 cflags = ((struct termio *) in ptemwmsg()
714 dp = allocb(sizeof (struct termio), BPRI_MED); in ptemwmsg()
719 termiop = (struct termio *)dp->b_rptr; in ptemwmsg()
721 mioc2ack(mp, dp, sizeof (struct termio), 0); in ptemwmsg()
/illumos-gate/usr/src/cmd/bnu/
H A Dct.c149 struct termio termio; local
347 (void) ioctl (0, TCGETA, &termio);
348 termio.c_cflag = 0; /* speed to zero for hangup */
349 (void) ioctl (0, TCSETAW, &termio); /* hang up terminal */
498 struct termio termio; in disconnect() local
507 (void) ioctl (fileno(_Fdl), TCGETA, &termio); in disconnect()
508 termio.c_cflag = 0; /* speed to zero for hangup */ in disconnect()
509 (void) ioctl (fileno(_Fdl), TCSETAW, &termio); /* hang up terminal */ in disconnect()
H A Dline.c103 static struct termio Savettyb;
123 struct termio ttbuf;
236 struct termio ttbuf;
264 static struct termio tbuf;
398 struct termio ttbuf;
446 struct termio ttbuf;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dttys1 hdr termios,termio,sgtty
2 sys termios,termio,ioctl,bsdtty,nttyio,filio
/illumos-gate/usr/src/cmd/ast/libast/sparc/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
/illumos-gate/usr/src/cmd/ast/libast/amd64/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
/illumos-gate/usr/src/cmd/ast/libast/i386/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
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/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
/illumos-gate/usr/src/cmd/ast/libshell/i386/FEATURE/
H A Dttys6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/illumos-gate/usr/src/cmd/ast/libshell/sparc/FEATURE/
H A Dttys6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/illumos-gate/usr/src/cmd/ast/libshell/sparcv9/FEATURE/
H A Dttys6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/illumos-gate/usr/src/cmd/ast/libshell/amd64/FEATURE/
H A Dttys6 #define _hdr_termio 1 /* #include <termio.h> ok */
9 #define _sys_termio 1 /* #include <sys/termio.h> ok */
/illumos-gate/usr/src/cmd/format/
H A Dio.c2386 struct termio termio; in execute_shell() local
2415 tty.c_iflag = termio.c_iflag; in execute_shell()
2416 tty.c_oflag = termio.c_oflag; in execute_shell()
2417 tty.c_cflag = termio.c_cflag; in execute_shell()
2418 tty.c_lflag = termio.c_lflag; in execute_shell()
2420 tty.c_cc[i] = termio.c_cc[i]; in execute_shell()
2449 termio.c_iflag = tty.c_iflag; in execute_shell()
2450 termio.c_oflag = tty.c_oflag; in execute_shell()
2451 termio.c_cflag = tty.c_cflag; in execute_shell()
2452 termio.c_lflag = tty.c_lflag; in execute_shell()
[all …]
/illumos-gate/usr/src/cmd/streams/strcmd/
H A Dstrchg.c126 struct termio termio; /* save state of tty */ in main() local
271 if (ioctl(STDIN, TCGETA, &termio) >= 0) in main()
378 ioctl(STDIN, TCSETA, &termio) < 0) { in main()
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dline.c89 static struct termio Savettyb;
108 struct termio ttbuf; in fixline()
214 struct termio ttbuf; in sethup()

123