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

Comparing rxvt-unicode/src/feature.h (file contents):
Revision 1.48 by root, Sat Feb 18 15:44:26 2006 UTC vs.
Revision 1.58 by ayin, Sat Feb 16 15:56:41 2008 UTC

22 *----------------------------------------------------------------------*/ 22 *----------------------------------------------------------------------*/
23#ifndef FEATURE_H 23#ifndef FEATURE_H
24#define FEATURE_H 24#define FEATURE_H
25 25
26#ifndef X11USRLIBDIR 26#ifndef X11USRLIBDIR
27# define X11USRLIBDIR "/usr/X11R6/lib" 27# define X11USRLIBDIR "/usr/lib"
28#endif 28#endif
29#ifndef X11LIBDIR 29#ifndef X11LIBDIR
30# define X11LIBDIR X11USRLIBDIR "/X11" 30# define X11LIBDIR X11USRLIBDIR "/X11"
31#endif 31#endif
32#ifndef XAPPLOADDIR 32#ifndef XAPPLOADDIR
33# define XAPPLOADDIR X11LIBDIR "/app-defaults" 33# define XAPPLOADDIR X11LIBDIR "/app-defaults"
34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" 34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults"
35#endif 35#endif
36 36
37/*-------------------------------SECURITY-------------------------------*/ 37/*-------------------------------SECURITY-------------------------------*/
38 38
145 145
146/* 146/*
147 * Allow 80/132 mode switching on startup 147 * Allow 80/132 mode switching on startup
148 */ 148 */
149/* #define ALLOW_132_MODE */ 149/* #define ALLOW_132_MODE */
150 150
151/*---------------------------------KEYS---------------------------------*/ 151/*---------------------------------KEYS---------------------------------*/
152 152
153/* 153/*
154 * Define defaults for backspace and delete keys - unless they have been 154 * Define defaults for backspace and delete keys - unless they have been
155 * configured out with --disable-backspace-key / --disable-delete-key 155 * configured out with --disable-backspace-key / --disable-delete-key
156 */ 156 */
157#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ 157#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */
158#define DEFAULT_DELETE "\033[3~" 158#define DEFAULT_DELETE "\033[3~"
159
160/*
161 * To use
162 * Home = "\E[1~", End = "\E[4~"
163 * instead of
164 * Home = "\E[7~", End = "\E[8~" [default]
165 */
166/* #define LINUX_KEYS */
167 159
168/* 160/*
169 * Enable the keysym resource which allows you to define strings associated 161 * Enable the keysym resource which allows you to define strings associated
170 * with various KeySyms (0xFF00 - 0xFFFF). 162 * with various KeySyms (0xFF00 - 0xFFFF).
171 * Required by perl. 163 * Required by perl.
183/* #define SCROLL_ON_META */ 175/* #define SCROLL_ON_META */
184 176
185/* 177/*
186 * Allow scrolling with modifier+Up/Down keys, in addition 178 * Allow scrolling with modifier+Up/Down keys, in addition
187 * to modifier+Prior/Next? (modifier is controlled with 179 * to modifier+Prior/Next? (modifier is controlled with
188 * SCROLL_ON_* defines above.). 180 * SCROLL_ON_* defines above.).
189 * Also for modifier+Home/End keys to move to top/bottom 181 * Also for modifier+Home/End keys to move to top/bottom
190 */ 182 */
191/* #define SCROLL_ON_UPDOWN_KEYS */ 183/* #define SCROLL_ON_UPDOWN_KEYS */
192/* #define SCROLL_ON_HOMEEND_KEYS */ 184/* #define SCROLL_ON_HOMEEND_KEYS */
193 185
222 * Space and tab are separate separating characters and are not settable 214 * Space and tab are separate separating characters and are not settable
223 */ 215 */
224#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" 216#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}"
225 217
226/* 218/*
227 * Add run-time support for changing the cutchars for double click selection
228 */
229#define CUTCHAR_RESOURCE
230
231/*
232 * Have mouse reporting include double-click info for button1 219 * Have mouse reporting include double-click info for button1
233 */ 220 */
234//#define MOUSE_REPORT_DOUBLECLICK 221/* #define MOUSE_REPORT_DOUBLECLICK */
235 222
236/* 223/*
237 * Set delay between multiple click events [default: 500 milliseconds] 224 * Set delay between multiple click events [default: 500 milliseconds]
238 */ 225 */
239/* #define MULTICLICK_TIME 500 */ 226/* #define MULTICLICK_TIME 500 */
382 369
383/*--------------------------------OTHER---------------------------------*/ 370/*--------------------------------OTHER---------------------------------*/
384 371
385/* 372/*
386 * Enable the linux yield/usleep hack, which can dramatically improve 373 * Enable the linux yield/usleep hack, which can dramatically improve
387 * performance without hurting. See command.C for details. 374 * performance by working around the linux kernel tty ratelimit bug.
375 * Unfortunately, it seems screen is negatively affected by this on some
376 * machines, so it is disabled by default. Use freebsd or any other kernel
377 * that doesn't suffer form this bug and it will be fast either way.
378 *
379 * See command.C for details.
388 */ 380 */
389#if __linux__ 381#if __linux__
390# define LINUX_YIELD_HACK 1 382# define LINUX_YIELD_HACK 0
391#endif 383#endif
392 384
393#endif 385#endif
394 386

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines