/freebsd/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() 83 termios.c_iflag |= (BRKINT|IGNPAR|ICRNL|IXON|IMAXBEL); in stty_default() 84 termios.c_iflag &= ~IXANY; in stty_default() 86 termios.c_lflag |= (ISIG|IEXTEN|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE); in stty_default() 87 termios.c_lflag &= ~(ECHOPRT|TOSTOP|FLUSHO); 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() [all …]
|
/freebsd/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/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | embedded_interpreter.py | 36 import termios 39 hw = struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234")) 79 import termios 81 old = termios.tcgetattr(fd) 82 if old[3] & termios.ECHO: 84 new = termios.tcgetattr(fd) 85 new[3] = new[3] & ~termios.ECHO 87 termios.tcsetattr(fd, termios.TCSADRAIN, new) 95 termios [all...] |
/freebsd/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/lib/libc/gen/ |
H A D | termios.c | 48 tcgetattr(int fd, struct termios *t) in tcgetattr() 55 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr() 57 struct termios localterm; in tcsetattr() 121 cfgetospeed(const struct termios *t) in cfgetospeed() 128 cfgetispeed(const struct termios *t) in cfgetispeed() 135 cfsetospeed(struct termios *t, speed_t speed) in cfsetospeed() 143 cfsetispeed(struct termios *t, speed_t speed) in cfsetispeed() 151 cfsetspeed(struct termios *t, speed_t speed) in cfsetspeed() 163 cfmakeraw(struct termios *t) in cfmakeraw() 181 cfmakesane(struct termios *t) in cfmakesane() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Terminal.cpp | 27 struct termios m_termios; ///< Cached terminal state information. 82 struct termios &fd_termios = data->m_termios; in SetEcho() 98 struct termios &fd_termios = data->m_termios; in SetCanonical() 114 struct termios &fd_termios = data->m_termios; in SetRaw() 279 struct termios &fd_termios = data->m_termios; in SetBaudRate() 305 struct termios &fd_termios = data->m_termios; in SetStopBits() 330 struct termios &fd_termios = data->m_termios; in SetParity() 363 struct termios &fd_termios = data->m_termios; in SetParityCheck() 386 struct termios &fd_termios = data->m_termios; in SetHardwareFlowControl()
|
/freebsd/bin/stty/ |
H A D | extern.h | 34 void gprint(struct termios *, struct winsize *, int); 35 void gread(struct termios *, char *); 39 void print(struct termios *, struct winsize *, int, enum FMT);
|
/freebsd/sys/sys/ |
H A D | ttycom.h | 57 #define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ 58 #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ 59 #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ 60 #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */
|
H A D | tty.h | 110 struct termios t_termios; /* (t) I/O processing flags. */ 117 struct termios t_termios_init_in; /* tty%s.init. */ 118 struct termios t_termios_lock_in; /* tty%s.lock. */ 119 struct termios t_termios_init_out; /* cua%s.init. */ 120 struct termios t_termios_lock_out; /* cua%s.lock. */
|
/freebsd/usr.bin/bc/ |
H A D | extern.h | 31 struct termios; 32 int gettty(struct termios *); 46 extern struct termios ttysaved;
|
H A D | tty.c | 25 struct termios ttysaved, ttyedit; 28 settty(struct termios *t) in settty() 38 gettty(struct termios *t) in gettty()
|
/freebsd/contrib/ncurses/include/ |
H A D | ncurses_mingw.h | 57 struct termios struct 72 const struct termios* arg); argument 75 struct termios* arg);
|
/freebsd/contrib/llvm-project/lldb/tools/driver/ |
H A D | Platform.h | 47 struct termios { struct 72 const struct termios *termios_p); argument 73 extern int tcgetattr(int fildes, struct termios *termios_p);
|
H A D | Platform.cpp | 49 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p) { in tcsetattr() 53 int tcgetattr(int fildes, struct termios *termios_p) { in tcgetattr()
|
/freebsd/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/contrib/nvi/cl/ |
H A D | cl.h | 27 struct termios orig; /* Original terminal values. */ 28 struct termios ex_enter;/* Terminal values to enter ex. */ 29 struct termios vi_enter;/* Terminal values to enter vi. */
|
/freebsd/contrib/tcsh/ |
H A D | mi.termios.c | 56 struct termios *termios_p; in cfgetispeed() 62 struct termios *termios_p; in cfgetospeed() 68 struct termios *termios_p; in cfsetispeed() 76 struct termios *termios_p; in cfsetospeed() 153 struct termios *termios_p; 285 struct termios *termios_p;
|
H A D | tc.disc.c | 47 static struct termios otermiob; 72 struct termios termiob; 99 struct termios termiob;
|
/freebsd/usr.sbin/lpr/lpd/ |
H A D | extern.h | 38 struct termios; 44 int msearch(char *_str, struct termios *_ip);
|
/freebsd/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/libexec/getty/ |
H A D | extern.h | 33 struct termios; 38 extern struct termios tmode, omode;
|
/freebsd/lib/libvgl/ |
H A D | keyboard.c | 41 static struct termios VGLKeyboardTty; 47 static struct termios term; in VGLKeyboardInit()
|
/freebsd/contrib/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 …]
|
/freebsd/sys/dev/usb/serial/ |
H A D | usb_serial.h | 94 void (*ucom_cfg_param) (struct ucom_softc *, struct termios *); 98 int (*ucom_pre_param) (struct ucom_softc *, struct termios *); 128 struct termios termios_copy;
|