[xterm/f18: 4/8] use new configure options to set some resource defaults (#819588)
Miroslav Lichvar
mlichvar at fedoraproject.org
Wed Oct 10 15:48:06 UTC 2012
commit 17009afd2bd89104692ce6e7f56e01c33a888488
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Wed Oct 10 16:15:00 2012 +0200
use new configure options to set some resource defaults (#819588)
xterm-245-resources.patch | 17 -----------------
xterm-resources.patch | 25 +++++++++++++++++++++++++
xterm.spec | 4 +++-
3 files changed, 28 insertions(+), 18 deletions(-)
---
diff --git a/xterm-resources.patch b/xterm-resources.patch
new file mode 100644
index 0000000..9a49331
--- /dev/null
+++ b/xterm-resources.patch
@@ -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
diff --git a/xterm.spec b/xterm.spec
index c0eb8d2..00ed16e 100644
--- a/xterm.spec
+++ b/xterm.spec
@@ -13,7 +13,7 @@ BuildRequires: libxkbfile-devel
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
Source1: ftp://invisible-island.net/xterm/16colors.txt
-Patch1: xterm-245-resources.patch
+Patch1: xterm-resources.patch
Patch2: xterm-desktop.patch
Patch3: xterm-man-paths.patch
@@ -40,6 +40,8 @@ done
%build
%configure \
+ --enable-meta-sends-esc \
+ --disable-backarrow-key \
--enable-256-color \
--enable-exec-xterm \
--enable-luit \
More information about the scm-commits
mailing list