Blame exp_tty.h

Packit a69f91
/* exp_tty.h - tty support definitions
Packit a69f91
Packit a69f91
Design and implementation of this program was paid for by U.S. tax
Packit a69f91
dollars.  Therefore it is public domain.  However, the author and NIST
Packit a69f91
would appreciate credit if this program or parts of it are used.
Packit a69f91
*/
Packit a69f91
Packit a69f91
#ifndef __EXP_TTY_H__
Packit a69f91
#define __EXP_TTY_H__
Packit a69f91
Packit a69f91
#include "expect_cf.h"
Packit a69f91
Packit a69f91
extern int exp_dev_tty;
Packit a69f91
extern int exp_ioctled_devtty;
Packit a69f91
extern int exp_stdin_is_tty;
Packit a69f91
extern int exp_stdout_is_tty;
Packit a69f91
Packit a69f91
void exp_tty_raw(int set);
Packit a69f91
void exp_tty_echo(int set);
Packit a69f91
void exp_tty_break(Tcl_Interp *interp, int fd);
Packit a69f91
int exp_tty_raw_noecho(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
Packit a69f91
int exp_israw(void);
Packit a69f91
int exp_isecho(void);
Packit a69f91
Packit a69f91
void exp_tty_set(Tcl_Interp *interp, exp_tty *tty, int raw, int echo);
Packit a69f91
int exp_tty_set_simple(exp_tty *tty);
Packit a69f91
int exp_tty_get_simple(exp_tty *tty);
Packit a69f91
Packit a69f91
#endif	/* __EXP_TTY_H__ */