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.59 by ayin, Sun Feb 17 15:03:30 2008 UTC vs.
Revision 1.64 by root, Thu May 22 18:54:32 2014 UTC

5 *----------------------------------------------------------------------- 5 *-----------------------------------------------------------------------
6 * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> 6 * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de>
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or 10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version. 11 * (at your option) any later version.
12 * 12 *
13 * This program is distributed in the hope that it will be useful, 13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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-------------------------------*/
38
39/*
40 * Default mode to restore when releasing the PTS device. It is relaxed to be
41 * compatible with most systems, change it to a more secure value if your
42 * system supports it (0640 for example).
43 */
44#define RESTORE_TTY_MODE 0666
45
46/*
47 * Define if you want to use a separate process for pty/tty handling
48 * when running setuid/setgid. You need this when making it setuid/setgid.
49 */
50#define PTYTTY_HELPER 1
51
52/*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/ 37/*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/
53 38
54/* 39/*
55 * NOTE: 40 * NOTE:
56 * 41 *
236 * rxvt scrollbar shadow width in pixels, must be 1 or 2 221 * rxvt scrollbar shadow width in pixels, must be 1 or 2
237 */ 222 */
238#define SHADOW_WIDTH 1 223#define SHADOW_WIDTH 1
239 224
240/* 225/*
241 * When using Rxvt scrollbar, clicking above or below the slider will move 226 * clicking above or below the scrollbar slider (all styles minus
242 * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move 227 * xterm) will scroll by (height - 1) rather than (height / 4).
243 * it one screen height less one line, if possible
244 */ 228 */
245#define RXVT_SCROLL_FULL 1 229#define RXVT_SCROLL_FULL 1
246 230
247/* 231/*
248 * (Hops) draw an internal border line on inside edge of the scrollbar 232 * (Hops) draw an internal border line on inside edge of the rxvt scrollbar
249 */ 233 */
250/* #define SB_BORDER */ 234/* #define SB_BORDER */
251 235
252/*---------------------------MULTILINGUAL-------------------------------*/ 236/*---------------------------MULTILINGUAL-------------------------------*/
253/* 237/*
270 * Change what ESC Z transmits instead of the default "\E[?1;2c" 254 * Change what ESC Z transmits instead of the default "\E[?1;2c"
271 */ 255 */
272/* #define ESCZ_ANSWER "\033[?1;2C" */ 256/* #define ESCZ_ANSWER "\033[?1;2C" */
273 257
274/* 258/*
275 * Allow foreground/background colour to be changed with an 259 * Allow foreground/background colour to be changed with xterm
276 * xterm escape sequence "\E]39;colour^G" 260 * operating system commands.
277 */ 261 */
278#define XTERM_COLOR_CHANGE 262#define XTERM_COLOR_CHANGE
279 263
280/* 264/*
281 * Remove secondary screen's independent cursor position, a la xterm 265 * Remove secondary screen's independent cursor position, a la xterm
298/* 282/*
299 * Enable the linux yield/usleep hack, which can dramatically improve 283 * Enable the linux yield/usleep hack, which can dramatically improve
300 * performance by working around the linux kernel tty ratelimit bug. 284 * performance by working around the linux kernel tty ratelimit bug.
301 * Unfortunately, it seems screen is negatively affected by this on some 285 * Unfortunately, it seems screen is negatively affected by this on some
302 * machines, so it is disabled by default. Use freebsd or any other kernel 286 * machines, so it is disabled by default. Use freebsd or any other kernel
303 * that doesn't suffer form this bug and it will be fast either way. 287 * that doesn't suffer from this bug and it will be fast either way.
304 * 288 *
305 * See command.C for details. 289 * See command.C for details.
306 */ 290 */
307#if __linux__ 291#if __linux__
308# define LINUX_YIELD_HACK 0 292# define LINUX_YIELD_HACK 0
378 * Default number of extra dots between lines 362 * Default number of extra dots between lines
379 */ 363 */
380#define LINESPACE 0 364#define LINESPACE 0
381 365
382/* 366/*
367 * Default number of extra dots between columns
368 */
369#define LETTERSPACE 0
370
371/*
383 * Default number of lines in the scrollback buffer 372 * Default number of lines in the scrollback buffer
384 */ 373 */
385#define SAVELINES 1000 374#define SAVELINES 1000
386 375
387#endif 376#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines