diff --git a/xterm-defaults.patch b/xterm-defaults.patch new file mode 100644 index 0000000..4e1c7ec --- /dev/null +++ b/xterm-defaults.patch @@ -0,0 +1,15 @@ +diff -up xterm-333/XTerm.ad.defaults xterm-333/XTerm.ad +--- xterm-333/XTerm.ad.defaults 2016-12-22 03:07:39.000000000 +0100 ++++ xterm-333/XTerm.ad 2018-05-30 15:44:53.325426803 +0200 +@@ -259,3 +259,11 @@ + !*allowTcapOps: false + !*allowTitleOps: false + !*allowWindowOps: false ++ ++! Red Hat Defaults: ++*allowFontOps: false ++*allowTcapOps: false ++*VT100*eightBitInput: false ++*VT100*scrollBar: true ++*VT100*utf8Title: true ++*termName: xterm-256color diff --git a/xterm-resources.patch b/xterm-resources.patch deleted file mode 100644 index 15c12a0..0000000 --- a/xterm-resources.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up xterm-284/XTerm.ad.resources xterm-284/XTerm.ad ---- xterm-284/XTerm.ad.resources 2011-07-11 12:52:16.000000000 +0200 -+++ xterm-284/XTerm.ad 2012-10-15 12:25:24.390541803 +0200 -@@ -254,3 +254,10 @@ - !*allowTcapOps: false - !*allowTitleOps: false - !*allowWindowOps: false -+ -+! Red Hat Defaults: -+*allowFontOps: false -+*allowTcapOps: false -+*VT100*eightBitInput: false -+*VT100*scrollBar: true -+*VT100*utf8Title: true diff --git a/xterm.spec b/xterm.spec index c6fb7b2..f6363c9 100644 --- a/xterm.spec +++ b/xterm.spec @@ -14,7 +14,7 @@ Recommends: xorg-x11-fonts-misc Source0: ftp://ftp.invisible-island.net/xterm/%{name}-%{version}.tgz Source1: ftp://ftp.invisible-island.net/xterm/16colors.txt -Patch1: xterm-resources.patch +Patch1: xterm-defaults.patch Patch2: xterm-desktop.patch Patch3: xterm-man-paths.patch @@ -37,7 +37,7 @@ indicate the current size of the window from which the command is run. %prep %setup -q -%patch1 -p1 -b .resources +%patch1 -p1 -b .defaults %patch2 -p1 -b .desk %patch3 -p1 -b .man-paths