Commit 1908095a authored by Niels Möller's avatar Niels Möller
Browse files

* src/tty.c (tty_makeraw): #if:ed out this function.

Rev: src/tty.c:1.10
Rev: src/tty.h:1.10
parent 39e9dd08
......@@ -50,6 +50,7 @@ tty_setattr(int fd, struct termios *ios)
return tcsetattr(fd, TCSADRAIN, ios) != -1 ? 1 : 0;
}
#if 0
int tty_makeraw(int fd)
{
struct termios ios;
......@@ -61,6 +62,7 @@ int tty_makeraw(int fd)
}
return 0;
}
#endif
int
tty_getwinsize(int fd, UINT32 *w, UINT32 *h, UINT32 *wp, UINT32 *hp)
......@@ -93,8 +95,6 @@ tty_setwinsize(int fd, UINT32 w, UINT32 h, UINT32 wp, UINT32 hp)
return ioctl(fd, TIOCSWINSZ, &ws) == -1 ? 0 : 1;
}
static int cc_ndx[] =
{
#ifdef VINTR
......
......@@ -31,10 +31,14 @@
int tty_getattr(int fd, struct termios *ios);
int tty_setattr(int fd, struct termios *ios);
#if 0
int tty_makeraw(int fd);
#endif
int tty_getwinsize(int fd, UINT32 *w, UINT32 *h, UINT32 *wp, UINT32 *hp);
int tty_setwinsize(int fd, UINT32 w, UINT32 h, UINT32 wp, UINT32 hp);
struct lsh_string *
tty_encode_term_mode(struct termios *ios);
int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment