diff --git a/xterm-245-resources.patch b/xterm-245-resources.patch deleted file mode 100644 index f3be10a..0000000 --- a/xterm-245-resources.patch +++ /dev/null @@ -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 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 \