Hello community,

here is the log from the commit of package readline for openSUSE:Factory 
checked in at 2018-10-11 11:36:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/readline (Old)
 and      /work/SRC/openSUSE:Factory/.readline.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "readline"

Thu Oct 11 11:36:23 2018 rev:3 rq:640076 version:7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/readline/readline.changes        2018-06-27 
10:13:46.296735870 +0200
+++ /work/SRC/openSUSE:Factory/.readline.new/readline.changes   2018-10-11 
11:36:30.655470238 +0200
@@ -1,0 +2,5 @@
+Fri Sep 28 11:29:32 UTC 2018 - Dr. Werner Fink <[email protected]>
+
+- Rework patch readline-7.0-screen.patch 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ readline.spec ++++++
--- /var/tmp/diff_new_pack.KPOtuk/_old  2018-10-11 11:36:32.015468483 +0200
+++ /var/tmp/diff_new_pack.KPOtuk/_new  2018-10-11 11:36:32.019468478 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 

++++++ readline-7.0-screen.patch ++++++
--- /var/tmp/diff_new_pack.KPOtuk/_old  2018-10-11 11:36:32.059468427 +0200
+++ /var/tmp/diff_new_pack.KPOtuk/_new  2018-10-11 11:36:32.063468421 +0200
@@ -1,23 +1,22 @@
 Special for screen and its new TERM setting like TERM=screen.xterm-256color
 
 ---
- lib/readline/bind.c |   10 ++++++++++
- 1 file changed, 10 insertions(+)
+ readline-7.0/bind.c |    9 +++++++++
+ 1 file changed, 9 insertions(+)
 
 --- lib/readline/bind.c
-+++ lib/readline/bind.c        2018-06-13 11:30:47.908033945 +0000
-@@ -1127,6 +1127,16 @@ parser_if (args)
++++ readline-7.0/bind.c        2018-09-28 11:22:31.001503017 +0000
+@@ -1127,6 +1127,15 @@ parser_if (args)
         `$if term=sun-cmd' into their .inputrc. */
        _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname) &&
                                        _rl_stricmp (args + 5, 
rl_terminal_name);
 +
-+      if (!_rl_parsing_conditionalized_out && _rl_strnicmp (args + 5, 
"screen", 6))
++      /* Skip the prefix `screen.' if any to use the underlying bindings */
++      if (_rl_parsing_conditionalized_out &&
++        _rl_strnicmp (rl_terminal_name, "screen.", 7) == 0)
 +      {
-+        tem = strchr (tname, '.');
-+        if (tem)
-+          *tem = '\0';
-+
-+        _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname);
++        _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname + 7) &&
++                                          _rl_stricmp (args + 5, 
rl_terminal_name + 7);
 +      }
 +
        xfree (tname);


Reply via email to