version 1.4, 1997/02/25 00:05:11 |
version 1.5, 2001/11/19 19:02:18 |
|
|
#endif |
#endif |
|
|
wwgettty(d, t) |
wwgettty(d, t) |
register struct ww_tty *t; |
struct ww_tty *t; |
{ |
{ |
#ifdef OLD_TTY |
#ifdef OLD_TTY |
if (ioctl(d, TIOCGETP, (char *)&t->ww_sgttyb) < 0) |
if (ioctl(d, TIOCGETP, (char *)&t->ww_sgttyb) < 0) |
|
|
* it changes, to avoid unnecessary flushing of typeahead. |
* it changes, to avoid unnecessary flushing of typeahead. |
*/ |
*/ |
wwsettty(d, t) |
wwsettty(d, t) |
register struct ww_tty *t; |
struct ww_tty *t; |
{ |
{ |
#ifdef OLD_TTY |
#ifdef OLD_TTY |
int i; |
int i; |