change default termName to xterm-256color (#1577159)

This commit is contained in:
Miroslav Lichvar 2018-05-30 15:46:20 +02:00
parent e41d495ae0
commit af70a9bc72
3 changed files with 17 additions and 16 deletions

15
xterm-defaults.patch Normal file
View File

@ -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

View File

@ -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

View File

@ -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