use new configure options to set some resource defaults (#819588)

This commit is contained in:
Miroslav Lichvar 2012-10-10 16:15:00 +02:00
parent ffca35f991
commit 17009afd2b
3 changed files with 28 additions and 18 deletions

View File

@ -1,17 +0,0 @@
diff -up xterm-245/XTerm.ad.resources xterm-245/XTerm.ad
--- xterm-245/XTerm.ad.resources 2009-02-13 01:14:13.000000000 +0100
+++ xterm-245/XTerm.ad 2009-08-13 12:28:59.000000000 +0200
@@ -210,3 +210,13 @@
!*allowTcapOps: false
!*allowTitleOps: false
!*allowWindowOps: false
+
+! Red Hat Defaults:
+*allowFontOps: false
+*allowTcapOps: false
+*allowWindowOps: false
+*VT100*eightBitInput: false
+*VT100*metaSendsEscape: true
+*VT100*backarrowKey: false
+*VT100*scrollBar: true
+*VT100*utf8Title: true

25
xterm-resources.patch Normal file
View File

@ -0,0 +1,25 @@
diff -up xterm-283/XTerm.ad.resources xterm-283/XTerm.ad
--- xterm-283/XTerm.ad.resources 2011-07-11 12:52:16.000000000 +0200
+++ xterm-283/XTerm.ad 2012-10-10 15:41:01.571707490 +0200
@@ -254,3 +254,9 @@
!*allowTcapOps: false
!*allowTitleOps: false
!*allowWindowOps: false
+
+! Red Hat Defaults:
+*allowFontOps: false
+*VT100*eightBitInput: false
+*VT100*scrollBar: true
+*VT100*utf8Title: true
diff -up xterm-283/main.h.resources xterm-283/main.h
--- xterm-283/main.h.resources 2012-06-05 02:37:22.000000000 +0200
+++ xterm-283/main.h 2012-10-10 15:05:47.200163396 +0200
@@ -104,7 +104,7 @@
#endif
#ifndef DEF_ALLOW_TCAP
-#define DEF_ALLOW_TCAP True
+#define DEF_ALLOW_TCAP False
#endif
#ifndef DEF_ALLOW_TITLE

View File

@ -13,7 +13,7 @@ BuildRequires: libxkbfile-devel
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
Source1: ftp://invisible-island.net/xterm/16colors.txt Source1: ftp://invisible-island.net/xterm/16colors.txt
Patch1: xterm-245-resources.patch Patch1: xterm-resources.patch
Patch2: xterm-desktop.patch Patch2: xterm-desktop.patch
Patch3: xterm-man-paths.patch Patch3: xterm-man-paths.patch
@ -40,6 +40,8 @@ done
%build %build
%configure \ %configure \
--enable-meta-sends-esc \
--disable-backarrow-key \
--enable-256-color \ --enable-256-color \
--enable-exec-xterm \ --enable-exec-xterm \
--enable-luit \ --enable-luit \