Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 25 of 155) sorted by relevance

1234567

/titanic_44/usr/src/cmd/ttymon/
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, &stermio,
228 struct termios termios; in hang_up_line() local
[all …]
H A Dtmautobaud.c83 struct termios termios; in auto_termio() local
85 if (ioctl(fd, TCGETS, &termios) == -1) { in auto_termio()
106 termios.c_iflag &= 0xffff0000; in auto_termio()
107 termios.c_cflag &= ~(CSIZE|PARENB); in auto_termio()
108 termios.c_cflag |= CREAD|HUPCL|(CS8&CSIZE); in auto_termio()
109 termios.c_lflag &= ~(ISIG|ICANON|ECHO|ECHOE|ECHOK); in auto_termio()
110 termios.c_oflag &= 0xffff0000; in auto_termio()
112 termios.c_cc[VMIN] = 5; in auto_termio()
113 termios.c_cc[VTIME] = 1; in auto_termio()
114 cfsetospeed(&termios, B2400); in auto_termio()
[all …]
H A Dsttyparse.c60 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->c_iflag = termio->c_iflag;
379 termios->c_cflag = termio->c_cflag;
381 termios->c_cc[i] = termio->c_cc[i];
[all …]
/titanic_44/usr/src/ucbcmd/stty/
H A Dsttyparse.c55 struct termios *cb;
333 get_ttymode(fd, termio, termios, stermio, termiox, winsize) in get_ttymode() argument
336 struct termios *termios;
345 if(ioctl(fd, TCGETS, termios) == -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];
358 termios->c_cc[7] = (unsigned)stermio->tab;
[all …]
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dioctl.c606 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->c_lflag;
615 memcpy(s5termios.c_cc, termios->c_cc, NCCS);
629 struct termios *termios; local
632 termios = (struct termios *)arg;
[all …]
/titanic_44/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c1107 struct termios termios; in serial_hw_init() local
1134 if (tcgetattr (serial_fd, &termios)) in serial_hw_init()
1139 termios.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); in serial_hw_init()
1140 termios.c_oflag &= ~OPOST; in serial_hw_init()
1141 termios.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); in serial_hw_init()
1142 termios.c_cflag &= ~(CSIZE|PARENB); in serial_hw_init()
1143 termios.c_cflag |= CS8; in serial_hw_init()
1145 cfmakeraw (&termios); in serial_hw_init()
1153 cfsetispeed (&termios, termios_speed); in serial_hw_init()
1154 cfsetospeed (&termios, termios_speed); in serial_hw_init()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dtty_common.c33 static struct termios default_termios = {
149 struct termios *cb; in ttycommon_ioctl()
151 if (miocpullup(mp, sizeof (struct termios)) != 0) { in ttycommon_ioctl()
160 cb = (struct termios *)mp->b_cont->b_rptr; in ttycommon_ioctl()
311 struct termios *cb; in ttycommon_ioctl()
314 if ((datap = allocb(sizeof (struct termios), in ttycommon_ioctl()
316 ioctlrespsize = sizeof (struct termios); in ttycommon_ioctl()
319 cb = (struct termios *)datap->b_wptr; in ttycommon_ioctl()
324 bzero(cb, sizeof (struct termios)); in ttycommon_ioctl()
326 datap->b_wptr += sizeof (struct termios); in ttycommon_ioctl()
[all …]
H A Dttcompat.c164 static const struct termios base_termios = {
178 static void from_compat(compat_state_t *, struct termios *);
179 static void to_compat(struct termios *, compat_state_t *);
249 if ((datamp = allocb(sizeof (struct termios), BPRI_HI)) == NULL) { in ttcompatopen()
255 iocb->ioc_count = sizeof (struct termios); in ttcompatopen()
256 bcopy(&base_termios, datamp->b_rptr, sizeof (struct termios)); in ttcompatopen()
257 datamp->b_wptr += sizeof (struct termios); in ttcompatopen()
824 to_compat((struct termios *)datap->b_rptr, &tp->t_curstate); in ttcompat_ioctl_ack()
857 to_compat((struct termios *)datap->b_rptr, &tp->t_curstate); in ttcompat_ioctl_ack()
866 to_compat((struct termios *)datap->b_rptr, &tp->t_curstate); in ttcompat_ioctl_ack()
[all …]
/titanic_44/usr/src/cmd/bnu/
H A Dsetmode.c21 static struct termios termios_set;
22 static struct termios termios_clear;
343 struct termios termios; in setty() local
345 if ((*Ioctl)(fd, TCGETS, &termios) < 0) { in setty()
350 termios.c_iflag &= ~termios_clear.c_iflag; in setty()
351 termios.c_iflag |= termios_set.c_iflag; in setty()
352 termios.c_oflag &= ~termios_clear.c_oflag; in setty()
353 termios.c_oflag |= termios_set.c_oflag; in setty()
354 termios.c_cflag &= ~termios_clear.c_cflag; in setty()
355 termios.c_cflag |= termios_set.c_cflag; in setty()
[all …]
/titanic_44/usr/src/lib/libast/common/features/
H A Dtty1 hdr termios,termio,sgtty
2 sys termios,termio,ioctl,bsdtty,nttyio,ttyio
3 lib tcgetattr,tcgetpgrp termios.h
4 mac _POSIX_VDISABLE termios.h
5 mem termios.c_line termios.h
13 # include <termios.h>
16 # include <sys/termios.h>
62 # define termios termio
78 # define termios sgttyb
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dposix_tty.c42 cfgetospeed(struct termios *termios_p) in cfgetospeed()
53 cfsetospeed(struct termios *termios_p, speed_t speed) in cfsetospeed()
74 cfgetispeed(struct termios *termios_p) in cfgetispeed()
86 cfsetispeed(struct termios *termios_p, speed_t speed) in cfsetispeed()
106 tcgetattr(int fd, struct termios *termios_p) in tcgetattr()
115 tcsetattr(int fd, int option, struct termios *termios_p) in tcsetattr()
117 struct termios work_area; in tcsetattr()
/titanic_44/usr/src/lib/libshell/common/features/
H A Dttys1 hdr termios,termio,sgtty
2 sys termios,termio,ioctl,bsdtty,nttyio,filio
3 lib tcgetattr,tcgetpgrp termios.h
/titanic_44/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
/titanic_44/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
/titanic_44/usr/src/cmd/lp/filter/postscript/postio/
H A Difdef.c76 struct termios termios; in setupline() local
113 if ( ioctl(ttyi, TCGETS, &termios) < 0 ) { in setupline()
131 termios.c_iflag = IXON | IGNCR; in setupline()
132 termios.c_oflag = 0; in setupline()
133 termios.c_cflag = HUPCL | CREAD | CS8 | stopbits | in setupline()
134 ((line != NULL) ? baudrate : cfgetospeed(&termios)); in setupline()
135 termios.c_lflag = 0; in setupline()
136 termios.c_cc[VMIN] = termios.c_cc[VTIME] = 0; in setupline()
137 if ( ioctl(ttyi, TCSETS, &termios) == -1 ) { in setupline()
/titanic_44/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c51 struct termios pio_ti;
100 struct termios *ti = arg; in pio_ctl()
107 bcopy(&pdp->pio_ti, ti, sizeof (struct termios)); in pio_ctl()
116 struct termios *ti = arg; in pio_ctl()
122 bcopy(ti, &pdp->pio_ti, sizeof (struct termios)); in pio_ctl()
/titanic_44/usr/src/cmd/ssh/ssh/
H A Dsshtty.c45 static struct termios _saved_tio;
54 struct termios
76 struct termios tio; in enter_raw_mode()
/titanic_44/usr/src/uts/common/sys/
H A Dtermios.h88 struct termios { struct
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 *);
/titanic_44/usr/src/lib/libshell/common/include/
H A Dterminal.h104 # 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*);
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwgetch.c53 static struct termios read_termios;
159 struct termios
162 struct termios rval; in __m_tty_override_mode()
163 struct termios newstuff; in __m_tty_override_mode()
242 struct termios save; in pollTypeahead()
343 struct termios save; in wgetch()
/titanic_44/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtty5 #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
84 # define termios sgttyb
/titanic_44/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtty5 #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
84 # define termios sgttyb
/titanic_44/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtty5 #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
84 # define termios sgttyb
/titanic_44/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtty5 #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
84 # define termios sgttyb
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c24 static krb5_error_code setup_tty(FILE*, int, struct termios *, osiginfo *);
25 static krb5_error_code restore_tty(FILE*, struct termios *, osiginfo *);
42 struct termios saveparm; in krb5_prompter_posix()
155 setup_tty(FILE *fp, int hidden, struct termios *saveparm, osiginfo *osigint) in setup_tty()
159 struct termios tparm; in setup_tty()
188 restore_tty(FILE* fp, struct termios *saveparm, osiginfo *osigint) in restore_tty()

1234567