ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.331 by ayin, Thu Dec 13 16:41:47 2007 UTC vs.
Revision 1.332 by ayin, Fri Dec 14 00:04:23 2007 UTC

79# define STDIN_FILENO 0 79# define STDIN_FILENO 0
80# define STDOUT_FILENO 1 80# define STDOUT_FILENO 1
81# define STDERR_FILENO 2 81# define STDERR_FILENO 2
82#endif 82#endif
83 83
84#if !defined (EACCESS) && defined(EAGAIN)
85# define EACCESS EAGAIN
86#endif
87
88#ifndef EXIT_SUCCESS /* missing from <stdlib.h> */
89# define EXIT_SUCCESS 0 /* exit function success */
90# define EXIT_FAILURE 1 /* exit function failure */
91#endif
92
93#ifndef PATH_MAX
94# define PATH_MAX 16384
95#endif
96
84/****************************************************************************/ 97/****************************************************************************/
85 98
86// exception thrown on fatal (per-instance) errors 99// exception thrown on fatal (per-instance) errors
87class rxvt_failure_exception { }; 100class rxvt_failure_exception { };
88 101
210# define TERMENV "rxvt-unicode" 223# define TERMENV "rxvt-unicode"
211#endif 224#endif
212 225
213#if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) 226#if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR)
214# define NO_MOUSE_REPORT_SCROLLBAR 1 227# define NO_MOUSE_REPORT_SCROLLBAR 1
215#endif
216
217/* now look for other badly set stuff */
218
219#if !defined (EACCESS) && defined(EAGAIN)
220# define EACCESS EAGAIN
221#endif
222
223#ifndef EXIT_SUCCESS /* missing from <stdlib.h> */
224# define EXIT_SUCCESS 0 /* exit function success */
225# define EXIT_FAILURE 1 /* exit function failure */
226#endif 228#endif
227 229
228#define scrollBar_esc 30 230#define scrollBar_esc 30
229 231
230#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) 232#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR)
594#define IMBUFSIZ 128 // input modifier buffer sizes 596#define IMBUFSIZ 128 // input modifier buffer sizes
595#define KBUFSZ 512 // size of keyboard mapping buffer 597#define KBUFSZ 512 // size of keyboard mapping buffer
596#define CBUFSIZ 2048 // size of command buffer 598#define CBUFSIZ 2048 // size of command buffer
597#define UBUFSIZ 2048 // character buffer 599#define UBUFSIZ 2048 // character buffer
598 600
599#ifndef PATH_MAX
600# define PATH_MAX 16384
601#endif
602
603#if ENABLE_FRILLS 601#if ENABLE_FRILLS
604# include <X11/Xmd.h> 602# include <X11/Xmd.h>
605typedef struct _mwmhints { 603typedef struct _mwmhints {
606 CARD32 flags; 604 CARD32 flags;
607 CARD32 functions; 605 CARD32 functions;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines