termios
static const struct termios *setup_tty(int);
const struct termios *
static struct termios newtio, oldtio;
const struct termios *tio;
struct termios tty;
struct termios cb;
struct termios ttystate;/* saved tty state for stopped jobs */
struct termios tty_state; /* saved tty state */
extern struct termios tty_state; /* saved tty state */
void gprint(struct termios *, struct winsize *, int);
void gread(struct termios *, char *);
void print(struct termios *, struct winsize *, int, enum FMT);
gprint(struct termios *tp, struct winsize *wp, int ldisc)
gread(struct termios *tp, char *s)
print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt)
struct termios t; /* terminal info */
extern struct termios __orig_termios; /* Terminal state before curses */
extern struct termios __baset; /* Our base terminal state */
struct termios otty, ntty;
struct termios tty_start, tty_new;
extern struct termios tty_start, tty_new;
struct termios termios;
(void) tcgetattr(fileno(stdin), &termios);
(void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
struct termios inittyb, curttyb;
struct termios tty;
struct termios term;
struct termios newtt;
static struct termios oldtt;
struct termios term;
struct termios term, oterm;
cfgetispeed(const struct termios *t)
cfgetospeed(const struct termios *t)
cfmakeraw(struct termios *t)
cfsetispeed(struct termios *t, speed_t speed)
cfsetospeed(struct termios *t, speed_t speed)
cfsetspeed(struct termios *t, speed_t speed)
struct termios term;
tcgetattr(int fd, struct termios *t)
tcsetattr(int fd, int opt, const struct termios *t)
struct termios localterm;
struct termios tios;
struct termios tios;
struct termios tios;
struct termios tios;
struct termios tios;
static struct termios tty_orig;
struct termios tty_new = tty_orig;
#define TTY struct termios
#define TTY struct termios
struct termios t;
struct termios *tios = &el->el_tty.t_ex;
tty_setup_flags(EditLine *el, struct termios *tios, int mode)
static int tty_getty(EditLine *, struct termios *);
static int tty_setty(EditLine *, int, const struct termios *);
static void tty__getchar(struct termios *, unsigned char *);
static void tty__setchar(struct termios *, unsigned char *);
static speed_t tty__getspeed(struct termios *);
static void tty_setup_flags(EditLine *, struct termios *, int);
tty_getty(EditLine *el, struct termios *t)
tty_setty(EditLine *el, int action, const struct termios *t)
tty__getspeed(struct termios *td)
tty__getchar(struct termios *td, unsigned char *s)
tty__setchar(struct termios *td, unsigned char *s)
tty__get_flag(struct termios *t, int kind) {
struct termios t_or, t_ex, t_ed, t_ts;
static struct termios term;
forkpty(int *amaster, char *name, const struct termios *termp,
fdforkpty(int ptmfd, int *amaster, char *name, const struct termios *termp,
openpty(int *amaster, int *aslave, char *name, const struct termios *termp,
const struct termios *termp, const struct winsize *winp)
int openpty(int *, int *, char *, const struct termios *,
int fdopenpty(int, int *, int *, char *, const struct termios *,
pid_t forkpty(int *, char *, const struct termios *, const struct winsize *);
pid_t fdforkpty(int, int *, char *, const struct termios *,
struct termios;
struct termios ttybuf;
extern struct termios tmode;
struct termios tmode, omode;
extern struct termios tmode, omode;
struct termios tio;
struct termios tt;
struct termios ts; /* sys/termios.h */
struct termios ti;
struct termios term;
struct termios tty;
struct termios t;
struct termios t;
struct termios saved_tio, tio;
pdcparam(struct tty *tp, struct termios *t)
int pdcparam(struct tty *tp, struct termios *);
struct termios;
int pdcparam(struct tty *, struct termios *);
sioparam(struct tty *tp, struct termios *t)
struct termios t;
int sioparam(struct tty *, struct termios *);
struct termios saved_tio, tio;
opalconsparam(struct tty *tp, struct termios *t)
int opalconsparam(struct tty *, struct termios *);
struct termios saved_tio, tio;
sfuart_param(struct tty *tp, struct termios *t)
int scifparam(struct tty *, struct termios *);
scifparam(struct tty *tp, struct termios *t)
struct termios t;
int pconsparam(struct tty *, struct termios *);
pconsparam(struct tty *tp, struct termios *t)
sabtty_param(struct tty *tp, struct termios *t)
int sabtty_param(struct tty *, struct termios *);
int sabttyparam(struct sabtty_softc *, struct tty *, struct termios *);
struct termios t;
sabttyparam(struct sabtty_softc *sc, struct tty *tp, struct termios *t)
int sbbcparam(struct tty *, struct termios *);
sbbcparam(struct tty *tp, struct termios *t)
vccttyparam(struct tty *tp, struct termios *t)
int vccttyparam(struct tty *, struct termios *);
vconsparam(struct tty *tp, struct termios *t)
int vconsparam(struct tty *, struct termios *);
amluart_param(struct tty *tp, struct termios *t)
int cduartparam(struct tty *, struct termios *);
cduartparam(struct tty *tp, struct termios *t)
int exuart_param(struct tty *tp, struct termios *t);
exuart_param(struct tty *tp, struct termios *t)
imxuart_param(struct tty *tp, struct termios *t)
int imxuart_param(struct tty *tp, struct termios *t);
int mvuart_param(struct tty *, struct termios *);
mvuart_param(struct tty *tp, struct termios *t)
comparam(struct tty *tp, struct termios *t)
int comparam(struct tty *, struct termios *);
cyparam(struct tty *tp, struct termios *t)
int cyparam(struct tty *, struct termios *);
int pluart_param(struct tty *tp, struct termios *t);
pluart_param(struct tty *tp, struct termios *t)
qcuart_param(struct tty *tp, struct termios *t)
int zsparam(struct tty *, struct termios *);
struct termios t;
struct termios t;
zsparam(struct tty *tp, struct termios *t)
czttyparam(struct tty *tp, struct termios *t)
int czttyparam(struct tty *tp, struct termios *t);
struct termios t;
int vioconparam(struct tty *, struct termios *);
vioconparam(struct tty *tp, struct termios *t)
mtty_param(struct tty *tp, struct termios *t)
int mtty_param(struct tty *, struct termios *);
stty_param(struct tty *tp, struct termios *t)
int stty_param(struct tty *, struct termios *);
int moscom_param(void *, int, struct termios *);
moscom_param(void *vsc, int portno, struct termios *t)
uark_param(void *vsc, int portno, struct termios *t)
int uark_param(void *, int, struct termios *);
int ubsa_param(void *, int, struct termios *);
ubsa_param(void *addr, int portno, struct termios *ti)
int uchcom_param(void *, int, struct termios *);
uchcom_param(void *arg, int portno, struct termios *t)
int ucomparam(struct tty *, struct termios *);
struct termios t;
ucomparam(struct tty *tp, struct termios *t)
int (*ucom_param)(void *sc, int portno, struct termios *);
int ucycom_param(void *, int, struct termios *);
struct termios t;
ucycom_param(void *addr, int portno, struct termios *t)
uftdi_param(void *vsc, int portno, struct termios *t)
struct termios t;
int uftdi_param(void *, int, struct termios *);
int ukspan_param(void *, int, struct termios *);
ukspan_param(void *addr, int portno, struct termios *ti)
int umcs_param(void *, int, struct termios *);
umcs_param(void *self, int portno, struct termios *t)
int umct_param(void *, int, struct termios *);
umct_param(void *addr, int portno, struct termios *t)
int umodem_param(void *, int, struct termios *);
umodem_param(void *addr, int portno, struct termios *t)
int uplcom_param(void *, int, struct termios *);
uplcom_param(void *addr, int portno, struct termios *t)
uslcom_param(void *vsc, int portno, struct termios *t)
int uslcom_param(void *, int, struct termios *);
uslhcom_create_config(struct uslhcom_uart_config *config, struct termios *t)
uslhcom_param(void *arg, int portno, struct termios *t)
int uslhcom_param(void *, int, struct termios *);
int uslhcom_create_config(struct uslhcom_uart_config *, struct termios *);
static int uticom_param(void *, int, struct termios *);
uticom_param(void *vsc, int portno, struct termios *t)
int uvscom_param(void *, int, struct termios *);
uvscom_param(void *addr, int portno, struct termios *t)
uxrcom_param(void *vsc, int portno, struct termios *t)
int uxrcom_param(void *, int, struct termios *);
wsdisplayparam(struct tty *tp, struct termios *t)
int wsdisplayparam(struct tty *, struct termios *);
struct termios *t = (struct termios *)data;
memcpy(t, &tp->t_termios, sizeof(struct termios));
struct termios *t = (struct termios *)data;
speed_t cfgetispeed(const struct termios *);
speed_t cfgetospeed(const struct termios *);
int cfsetispeed(struct termios *, speed_t);
int cfsetospeed(struct termios *, speed_t);
int tcgetattr(int, struct termios *);
int tcsetattr(int, int, const struct termios *);
void cfmakeraw(struct termios *);
int cfsetspeed(struct termios *, speed_t);
struct termios t_termios; /* Termios state. */
int (*t_param)(struct tty *, struct termios *);
#define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */
#define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */
#define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */
#define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */
struct termios;
int gettty(struct termios *);
extern struct termios ttysaved;
struct termios ttysaved, ttyedit;
settty(struct termios *t)
gettty(struct termios *t)
struct termios tio;
struct termios tio;
struct termios saved_tio;
struct termios line_tio;
extern struct termios saved_tio;
struct termios tio;
struct termios s;
static struct termios save_term;
struct termios tbuf;
struct termios tbuf;
struct termios newtio, oldtio;
struct termios oldtty; /* POSIX tty settings. */
struct termios newtty;
struct termios rtt = tt;
struct termios tt;
struct termios tio;
const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd,
const char *, struct termios *, int, struct sshbuf *, char **);
struct termios tio;
void ssh_tty_make_modes(struct ssh *, int, struct termios *);
struct termios *get_saved_tio(void);
static struct termios _saved_tio;
struct termios *
struct termios tio;
ssh_tty_make_modes(struct ssh *ssh, int fd, struct termios *tiop)
struct termios tio;
struct termios tio;
static struct termios screen_settings;
struct termios tty;
struct termios new_tc = { 0 };
extern struct termios new_tc;
struct termios tmp_tc;
struct termios old_tc = { 0 };
struct termios tc;
struct termios tio, saved_tio;
struct termios tio, *tiop;
struct environ *env, struct options *oo, struct termios *tio)
struct termios now;
struct termios *tio;
struct termios tio;
struct termios tio;
static struct termios old_settings, new_settings;
struct termios orig; /* Original terminal values. */
struct termios ex_enter;/* Terminal values to enter ex. */
struct termios vi_enter;/* Terminal values to enter vi. */
struct termios t;
struct termios term1, term2;
struct termios sh_term; /* Terminal information. */
struct termios t; /* terminal info */
struct termios t; /* terminal info */
#define term_parms struct termios
struct termios saved_tty_parameters;
static struct termios inittermios; /* Initial TTY termios */
struct termios tios;
struct termios tios;
struct termios tty;