Added freebsd support from Dario Alcocer <alcocer@connectnet.com>.

This commit is contained in:
Joel Sherrill
1998-06-18 15:22:35 +00:00
parent ce691c51fd
commit 9a6994b490
12 changed files with 164 additions and 70 deletions

View File

@@ -24,6 +24,20 @@
#include <termios.h>
#include <unistd.h>
/*
* FreeBSD does not support a full POSIX termios so we have to help it out
*/
#if defined(__FreeBSD__)
#define XTABS 0
#define ONLRET 0
#define ONOCR 0
#define TABDLY 0
#define OLCUC 0
#define ILCUC 0
#endif
/*
* The size of the cooked buffer
*/