component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / urxvt / patches / defaults.patch
blobb2788ae8efb726add4d3af98806f6d5bc7e4ae55
1 diff -ruN rxvt-unicode-9.11.orig/src/init.C rxvt-unicode-9.11/src/init.C
2 --- rxvt-unicode-9.11.orig/src/init.C 2011-05-18 16:01:43.044354481 +0100
3 +++ rxvt-unicode-9.11/src/init.C 2011-05-18 16:32:14.306130075 +0100
4 @@ -548,7 +548,9 @@
5 oldcursor.row = oldcursor.col = -1;
7 set_option (Opt_scrollBar);
8 - set_option (Opt_scrollTtyOutput);
9 + set_option (Opt_scrollBar_right);
10 +/* set_option (Opt_scrollTtyOutput); */
11 + set_option (Opt_scrollTtyKeypress);
12 set_option (Opt_jumpScroll);
13 set_option (Opt_skipScroll);
14 set_option (Opt_secondaryScreen);
15 diff -ruN rxvt-unicode-9.11.orig/src/main.C rxvt-unicode-9.11/src/main.C
16 --- rxvt-unicode-9.11.orig/src/main.C 2011-05-18 16:01:43.055816432 +0100
17 +++ rxvt-unicode-9.11/src/main.C 2011-05-18 16:28:26.013209066 +0100
18 @@ -745,7 +745,7 @@
19 rxvt_fontprop prop;
21 if (!fs
22 - || !fs->populate (rs[Rs_font] ? rs[Rs_font] : "fixed")
23 + || !fs->populate (rs[Rs_font] ? rs[Rs_font] : "xft:Monospace:pixelsize=12")
24 || !fs->realize_font (1))
26 delete fs;
27 --- rxvt-unicode-9.26/src/rxvt.h.orig 2021-05-13 21:40:55.000000000 +0000
28 +++ rxvt-unicode-9.26/src/rxvt.h 2021-07-20 08:44:55.472159323 +0000
29 @@ -256,17 +256,13 @@
32 /* COLORTERM, TERM environment variables */
33 -#define COLORTERMENV "rxvt"
34 -#if HAVE_IMG
35 -# define COLORTERMENVFULL COLORTERMENV "-xpm"
36 -#else
37 -# define COLORTERMENVFULL COLORTERMENV
38 -#endif
39 +#define COLORTERMENV "xterm"
40 +#define COLORTERMENVFULL COLORTERMENV
41 #ifndef TERMENV
42 # if USE_256_COLORS
43 -# define TERMENV "rxvt-unicode-256color"
44 +# define TERMENV "xterm"
45 # else
46 -# define TERMENV "rxvt-unicode"
47 +# define TERMENV "xterm"
48 # endif
49 #endif