Return to sshtty.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.12, 2006/08/03 03:34:42 | version 1.13, 2008/05/19 15:45:07 | ||
---|---|---|---|
|
|
||
static struct termios _saved_tio; | static struct termios _saved_tio; | ||
static int _in_raw_mode = 0; | static int _in_raw_mode = 0; | ||
struct termios | struct termios * | ||
get_saved_tio(void) | get_saved_tio(void) | ||
{ | { | ||
return _saved_tio; | return _in_raw_mode ? &_saved_tio : NULL; | ||
} | } | ||
void | void |