| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
| H A D | termios.d | 15 module core.sys.posix.termios; 142 struct termios in version() struct 240 struct termios in version() struct 337 struct termios in version() struct 434 struct termios in version() struct 531 struct termios in version() struct 628 struct termios in version() struct 725 struct termios in version() struct 851 speed_t cfgetispeed(const scope termios*); in version() 852 speed_t cfgetospeed(const scope termios*); in version() [all …]
|
| /netbsd-src/sys/sys/ |
| H A D | termios.h | 192 struct termios { struct 272 speed_t cfgetispeed(const struct termios *); 273 speed_t cfgetospeed(const struct termios *); 274 int cfsetispeed(struct termios *, speed_t); 275 int cfsetospeed(struct termios *, speed_t); 276 int tcgetattr(int, struct termios *); 277 int tcsetattr(int, int, const struct termios *); 288 void cfmakeraw(struct termios *); 289 int cfsetspeed(struct termios *, speed_t);
|
| H A D | ttycom.h | 74 * The following are not exposed when imported via <termios.h> 106 #define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ 107 #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ 108 #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ 109 #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */ 175 #define TTYDISC 0 /* termios tty line discipline */
|
| /netbsd-src/usr.sbin/lpr/lpd/ |
| H A D | extern.h | 49 struct termios t; /* terminal info */ 57 void sttyclearflags(struct termios *tp, int flags); 58 void sttysetflags(struct termios *tp, int flags); 59 void sttyclearlflags(struct termios *tp, int flags); 60 void sttysetlflags(struct termios *tp, int flags);
|
| H A D | ttcompat.c | 57 static int sttygetoflags(struct termios *); 58 static void sttysetoflags(struct termios *, int); 61 sttygetoflags(struct termios *tp) in sttygetoflags() 98 sttysetoflags(struct termios *tp, int flags) in sttysetoflags() 162 sttyclearflags(struct termios *tp, int flags) in sttyclearflags() 191 sttysetflags(struct termios *tp, int flags) in sttysetflags() 219 sttyclearlflags(struct termios *tp, int flags) in sttyclearlflags() 254 sttysetlflags(struct termios *tp, int flags) in sttysetlflags()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| H A D | ttycom.d | 10 import core.sys.posix.termios; 56 enum uint TIOCGETA = _IOR!(termios)('t', 19); // get termios struct in version() 57 enum uint TIOCSETA = _IOW!(termios)('t', 20); // set termios struct in version() 58 enum uint TIOCSETAW = _IOW!(termios)('t', 21); // drain output, set in version() 59 enum uint TIOCSETAF = _IOW!(termios)('t', 22); // drn out, fls in, set in version() 140 enum uint TIOCGETA = _IOR!(termios)('t', 19); // get termios struct in version() 141 enum uint TIOCSETA = _IOW!(termios)('t', 20); // set termios struct in version() 142 enum uint TIOCSETAW = _IOW!(termios)('t', 21); // drain output, set in version() 143 enum uint TIOCSETAF = _IOW!(termios)('t', 22); // drn out, fls in, set in version() 240 enum uint TIOCGETA = _IOR!(termios)('t', 19); // get termios struct in version() [all …]
|
| /netbsd-src/games/hack/ |
| H A D | hack.ioctl.c | 77 static struct termios termios; variable 82 (void) tcgetattr(fileno(stdin), &termios); in getioctls() 88 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios); in setioctls()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/cf/ |
| H A D | krb-struct-winsize.m4 | 11 for i in sys/termios.h sys/ioctl.h; do 18 AC_DEFINE(HAVE_STRUCT_WINSIZE, 1, [define if struct winsize is declared in sys/termios.h]) 21 AC_EGREP_HEADER(ws_xpixel, termios.h, 23 AC_EGREP_HEADER(ws_ypixel, termios.h,
|
| /netbsd-src/sys/arch/zaurus/stand/zboot/ |
| H A D | unixcons.c | 51 struct linux_termios termios; in consinit() local 86 linux_tcgetattr(fd, &termios); in consinit() 87 if (linux_cfsetspeed(&termios, speed) < 0) { in consinit() 89 if (linux_cfsetspeed(&termios, speed) < 0) in consinit() 92 if (linux_tcsetattr(fd, LINUX_TCSETS, &termios) < 0) in consinit()
|
| /netbsd-src/bin/stty/ |
| H A D | extern.h | 41 void gprint(struct termios *); 42 void gread(struct termios *, char *); 46 void print(struct termios *, struct winsize *, int, const char *, enum FMT);
|
| /netbsd-src/lib/libterminfo/ |
| H A D | curterm.c | 62 struct termios termios; in _ti_setospeed() local 69 if (tcgetattr(term->fildes, &termios) == 0) { in _ti_setospeed() 70 os = cfgetospeed(&termios); in _ti_setospeed()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_termios.h | 158 struct termios *); 159 static void bsd_termios_to_linux32_termio(struct termios *, 162 struct termios *); 163 static void bsd_termios_to_linux32_termios(struct termios *, 169 struct termios *); 170 static void bsd_termios_to_linux_termio(struct termios *, 173 struct termios *); 174 static void bsd_termios_to_linux_termios(struct termios *, 190 linux32_termio_to_bsd_termios(struct linux32_termio *lt, struct termios *bts) in linux32_termio_to_bsd_termios() 192 linux_termio_to_bsd_termios(struct linux_termio *lt, struct termios *bts) in linux32_termio_to_bsd_termios() [all …]
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | sshtty.c | 48 static struct termios _saved_tio; 51 struct termios * 72 struct termios tio; in enter_raw_mode()
|
| /netbsd-src/external/bsd/nvi/dist/cl/ |
| H A D | cl.h | 41 struct termios orig; /* Original terminal values. */ 42 struct termios ex_enter;/* Terminal values to enter ex. */ 43 struct termios vi_enter;/* Terminal values to enter vi. */
|
| /netbsd-src/external/bsd/ntp/dist/include/ |
| H A D | l_stdlib.h | 50 struct termios; 51 extern int cfsetispeed (struct termios *, speed_t); 52 extern int cfsetospeed (struct termios *, speed_t);
|
| /netbsd-src/external/bsd/less/dist/lesstest/ |
| H A D | term.c | 10 static void set_termio_flags(struct termios* s) { in set_termio_flags() 67 struct termios s; in raw_mode() 68 static struct termios save_term; in raw_mode()
|
| /netbsd-src/include/ |
| H A D | util.h | 68 struct termios; 75 pid_t forkpty(int *, char *, struct termios *, struct winsize *); 100 int openpty(int *, int *, char *, struct termios *,
|
| /netbsd-src/lib/libedit/ |
| H A D | tty.c | 459 static int tty_getty(EditLine *, struct termios *); 460 static int tty_setty(EditLine *, int, const struct termios *); 462 static void tty__getchar(struct termios *, unsigned char *); 463 static void tty__setchar(struct termios *, unsigned char *); 464 static speed_t tty__getspeed(struct termios *); 466 static void tty_setup_flags(EditLine *, struct termios *, int); 474 tty_getty(EditLine *el, struct termios *t) in tty_getty() 486 tty_setty(EditLine *el, int action, const struct termios *t) in tty_setty() 611 tty__getspeed(struct termios *td) in tty__getspeed() 732 tty__getchar(struct termios *td, unsigned char *s) in tty__getchar() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/ |
| H A D | termios.d | 9 module core.sys.linux.termios; 12 public import core.sys.posix.termios;
|
| /netbsd-src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| H A D | p2p-nfc.py | 368 import sys, tty, termios 373 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr) 378 import sys, tty, termios, select 381 prev_tcgetattr = termios.tcgetattr(fd) 390 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
|
| /netbsd-src/usr.bin/mail/ |
| H A D | tty.c | 194 save_erase_and_kill(struct termios *t) in save_erase_and_kill() 214 disable_erase_and_kill(struct termios *t) in disable_erase_and_kill() 230 restore_erase_and_kill(struct termios *t) in restore_erase_and_kill() 289 struct termios ttybuf; in grabh()
|
| /netbsd-src/lib/libc/termios/ |
| H A D | tcsetattr.c | 54 tcsetattr(int fd, int opt, const struct termios *t) in __weak_alias() 56 struct termios localterm; in __weak_alias()
|
| /netbsd-src/usr.bin/tip/ |
| H A D | tip.h | 226 extern struct termios term; /* current mode of terminal */ 227 extern struct termios defterm; /* initial mode of terminal */ 228 extern struct termios defchars; /* current mode with initial chars */
|
| /netbsd-src/sys/compat/common/ |
| H A D | tty_43.c | 118 static void ttcompatsetflags(struct tty *, struct termios *); 119 static void ttcompatsetlflags(struct tty *, struct termios *); 151 struct termios term; in compat_43_ttioctl() 222 struct termios term; in compat_43_ttioctl() 350 ttcompatsetflags(struct tty *tp, struct termios *t) in ttcompatsetflags() 439 ttcompatsetlflags(struct tty *tp, struct termios *t) in ttcompatsetlflags()
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | tty.c | 66 static struct termios orig_termios; 69 int uv__tcsetattr(int fd, int how, const struct termios *term) { in uv__tcsetattr() 244 static void uv__tty_make_raw(struct termios* tio) { in uv__tty_make_raw() 282 struct termios tmp; in uv_tty_set_mode()
|