… | |
… | |
110 | |
110 | |
111 | #ifndef STDIN_FILENO |
111 | #ifndef STDIN_FILENO |
112 | # define STDIN_FILENO 0 |
112 | # define STDIN_FILENO 0 |
113 | # define STDOUT_FILENO 1 |
113 | # define STDOUT_FILENO 1 |
114 | # define STDERR_FILENO 2 |
114 | # define STDERR_FILENO 2 |
115 | #endif |
|
|
116 | |
|
|
117 | #if !defined (EACCESS) && defined(EAGAIN) |
|
|
118 | # define EACCESS EAGAIN |
|
|
119 | #endif |
115 | #endif |
120 | |
116 | |
121 | #ifndef EXIT_SUCCESS /* missing from <stdlib.h> */ |
117 | #ifndef EXIT_SUCCESS /* missing from <stdlib.h> */ |
122 | # define EXIT_SUCCESS 0 /* exit function success */ |
118 | # define EXIT_SUCCESS 0 /* exit function success */ |
123 | # define EXIT_FAILURE 1 /* exit function failure */ |
119 | # define EXIT_FAILURE 1 /* exit function failure */ |
… | |
… | |
340 | #define RS_styleShift 14 |
336 | #define RS_styleShift 14 |
341 | |
337 | |
342 | #define RS_baseattrMask (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline) |
338 | #define RS_baseattrMask (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline) |
343 | #define RS_attrMask (RS_baseattrMask | RS_fontMask) |
339 | #define RS_attrMask (RS_baseattrMask | RS_fontMask) |
344 | |
340 | |
345 | #define RS_fontCount 127 // not 128 or 256, see rxvtfont.h |
341 | #define RS_fontCount rxvt_fontset::fontCount |
346 | #define RS_fontMask 0xff000000UL // plenty(?) of fonts, includes RS_Careful |
342 | #define RS_fontMask 0xff000000UL // plenty(?) of fonts, includes RS_Careful |
347 | #define RS_fontShift 24 |
343 | #define RS_fontShift 24 |
348 | |
344 | |
349 | #define DEFAULT_RSTYLE (RS_None | Color_fg | (Color_bg << Color_Bits)) |
345 | #define DEFAULT_RSTYLE (RS_None | Color_fg | (Color_bg << Color_Bits)) |
350 | #define OVERLAY_RSTYLE (RS_None | Color_Black | (Color_Yellow << Color_Bits)) |
346 | #define OVERLAY_RSTYLE (RS_None | Color_Black | (Color_Yellow << Color_Bits)) |