Searched defs:termios (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Dsetmode.c21 static struct termios termios_set;
22 static struct termios termios_clear;
343 struct termios termios; local
345 if ((*Ioctl)(fd, TCGETS, &termios) < 0) {
350 termios.c_iflag &= ~termios_clear.c_iflag;
351 termios.c_iflag |= termios_set.c_iflag;
352 termios.c_oflag &= ~termios_clear.c_oflag;
353 termios.c_oflag |= termios_set.c_oflag;
354 termios
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmautobaud.c83 struct termios termios; local
85 if (ioctl(fd, TCGETS, &termios) == -1) {
106 termios.c_iflag &= 0xffff0000;
107 termios.c_cflag &= ~(CSIZE|PARENB);
108 termios.c_cflag |= CREAD|HUPCL|(CS8&CSIZE);
109 termios.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK);
110 termios.c_oflag &= 0xffff0000;
112 termios.c_cc[VMIN] = 5;
113 termios
[all...]
H A Dtmterm.c74 struct termios termios; local
92 if ((term = get_ttymode(fd, &termio, &termios, &stermio,
101 termios.c_cc[VEOF] = CEOF;
102 termios.c_cc[VEOL] = CNUL;
105 termios.c_lflag &= ECHO;
106 termios.c_cc[VMIN] = 1;
107 termios.c_cc[VTIME] = 0;
121 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios,
129 if (set_ttymode(fd, term, &termio, &termios,
228 struct termios termios; local
[all...]
H A Dsttyparse.c49 #include <sys/termios.h>
60 static int parse_encoded(struct termios *, ldterm_cs_data_user_t *, int);
62 static int parse_encoded(struct termios *);
70 struct termios *cb, struct termiox *termiox, struct winsize *winsize
359 get_ttymode(int fd, struct termio *termio, struct termios *termios, argument
373 if (ioctl(fd, TCGETS, termios) == -1) {
376 termios->c_lflag = termio->c_lflag;
377 termios->c_oflag = termio->c_oflag;
378 termios
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.c308 struct termios termios; local
331 if ((s_arg = sttyparse(cnt, argvp, term, &termio, &termios,
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dterminal.h29 * This will use POSIX <termios.h> interface where available
33 # include <termios.h>
48 # include <sys/termios.h>
80 # if SHOPT_OLDTERMIO /* use both termios and termio */
104 # define termios termio macro
120 # define termios sgttyb macro
190 extern int tty_get(int,struct termios*);
193 extern int tty_set(int, int, struct termios*);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_tty.h26 #define _hdr_termios 1 /* #include <termios.h> ok */
29 #define _sys_termios 1 /* #include <sys/termios.h> ok */
40 # include <termios.h>
43 # include <sys/termios.h>
89 # define termios termio macro
105 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_tty.h5 #define _hdr_termios 1 /* #include <termios.h> ok */
8 #define _sys_termios 1 /* #include <sys/termios.h> ok */
19 # include <termios.h>
22 # include <sys/termios.h>
68 # define termios termio macro
84 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_tty.h26 #define _hdr_termios 1 /* #include <termios.h> ok */
29 #define _sys_termios 1 /* #include <sys/termios.h> ok */
40 # include <termios.h>
43 # include <sys/termios.h>
89 # define termios termio macro
105 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_tty.h5 #define _hdr_termios 1 /* #include <termios.h> ok */
8 #define _sys_termios 1 /* #include <sys/termios.h> ok */
19 # include <termios.h>
22 # include <sys/termios.h>
68 # define termios termio macro
84 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_tty.h26 #define _hdr_termios 1 /* #include <termios.h> ok */
29 #define _sys_termios 1 /* #include <sys/termios.h> ok */
40 # include <termios.h>
43 # include <sys/termios.h>
89 # define termios termio macro
105 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_tty.h5 #define _hdr_termios 1 /* #include <termios.h> ok */
8 #define _sys_termios 1 /* #include <sys/termios.h> ok */
19 # include <termios.h>
22 # include <sys/termios.h>
68 # define termios termio macro
84 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_tty.h26 #define _hdr_termios 1 /* #include <termios.h> ok */
29 #define _sys_termios 1 /* #include <sys/termios.h> ok */
40 # include <termios.h>
43 # include <sys/termios.h>
89 # define termios termio macro
105 # define termios sgttyb macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_tty.h5 #define _hdr_termios 1 /* #include <termios.h> ok */
8 #define _sys_termios 1 /* #include <sys/termios.h> ok */
19 # include <termios.h>
22 # include <sys/termios.h>
68 # define termios termio macro
84 # define termios sgttyb macro
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c76 struct termios termios; local
113 if ( ioctl(ttyi, TCGETS, &termios) < 0 ) {
131 termios.c_iflag = IXON | IGNCR;
132 termios.c_oflag = 0;
133 termios.c_cflag = HUPCL | CREAD | CS8 | stopbits |
134 ((line != NULL) ? baudrate : cfgetospeed(&termios));
135 termios.c_lflag = 0;
136 termios.c_cc[VMIN] = termios
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c43 #include <sys/termios.h>
606 struct termios *termios; local
608 termios = (struct termios *)arg;
610 if (termios != NULL) {
611 s5termios.c_iflag = termios->c_iflag;
612 s5termios.c_oflag = termios->c_oflag;
613 s5termios.c_cflag = termios->c_cflag;
614 s5termios.c_lflag = termios
629 struct termios *termios; local
[all...]
/illumos-gate/usr/src/tools/onbld/hgext/
H A Dcdm.py72 import atexit, os, re, sys, stat, termios namespace
219 termios.tcsetattr(sys.stdin.fileno(), termios.TCSANOW, settings)
225 settings = termios.tcgetattr(sys.stdin.fileno())
228 settings[3] = settings[3] & (~termios.ISIG) # c_lflag
229 termios.tcsetattr(sys.stdin.fileno(), termios.TCSANOW, settings)
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dtermios.h231 #define TCGETS _IOR('T', 8, struct termios)
232 #define TCSETS _IOW('T', 9, struct termios)
233 #define TCSETSW _IOW('T', 10, struct termios)
234 #define TCSETSF _IOW('T', 11, struct termios)
251 struct termios { struct
262 speed_t cfgetispeed(/* struct termios *termios_p */);
263 speed_t cfgetospeed(/* struct termios *termios_p */);
264 int cfsetispeed(/* struct termios *termios_p, speed_t speed */);
265 int cfsetospeed(/* struct termios *termios_p, speed_t speed */);
269 int tcgetattr(/* int fildes, struct termios *termios_
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dtermios.h231 #define TCGETS _IOR('T', 8, struct termios)
232 #define TCSETS _IOW('T', 9, struct termios)
233 #define TCSETSW _IOW('T', 10, struct termios)
234 #define TCSETSF _IOW('T', 11, struct termios)
251 struct termios { struct
262 speed_t cfgetispeed(/* struct termios *termios_p */);
263 speed_t cfgetospeed(/* struct termios *termios_p */);
264 int cfsetispeed(/* struct termios *termios_p, speed_t speed */);
265 int cfsetospeed(/* struct termios *termios_p, speed_t speed */);
269 int tcgetattr(/* int fildes, struct termios *termios_
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dconsconfig_dacf.c106 #include <sys/termios.h>
155 static int consconfig_setmodes(dev_t dev, struct termios *termiosp);
1394 struct termios termios; local
1402 (void) ldi_ioctl(new_lh, TCGETS, (intptr_t)&termios,
1406 if (consconfig_setmodes(stdindev, &termios) == 0) {
1408 TCSETSF, (intptr_t)&termios,
1887 consconfig_setmodes(dev_t dev, struct termios *termiosp)
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c46 #include <termios.h>
1110 struct termios termios; local
1136 /* Get the termios parameters. */
1137 if (tcgetattr (serial_fd, &termios))
1142 termios.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
1143 termios.c_oflag &= ~OPOST;
1144 termios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
1145 termios.c_cflag &= ~(CSIZE|PARENB);
1146 termios
[all...]
/illumos-gate/usr/src/man/man3head/
H A DMakefile90 termios.h.3head \
179 termios.3head \
268 termios.3head := LINKSRC = termios.h.3head
/illumos-gate/usr/src/uts/common/sys/
H A Dtermios.h48 * _POSIX_VDISABLE has been defined in <sys/termios.h> since the
79 * the standard says that they have to be in termios.h.
88 struct termios { struct
97 * POSIX termios functions
103 extern speed_t cfgetospeed(const struct termios *);
104 extern int cfsetospeed(struct termios *, speed_t);
105 extern speed_t cfgetispeed(const struct termios *);
106 extern int cfsetispeed(struct termios *, speed_t);
107 extern int tcgetattr(int, struct termios *);
108 extern int tcsetattr(int, int, const struct termios *);
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dg_adm.c82 static struct termios termios; variable in typeref:struct:termios
1672 termios.c_lflag |= ECHO;
1673 ioctl(termio_fd, TCSETS, &termios);
1703 ioctl(termio_fd, TCGETS, &termios);
1751 termios.c_lflag &= ~ECHO;
1752 ioctl(termio_fd, TCSETS, &termios);
1758 termios.c_lflag |= ECHO;
1759 ioctl(termio_fd, TCSETS, &termios);
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c60 #include <sys/termios.h>
661 struct termios termios; local
665 if (Pread(Proc, &termios, sizeof (termios), offset)
666 == sizeof (termios)) {
670 termios.c_iflag,
671 termios.c_oflag,
672 termios.c_cflag,
673 termios
[all...]

Completed in 149 milliseconds