[SCM] konsole packaging branch, master, updated. debian/16.12.0-1-24-g209481c

Maximiliano Curia maxy at moszumanska.debian.org
Thu May 11 13:11:06 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/konsole.git;a=commitdiff;h=e8b8be0

The following commit has been merged in the master branch:
commit e8b8be0bac3952c74e2234ad0941ec5e024a4da7
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Thu May 11 14:55:11 2017 +0200

    Add patch: Correct-ANSI-string-terminator.patch
    
    Cherry-picked from "Correct ANSI string terminator" (7a41b73)
    
    Fixes Allow-ANSI-string-terminator-to-work.patch, \e is 033 which is 27
    decimal.
    
    Gbp-Dch: Full
---
 .../patches/Correct-ANSI-string-terminator.patch   | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/Correct-ANSI-string-terminator.patch b/debian/patches/Correct-ANSI-string-terminator.patch
new file mode 100644
index 0000000..0c987da
--- /dev/null
+++ b/debian/patches/Correct-ANSI-string-terminator.patch
@@ -0,0 +1,28 @@
+From: Kurt Hindenburg <kurt.hindenburg at gmail.com>
+Date: Mon, 24 Apr 2017 23:28:01 -0400
+Subject: Correct ANSI string terminator
+
+Use the correct decimal value 27
+
+In bash, PS1="\e]0;<title>\e\" or PS1="\e]0;<title>"
+
+BUG: 231405
+
+Differential Revision: https://phabricator.kde.org/D5576
+---
+ src/Vt102Emulation.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp
+index 1bde8469..cac34ec3 100644
+--- a/src/Vt102Emulation.cpp
++++ b/src/Vt102Emulation.cpp
+@@ -280,7 +280,7 @@ void Vt102Emulation::initTokenizer()
+ #define epe( )     (p >=  3  && s[2] == '!')
+ #define egt( )     (p >=  3  && s[2] == '>')
+ #define Xpe        (tokenBufferPos >= 2 && tokenBuffer[1] == ']')
+-#define Xte        (Xpe      && (cc ==  7 || cc == 33))
++#define Xte        (Xpe      && (cc ==  7 || cc == 27))
+ #define ces(C)     (cc < 256 && (charClass[cc] & (C)) == (C) && !Xte)
+ 
+ #define CNTL(c) ((c)-'@')
diff --git a/debian/patches/series b/debian/patches/series
index 9f2f69c..28e055a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@ Fix-opening-of-new-tabs-with-multiple-processes.patch
 Allow-ANSI-string-terminator-to-work.patch
 Update-release-date-scripting-and-command-line-help.patch
 Add-check-for-valid-container-possible-crash-fix.patch
+Correct-ANSI-string-terminator.patch

-- 
konsole packaging



More information about the pkg-kde-commits mailing list