| 1 |
/* $Id: ttymodes.h,v 1.3 1996/08/22 10:56:18 tom Exp $ */ |
| 2 |
|
| 3 |
#ifndef TTYMODES_H |
| 4 |
#define TTYMODES_H 1 |
| 5 |
|
| 6 |
#ifdef DEBUG |
| 7 |
void log_ttymodes(char *file, int line); |
| 8 |
void dump_ttymodes(char *tag, int flag); |
| 9 |
#else |
| 10 |
#define log_ttymodes(file, line) /*nothing*/ |
| 11 |
#define dump_ttymodes(tag, flag) /*nothing*/ |
| 12 |
#endif |
| 13 |
|
| 14 |
void close_tty(void); |
| 15 |
void init_ttymodes(int pn); |
| 16 |
void restore_ttymodes(void); |
| 17 |
void set_tty_crmod(int enabled); |
| 18 |
void set_tty_echo(int enabled); |
| 19 |
void set_tty_raw(int enabled); |
| 20 |
|
| 21 |
#endif /* TTYMODES_H */ |