OpenBSD fixes for lib/DtTerm: values.h, #ifdef's and some constants that are not defined on BSD. Also, leave out utmp stuff that does not work on BSD. Note that this terminal allocation does not work properly yet, but this will be fixed later.

This commit is contained in:
Pascal Stumpf
2012-08-09 23:53:47 +02:00
committed by Jon Trulson
parent f5a8836bff
commit 19647809e4
9 changed files with 43 additions and 8 deletions

View File

@@ -109,6 +109,17 @@ static char rcs_id[] = "$TOG: TermPrimSetPty.c /main/2 1998/04/03 17:11:24 mgree
#define XTTYMODE_weras 14
#define XTTYMODE_lnext 15
#define NXTTYMODES 16
#if defined(CSRG_BASED)
#define TAB3 0x00000000
#define NLDLY 0x00000000
#define CRDLY 0x00000000
#define TABDLY 0x00000000
#define BSDLY 0x00000000
#define VTDLY 0x00000000
#define FFDLY 0x00000000
#define CBAUD 0x00000000
#endif
typedef struct _ttyMode
{
char *name;