1 /* exp_tty.h - tty support definitions
3 Design and implementation of this program was paid for by U.S. tax
4 dollars. Therefore it is public domain. However, the author and NIST
5 would appreciate credit if this program or parts of it are used.
11 #include "expect_cf.h"
13 extern int exp_dev_tty;
14 extern int exp_ioctled_devtty;
15 extern int exp_stdin_is_tty;
16 extern int exp_stdout_is_tty;
18 void exp_tty_raw(int set);
19 void exp_tty_echo(int set);
20 void exp_tty_break(Tcl_Interp *interp, int fd);
21 int exp_tty_raw_noecho(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
25 void exp_tty_set(Tcl_Interp *interp, exp_tty *tty, int raw, int echo);
26 int exp_tty_set_simple(exp_tty *tty);
27 int exp_tty_get_simple(exp_tty *tty);
29 #endif /* __EXP_TTY_H__ */