| /freebsd-12.1/crypto/heimdal/appl/login/ |
| H A D | stty_default.c | 75 struct termios termios; in stty_default() local 81 tcgetattr(0, &termios); in stty_default() 84 termios.c_iflag &= ~IXANY; in stty_default() 89 termios.c_oflag |= (OPOST|ONLCR); in stty_default() 90 termios.c_oflag &= ~OXTABS; in stty_default() 92 termios.c_cc[VINTR] = Ctl('C'); in stty_default() 93 termios.c_cc[VERASE] = Ctl('H'); in stty_default() 94 termios.c_cc[VKILL] = Ctl('U'); in stty_default() 95 termios.c_cc[VEOF] = Ctl('D'); in stty_default() 97 termios.c_cc[VSUSP] = Ctl('Z'); in stty_default() [all …]
|
| /freebsd-12.1/include/ |
| H A D | termios.h | 75 speed_t cfgetispeed(const struct termios *); 76 speed_t cfgetospeed(const struct termios *); 77 int cfsetispeed(struct termios *, speed_t); 78 int cfsetospeed(struct termios *, speed_t); 79 int tcgetattr(int, struct termios *); 80 int tcsetattr(int, int, const struct termios *); 92 void cfmakeraw(struct termios *); 93 void cfmakesane(struct termios *); 94 int cfsetspeed(struct termios *, speed_t);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/ |
| H A D | embedded_interpreter.py | 65 import termios 67 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234')) 86 import termios 87 old = termios.tcgetattr(fd) 88 if old[3] & termios.ECHO: 90 new = termios.tcgetattr(fd) 91 new[3] = new[3] & ~termios.ECHO 93 termios.tcsetattr(fd, termios.TCSADRAIN, new) 100 termios.tcsetattr(fd, termios.TCSADRAIN, old)
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | termios.c | 52 tcgetattr(int fd, struct termios *t) in tcgetattr() 59 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() 61 struct termios localterm; in tcsetattr() 125 cfgetospeed(const struct termios *t) in cfgetospeed() 132 cfgetispeed(const struct termios *t) in cfgetispeed() 139 cfsetospeed(struct termios *t, speed_t speed) in cfsetospeed() 147 cfsetispeed(struct termios *t, speed_t speed) in cfsetispeed() 155 cfsetspeed(struct termios *t, speed_t speed) in cfsetspeed() 167 cfmakeraw(struct termios *t) in cfmakeraw() 185 cfmakesane(struct termios *t) in cfmakesane() [all …]
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | bsd-nextstep.h | 49 int tcgetattr(int, struct termios *); 50 int tcsetattr(int, int, const struct termios *); 52 speed_t cfgetospeed(const struct termios *); 53 speed_t cfgetispeed(const struct termios *); 54 int cfsetospeed(struct termios *, int); 55 int cfsetispeed(struct termios *, int);
|
| H A D | bsd-nextstep.c | 47 tcgetattr(int fd, struct termios *t) in tcgetattr() 53 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() 55 struct termios localterm; in tcsetattr() 80 speed_t cfgetospeed(const struct termios *t) in cfgetospeed() 85 speed_t cfgetispeed(const struct termios *t) in cfgetispeed() 91 cfsetospeed(struct termios *t,int speed) in cfsetospeed() 98 cfsetispeed(struct termios *t, int speed) in cfsetispeed()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | ser-unix.c | 40 struct termios termios; member 242 (int) state->termios.c_iflag, in hardwire_print_tty_state() 245 (int) state->termios.c_cflag, in hardwire_print_tty_state() 394 state.termios.c_iflag = 0; in hardwire_raw() 395 state.termios.c_oflag = 0; in hardwire_raw() 396 state.termios.c_lflag = 0; in hardwire_raw() 399 state.termios.c_cc[VMIN] = 0; in hardwire_raw() 400 state.termios.c_cc[VTIME] = 0; in hardwire_raw() 493 state.termios.c_cc[VTIME] = 0; in wait_for() 494 state.termios.c_cc[VMIN] = 1; in wait_for() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/gdbserver/ |
| H A D | remote-utils.c | 65 struct termios termios; in remote_open() local 66 tcgetattr (remote_desc, &termios); in remote_open() 68 termios.c_iflag = 0; in remote_open() 69 termios.c_oflag = 0; in remote_open() 70 termios.c_lflag = 0; in remote_open() 71 termios.c_cflag &= ~(CSIZE | PARENB); in remote_open() 72 termios.c_cflag |= CLOCAL | CS8; in remote_open() 73 termios.c_cc[VMIN] = 1; in remote_open() 74 termios.c_cc[VTIME] = 0; in remote_open() 76 tcsetattr (remote_desc, TCSANOW, &termios); in remote_open()
|
| /freebsd-12.1/bin/stty/ |
| H A D | extern.h | 37 void gprint(struct termios *, struct winsize *, int); 38 void gread(struct termios *, char *); 42 void print(struct termios *, struct winsize *, int, enum FMT);
|
| /freebsd-12.1/sys/sys/ |
| H A D | ttycom.h | 70 #define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ 71 #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ 72 #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ 73 #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */
|
| H A D | tty.h | 112 struct termios t_termios; /* (t) I/O processing flags. */ 119 struct termios t_termios_init_in; /* tty%s.init. */ 120 struct termios t_termios_lock_in; /* tty%s.lock. */ 121 struct termios t_termios_init_out; /* cua%s.init. */ 122 struct termios t_termios_lock_out; /* cua%s.lock. */
|
| /freebsd-12.1/usr.bin/bc/ |
| H A D | extern.h | 32 struct termios; 33 int gettty(struct termios *); 47 extern struct termios ttysaved;
|
| H A D | tty.c | 26 struct termios ttysaved, ttyedit; 29 settty(struct termios *t) in settty() 39 gettty(struct termios *t) in gettty()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/lldb-mi/ |
| H A D | Platform.h | 38 struct termios { struct 58 const struct termios *termios_p); argument 59 extern int tcgetattr(int fildes, struct termios *termios_p);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/ |
| H A D | Platform.h | 46 struct termios { struct 71 const struct termios *termios_p); argument 72 extern int tcgetattr(int fildes, struct termios *termios_p);
|
| H A D | Platform.cpp | 50 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr() 54 int tcgetattr(int fildes, struct termios *termios_p) { in tcgetattr()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | sshtty.c | 47 static struct termios _saved_tio; 50 struct termios * 71 struct termios tio; in enter_raw_mode()
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | mi.termios.c | 58 struct termios *termios_p; in cfgetispeed() 64 struct termios *termios_p; in cfgetospeed() 70 struct termios *termios_p; in cfsetispeed() 78 struct termios *termios_p; in cfsetospeed() 155 struct termios *termios_p; 287 struct termios *termios_p;
|
| H A D | tc.disc.c | 51 static struct termios otermiob; 72 struct termios termiob; 99 struct termios termiob;
|
| /freebsd-12.1/contrib/nvi/cl/ |
| H A D | cl.h | 30 struct termios orig; /* Original terminal values. */ 31 struct termios ex_enter;/* Terminal values to enter ex. */ 32 struct termios vi_enter;/* Terminal values to enter vi. */
|
| /freebsd-12.1/contrib/ntp/include/ |
| H A D | l_stdlib.h | 48 struct termios; 49 extern int cfsetispeed (struct termios *, speed_t); 50 extern int cfsetospeed (struct termios *, speed_t);
|
| /freebsd-12.1/usr.sbin/lpr/lpd/ |
| H A D | extern.h | 41 struct termios; 47 int msearch(char *_str, struct termios *_ip);
|
| /freebsd-12.1/libexec/getty/ |
| H A D | extern.h | 36 struct termios; 41 extern struct termios tmode, omode;
|
| /freebsd-12.1/contrib/ncurses/include/ |
| H A D | ncurses_mingw.h | 58 struct termios struct 70 extern int _nc_mingw_ioctl(int fd, long int request, struct termios* arg); argument
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/ |
| H A D | Terminal.cpp | 31 struct termios fd_termios; in SetEcho() 60 struct termios fd_termios; in SetCanonical() 123 m_termios_ap.reset(new struct termios); in Save()
|