Lines 22-27
Link Here
|
22 |
* $Id: display.h,v 1.9 1994/05/31 12:31:54 mlschroe Exp $ FAU |
22 |
* $Id: display.h,v 1.9 1994/05/31 12:31:54 mlschroe Exp $ FAU |
23 |
*/ |
23 |
*/ |
24 |
|
24 |
|
|
|
25 |
#include <limits.h> |
26 |
|
27 |
#ifndef NAME_MAX |
28 |
# ifndef MAXNAMELEN |
29 |
# define NAME_MAX 255 |
30 |
# else |
31 |
# define NAME_MAX MAXNAMELEN |
32 |
# endif |
33 |
#endif |
34 |
|
25 |
#ifdef MAPKEYS |
35 |
#ifdef MAPKEYS |
26 |
|
36 |
|
27 |
#define KMAP_KEYS (T_OCAPS-T_CAPS) |
37 |
#define KMAP_KEYS (T_OCAPS-T_CAPS) |
Lines 85-91
Link Here
|
85 |
struct win *d_other; /* pointer to other window */ |
95 |
struct win *d_other; /* pointer to other window */ |
86 |
int d_nonblock; /* -1 don't block if obufmax reached */ |
96 |
int d_nonblock; /* -1 don't block if obufmax reached */ |
87 |
/* >0: block after nonblock secs */ |
97 |
/* >0: block after nonblock secs */ |
88 |
char d_termname[20 + 1]; /* $TERM */ |
98 |
char d_termname[NAME_MAX + 1]; /* $TERM */ |
89 |
char *d_tentry; /* buffer for tgetstr */ |
99 |
char *d_tentry; /* buffer for tgetstr */ |
90 |
char d_tcinited; /* termcap inited flag */ |
100 |
char d_tcinited; /* termcap inited flag */ |
91 |
int d_width, d_height; /* width/height of the screen */ |
101 |
int d_width, d_height; /* width/height of the screen */ |