Mercurial > oi > oi-build
changeset 489:50ea88c0edc2 oi-extras
More sensible urxvt defaults
author | Andrzej Szeszo <aszeszo@gmail.com> |
---|---|
date | Wed, 18 May 2011 17:31:48 +0100 |
parents | 5405a4f8a5e6 |
children | c47d90909384 |
files | oi-extras/urxvt/patches/defaults.patch |
diffstat | 1 files changed, 51 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/oi-extras/urxvt/patches/defaults.patch Wed May 18 17:31:48 2011 +0100 @@ -0,0 +1,51 @@ +diff -ruN rxvt-unicode-9.11.orig/src/init.C rxvt-unicode-9.11/src/init.C +--- rxvt-unicode-9.11.orig/src/init.C 2011-05-18 16:01:43.044354481 +0100 ++++ rxvt-unicode-9.11/src/init.C 2011-05-18 16:32:14.306130075 +0100 +@@ -548,7 +548,9 @@ + oldcursor.row = oldcursor.col = -1; + + set_option (Opt_scrollBar); +- set_option (Opt_scrollTtyOutput); ++ set_option (Opt_scrollBar_right); ++/* set_option (Opt_scrollTtyOutput); */ ++ set_option (Opt_scrollTtyKeypress); + set_option (Opt_jumpScroll); + set_option (Opt_skipScroll); + set_option (Opt_secondaryScreen); +diff -ruN rxvt-unicode-9.11.orig/src/main.C rxvt-unicode-9.11/src/main.C +--- rxvt-unicode-9.11.orig/src/main.C 2011-05-18 16:01:43.055816432 +0100 ++++ rxvt-unicode-9.11/src/main.C 2011-05-18 16:28:26.013209066 +0100 +@@ -745,7 +745,7 @@ + rxvt_fontprop prop; + + if (!fs +- || !fs->populate (rs[Rs_font] ? rs[Rs_font] : "fixed") ++ || !fs->populate (rs[Rs_font] ? rs[Rs_font] : "xft:Monospace:pixelsize=12") + || !fs->realize_font (1)) + { + delete fs; +diff -ruN rxvt-unicode-9.11.orig/src/rxvt.h rxvt-unicode-9.11/src/rxvt.h +--- rxvt-unicode-9.11.orig/src/rxvt.h 2011-05-18 16:01:43.055440052 +0100 ++++ rxvt-unicode-9.11/src/rxvt.h 2011-05-18 16:42:56.591884485 +0100 +@@ -270,17 +270,13 @@ + */ + + /* COLORTERM, TERM environment variables */ +-#define COLORTERMENV "rxvt" +-#ifdef BG_IMAGE_FROM_FILE +-# define COLORTERMENVFULL COLORTERMENV "-xpm" +-#else +-# define COLORTERMENVFULL COLORTERMENV +-#endif ++#define COLORTERMENV "xterm" ++#define COLORTERMENVFULL COLORTERMENV + #ifndef TERMENV + # if USE_256_COLORS +-# define TERMENV "rxvt-unicode-256color" ++# define TERMENV "xterm+256color" + # else +-# define TERMENV "rxvt-unicode" ++# define TERMENV "xterm" + # endif + #endif +