6 /* This is only to let people that don't want to install ncurses */
7 /* run this nice program; they get what they deserve. */
9 /* Ultrix has a better curses: cursesX */
25 #define ACS_ULCORNER '+'
29 #define ACS_LLCORNER '+'
33 #define ACS_URCORNER '+'
37 #define ACS_LRCORNER '+'
45 #define KEY_BACKSPACE 0
53 COLOR_BLACK
, COLOR_RED
, COLOR_GREEN
, COLOR_YELLOW
,
54 COLOR_BLUE
, COLOR_MAGENTA
, COLOR_CYAN
, COLOR_WHITE
57 int has_colors (void);
58 int init_pair (int, int, int);
59 #define ACS_MAP(x) '*'
60 #define COLOR_PAIR(x) 1
62 #define xgetch x_getch
63 #define wtouchln(win,b,c,d) touchwin(win)
64 #define untouchwin(win)
65 #define derwin(win,x,y,z,w) win
68 #else /* if not USE_BSD_CURSES then ...*/
70 /* Use this file only under System V */
71 #if defined(USE_SYSV_CURSES)
75 /* Ugly hack to avoid name space pollution */
80 #define TERM_INCLUDED 1
83 #if defined(sparc) || defined(__sgi) || defined(_SGI_SOURCE)
84 /* We are dealing with Solaris or SGI buggy curses :-) */
85 #define BUGGY_CURSES 1
88 #if defined(mips) && defined(sgi)
89 /* GNU C compiler, buggy sgi */
90 #define BUGGY_CURSES 1
94 /* This is required since ncurses 1.8.6 and newer changed the name of */
95 /* the include files (argh!) */
96 #ifdef RENAMED_NCURSES
101 #define TERM_INCLUDED 1
104 #error The ncurses.h file should only be included under SystemV.
105 #error BSD systems and Linux require the real ncurses package
109 #endif /* USE_BSD_CURSES */
110 #endif /* __NCURSES_H */