commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2020-08-02 12:27:26 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.3592 (New) Package is "readline" Sun Aug 2 12:27:26 2020 rev:8 rq:821442 version:8.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2020-02-21 16:39:57.337745039 +0100 +++ /work/SRC/openSUSE:Factory/.readline.new.3592/readline.changes 2020-08-02 12:27:28.631802815 +0200 @@ -1,0 +2,7 @@ +Thu Jul 16 19:13:54 UTC 2020 - Andreas Stieger + +- add upstream keyring and verify source signature +- change custom handling of official upstream patches to standard, + and verify signatures on official patches + +--- Old: readline-8.0-patches.tar.bz2 New: readline-8.0.tar.gz.sig readline.keyring readline80-001 readline80-001.sig readline80-002 readline80-002.sig readline80-003 readline80-003.sig readline80-004 readline80-004.sig Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.MnMM80/_old 2020-08-02 12:27:31.871806146 +0200 +++ /var/tmp/diff_new_pack.MnMM80/_new 2020-08-02 12:27:31.875806150 +0200 @@ -16,51 +16,61 @@ # +%define rl_major 8 Name: readline -BuildRequires: autoconf -BuildRequires: fdupes -%if %suse_version > 1220 -BuildRequires: makeinfo -%endif -BuildRequires: ncurses-devel -BuildRequires: patchutils -BuildRequires: pkg-config -BuildRequires: sed -%define rextend %nil Version:8.0 Release:0 Summary:The readline library License:GPL-3.0-or-later Group: Development/Libraries/C and C++ -URL:http://www.gnu.org/software/readline/ +URL:https://www.gnu.org/software/readline/ # Git: http://git.savannah.gnu.org/cgit/bash.git -Source0: ftp://ftp.gnu.org/gnu/readline/readline-%{version}%{rextend}.tar.gz -Source1:readline-%{version}-patches.tar.bz2 +Source0:ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz +Source1:ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz.sig Source2:baselibs.conf -Patch0: readline-%{version}.dif -Patch1: readline-6.3-input.dif -Patch2: readline-5.2-conf.patch -Patch3: readline-6.2-metamode.patch -Patch5: readline-6.2-xmalloc.dif -Patch6: readline-6.3-destdir.patch -Patch7: readline-6.3-rltrace.patch -Patch8: readline-7.0-screen.patch -%{expand: %%global rl_major %(echo %{version} | sed -r 's/.[0-9]+//g')} +Source4:https://tiswww.case.edu/php/chet/gpgkey.asc#/%{name}.keyring +# signatures for official patches +Source101: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-001.sig +Source102: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-002.sig +Source103: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-003.sig +Source104: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-004.sig +# official patches +Patch101: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-001 +Patch102: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-002 +Patch103: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-003 +Patch104: ftp://ftp.gnu.org/gnu/readline/readline-%{version}-patches/readline80-004 +# local patches +Patch200: readline-%{version}.dif +Patch201: readline-6.3-input.dif +Patch202: readline-5.2-conf.patch +Patch203: readline-6.2-metamode.patch +Patch205: readline-6.2-xmalloc.dif +Patch206: readline-6.3-destdir.patch +Patch207: readline-6.3-rltrace.patch +Patch208: readline-7.0-screen.patch +BuildRequires: autoconf +BuildRequires: fdupes +BuildRequires: ncurses-devel +BuildRequires: pkgconfig +# +%if 0%{?suse_version} > 1220 +BuildRequires: makeinfo +%endif %description The readline library is used by the Bourne Again Shell (bash, the standard command interpreter) for easy editing of command lines. This includes history and search functionality. -%package -n libreadline8 +%package -n libreadline%{rl_major} Summary:The Readline Library Group: System/Libraries -Provides: bash:/%{_lib}/libreadline.so.%{rl_major} Suggests: readline-doc = %{version} +Provides: bash:/%{_lib}/libreadline.so.%{rl_major} Provides: readline = %{version} Obsoletes: readline <= 6.3 -%description -n libreadline8 +%description -n libreadline%{rl_major} The readl
commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2020-02-21 16:39:49 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.26092 (New) Package is "readline" Fri Feb 21 16:39:49 2020 rev:7 rq:774144 version:8.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2019-09-20 14:46:14.094965754 +0200 +++ /work/SRC/openSUSE:Factory/.readline.new.26092/readline.changes 2020-02-21 16:39:57.337745039 +0100 @@ -1,0 +2,14 @@ +Thu Feb 13 11:10:31 UTC 2020 - Dr. Werner Fink + +- Add official patch readline80-002 + When using previous-history to go back beyond the beginning of the history list, + it's possible to move to an incorrect partial line. +- Add official patch readline80-003 + Reading history entries with timestamps can result in history entries joined + by linefeeds. +- Add official patch readline80-004 + If writing the history file fails, and renaming the backup history file fails, + it's possible for readline's history code to return the wrong error to its + caller. + +--- Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.CEBDjr/_old 2020-02-21 16:39:59.149748659 +0100 +++ /var/tmp/diff_new_pack.CEBDjr/_new 2020-02-21 16:39:59.185748731 +0100 @@ -1,7 +1,7 @@ # # spec file for package readline # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ Summary:The readline library License:GPL-3.0-or-later Group: Development/Libraries/C and C++ -Url:http://www.gnu.org/software/readline/ +URL:http://www.gnu.org/software/readline/ # Git: http://git.savannah.gnu.org/cgit/bash.git Source0: ftp://ftp.gnu.org/gnu/readline/readline-%{version}%{rextend}.tar.gz Source1:readline-%{version}-patches.tar.bz2 ++ readline-8.0-patches.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readline-8.0-patches/readline80-002 new/readline-8.0-patches/readline80-002 --- old/readline-8.0-patches/readline80-002 1970-01-01 01:00:00.0 +0100 +++ new/readline-8.0-patches/readline80-002 2020-02-07 21:00:43.0 +0100 @@ -0,0 +1,60 @@ + READLINE PATCH REPORT + = + +Readline-Release: 8.0 +Patch-ID: readline80-002 + +Bug-Reported-by: less...@qq.com +Bug-Reference-ID: +Bug-Reference-URL: + +Bug-Description: + +When using previous-history to go back beyond the beginning of the history list, +it's possible to move to an incorrect partial line. + +Patch (apply with `patch -p0'): + +*** ../readline-8.0-patched/misc.c 2017-07-07 17:30:12.0 -0400 +--- misc.c 2019-05-16 11:43:46.0 -0400 +*** +*** 577,580 +--- 590,594 + { +HIST_ENTRY *old_temp, *temp; ++ int had_saved_line; + +if (count < 0) +*** +*** 589,592 +--- 603,607 + +/* If we don't have a line saved, then save this one. */ ++ had_saved_line = _rl_saved_line_for_history != 0; +rl_maybe_save_line (); + +*** +*** 612,616 +if (temp == 0) + { +! rl_maybe_unsave_line (); +rl_ding (); + } +--- 627,632 +if (temp == 0) + { +! if (had_saved_line == 0) +! _rl_free_saved_history_line (); +rl_ding (); + } +*** ../readline-8.0/patchlevel 2013-11-15 08:11:11.0 -0500 +--- patchlevel 2014-03-21 08:28:40.0 -0400 +*** +*** 1,3 + # Do not edit -- exists only for use by patch + +! 1 +--- 1,3 + # Do not edit -- exists only for use by patch + +! 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readline-8.0-patches/readline80-003 new/readline-8.0-patches/readline80-003 --- old/readline-8.0-patches/readline80-003 1970-01-01 01:00:00.0 +0100 +++ new/readline-8.0-patches/readline80-003 2020-02-07 21:00:55.0 +0100 @@ -0,0 +1,69 @@ + READLINE PATCH REPORT + = + +Readline-Release: 8.0 +Patch-ID: readline80-003 + +Bug-Reported-by: HIROSE Masaaki +Bug-Reference-ID: +Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2019-05/msg00038.html + +Bug-Description: + +Reading history entries with timestamps can resul
commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2019-09-20 14:46:05 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.7948 (New) Package is "readline" Fri Sep 20 14:46:05 2019 rev:6 rq:729453 version:8.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2019-09-05 12:30:57.119612877 +0200 +++ /work/SRC/openSUSE:Factory/.readline.new.7948/readline.changes 2019-09-20 14:46:14.094965754 +0200 @@ -1,0 +2,6 @@ +Wed Sep 4 09:48:58 UTC 2019 - Ludwig Nussel + +- Avoid pulling in readline-doc into every installation. Instead of + recommeding it, supplement the documentation pattern. + +--- Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.uPC510/_old 2019-09-20 14:46:17.102965154 +0200 +++ /var/tmp/diff_new_pack.uPC510/_new 2019-09-20 14:46:17.102965154 +0200 @@ -56,7 +56,7 @@ Summary:The Readline Library Group: System/Libraries Provides: bash:/%{_lib}/libreadline.so.%{rl_major} -Recommends: readline-doc = %{version} +Suggests: readline-doc = %{version} Provides: readline = %{version} Obsoletes: readline <= 6.3 @@ -89,6 +89,7 @@ Summary:Documentation how to Use and Program with the Readline Library Group: Documentation/Other Provides: readline:%{_infodir}/readline.info.gz +Supplements:packageand(libreadline8:patterns-base-documentation) PreReq: %install_info_prereq BuildArch: noarch
commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2019-09-05 12:30:56 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.7948 (New) Package is "readline" Thu Sep 5 12:30:56 2019 rev:5 rq:723956 version:8.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2019-01-29 14:37:38.871607097 +0100 +++ /work/SRC/openSUSE:Factory/.readline.new.7948/readline.changes 2019-09-05 12:30:57.119612877 +0200 @@ -1,0 +2,19 @@ +Fri Aug 16 10:05:11 UTC 2019 - Dr. Werner Fink + +- Rework patch readline-7.0-screen.patch again for bug boo#1143055 + * Map all "screen(-xxx)?.yyy(-zzz)?" to "screen" as well as +map "konsole(-xxx)?" and "gnome(-xxx)?" to "xterm" + +--- +Thu Aug 15 13:45:15 UTC 2019 - Dr. Werner Fink + +- Add official patch readline80-001 + The history file reading code doesn't close the file descriptor open to + the history file when it encounters a zero-length file. + +--- +Fri Aug 2 08:20:41 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + +--- Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.8ewbvG/_old 2019-09-05 12:30:58.143612677 +0200 +++ /var/tmp/diff_new_pack.8ewbvG/_new 2019-09-05 12:30:58.143612677 +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/ # @@ -120,6 +120,7 @@ %patch0 -p0 -b .0 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects LANG=POSIX LC_ALL=$LANG unset LC_CTYPE ++ readline-7.0-screen.patch ++ --- /var/tmp/diff_new_pack.8ewbvG/_old 2019-09-05 12:30:58.191612667 +0200 +++ /var/tmp/diff_new_pack.8ewbvG/_new 2019-09-05 12:30:58.191612667 +0200 @@ -1,24 +1,49 @@ Special for screen and its new TERM setting like TERM=screen.xterm-256color +Map all "screen(-xxx)?.yyy(-zzz)?" to "screen" as well as map "konsole(-xxx)?" +and "gnome(-xxx)?" to "xterm". + +This helps to get /etc/inputrc work for most users. --- - readline-7.0/bind.c |9 + - 1 file changed, 9 insertions(+) + lib/readline/bind.c | 19 +-- + 1 file changed, 17 insertions(+), 2 deletions(-) --- lib/readline/bind.c -+++ readline-7.0/bind.c2018-09-28 11:22:31.001503017 + -@@ -1209,6 +1209,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); -+ -+ /* Skip the prefix `screen.' if any to use the underlying bindings */ -+ if (_rl_parsing_conditionalized_out && -+_rl_strnicmp (rl_terminal_name, "screen.", 7) == 0) lib/readline/bind.c2019-08-16 08:26:42.327029248 + +@@ -1195,19 +1195,34 @@ parser_if (char *args) + word in ARGS is the same as the value stored in rl_readline_name. */ + if (rl_terminal_name && _rl_strnicmp (args, "term=", 5) == 0) + { +- char *tem, *tname; ++ char *tem, *tname, *talias; + +- /* Terminals like "aaa-60" are equivalent to "aaa". */ + tname = savestring (rl_terminal_name); ++ /* Various terminal types of screen are equivalent to "screen" */ ++ if (_rl_strnicmp (rl_terminal_name, "screen", 6) == 0) + { -+_rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname + 7) && -+ _rl_stricmp (args + 5, rl_terminal_name + 7); ++tem = strchr (tname, '.'); ++if (tem) ++ *tem = '\0'; + } ++ /* Terminals like "aaa-60" are equivalent to "aaa". */ + tem = strchr (tname, '-'); + if (tem) + *tem = '\0'; + ++ /* Map terminal types "konsole" and "gnome" to "xterm" nowadays */ ++ talias = tname; ++ if (_rl_stricmp("konsole", tname) == 0) ++ talias = "xterm"; ++ if (_rl_stricmp("gnome", tname) == 0) ++ talias = "xterm"; + + /* Test the `long' and `short' forms of the terminal name so that +if someone has a `sun-cmd' and does not want to have bindings +that will be executed if the terminal is a `sun', they can put +`$if term=sun-cmd' into their .inputrc. */ + _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname) && ++
commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2019-01-29 14:37:35 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new.28833 (New) Package is "readline" Tue Jan 29 14:37:35 2019 rev:4 rq:664074 version:8.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2018-10-11 11:36:30.655470238 +0200 +++ /work/SRC/openSUSE:Factory/.readline.new.28833/readline.changes 2019-01-29 14:37:38.871607097 +0100 @@ -1,0 +2,25 @@ +Wed Jan 9 12:51:18 UTC 2019 - Dr. Werner Fink + +- Update to readline-8.0 final + +--- +Fri Dec 21 13:12:27 UTC 2018 - Dr. Werner Fink + +- Update to readline-8.0-rc1 for testing + +--- +Thu Nov 29 08:39:29 UTC 2018 - Dr. Werner Fink + +- Update to readline-8.0-beta2 for testing + j. Readline now allows application-defined keymap names; there is a new public + function, rl_set_keymap_name(), to do that. + k. The "Insert" keypad key, if available, now puts readline into overwrite + mode. +readline-5.2-conf.patch +- Port and modify patches + * readline-6.2-metamode.patch + * readline-6.3-input.dif + * readline-7.0-screen.patch + * readline-8.0.dif + +--- @@ -4,0 +30,40 @@ + +--- +Thu Sep 20 07:38:14 UTC 2018 - Dr. Werner Fink + +- Update to readline-8.0-beta for testing + a. Non-incremental vi-mode search (`N', `n') can search for a shell pattern, as + Posix specifies (uses fnmatch(3) if available). + b. There are new `next-screen-line' and `previous-screen-line' bindable + commands, which move the cursor to the same column in the next, or previous, + physical line, respectively. + c. There are default key bindings for control-arrow-key key combinations. + d. A negative argument (-N) to `quoted-insert' means to insert the next N + characters using quoted-insert. + e. New public function: rl_check_signals(), which allows applications to + respond to signals that readline catches while waiting for input using + a custom read function. + f. There is new support for conditionally testing the readline version in an + inputrc file, with a full set of arithmetic comparison operators available. + g. There is a simple variable comparison facility available for use within an + inputrc file. Allowable operators are equality and inequality; string + variables may be compared to a value; boolean variables must be compared to + either `on' or `off'; variable names are separated from the operator by + whitespace. + h. The history expansion library now understands command and process + substitution and extended globbing and allows them to appear anywhere in a + word. + i. The history library has a new variable that allows applications to set the + initial quoting state, so quoting state can be inherited from a previous + line. +- Remove not used patch readline-6.2-endpw.dif +- Port and modify patches + * readline-5.2-conf.patch + * readline-6.2-metamode.patch + * readline-6.2-xmalloc.dif + * readline-6.3-destdir.patch + * readline-6.3-input.dif + * readline-6.3-rltrace.patch + * readline-7.0-screen.patch +- Port and rename patch readline-7.0.dif which is now readline-8.0.dif +- Modify baselibs.conf Old: readline-6.2-endpw.dif readline-7.0-patches.tar.bz2 readline-7.0.dif readline-7.0.tar.gz New: readline-8.0-patches.tar.bz2 readline-8.0.dif readline-8.0.tar.gz Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.dcSeEQ/_old 2019-01-29 14:37:39.455606392 +0100 +++ /var/tmp/diff_new_pack.dcSeEQ/_new 2019-01-29 14:37:39.455606392 +0100 @@ -1,7 +1,7 @@ # # spec file for package readline # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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 https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -27,7 +27,7 @@ BuildRequires: pkg-config BuildRequires: sed %define rextend %nil -Version:7.0 +Version:8.0 Release:0 Summary:The readline library License:
commit readline for openSUSE:Factory
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.changes2018-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 + +- 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.c2018-06-13 11:30:47.908033945 + -@@ -1127,6 +1127,16 @@ parser_if (args) readline-7.0/bind.c2018-09-28 11:22:31.001503017 + +@@ -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);
commit readline for openSUSE:Factory
Hello community, here is the log from the commit of package readline for openSUSE:Factory checked in at 2018-06-27 10:13:42 Comparing /work/SRC/openSUSE:Factory/readline (Old) and /work/SRC/openSUSE:Factory/.readline.new (New) Package is "readline" Wed Jun 27 10:13:42 2018 rev:2 rq:616516 version:7.0 Changes: --- /work/SRC/openSUSE:Factory/readline/readline.changes2018-03-22 11:52:48.352163038 +0100 +++ /work/SRC/openSUSE:Factory/.readline.new/readline.changes 2018-06-27 10:13:46.296735870 +0200 @@ -1,0 +2,7 @@ +Wed Jun 13 11:35:34 UTC 2018 - wer...@suse.de + +- Add patch readline-7.0-screen.patch to be able to parse settings + in inputrc for all screen TERM variables starting with "screen." + to fix boo#1095661 + +--- New: readline-7.0-screen.patch Other differences: -- ++ readline.spec ++ --- /var/tmp/diff_new_pack.mMNTKP/_old 2018-06-27 10:13:47.324698468 +0200 +++ /var/tmp/diff_new_pack.mMNTKP/_new 2018-06-27 10:13:47.328698321 +0200 @@ -45,6 +45,7 @@ Patch5: readline-6.2-xmalloc.dif Patch6: readline-6.3-destdir.patch Patch7: readline-6.3-rltrace.patch +Patch8: readline-7.0-screen.patch %{expand: %%global rl_major %(echo %{version} | sed -r 's/.[0-9]+//g')} %description @@ -117,6 +118,7 @@ %patch5 -p0 -b .xm %patch6 -p0 -b .destdir %patch7 -p2 -b .tmp +%patch8 -p2 -b .screen %patch0 -p0 -b .0 %build ++ readline-7.0-screen.patch ++ Special for screen and its new TERM setting like TERM=screen.xterm-256color --- lib/readline/bind.c | 10 ++ 1 file changed, 10 insertions(+) --- lib/readline/bind.c +++ lib/readline/bind.c 2018-06-13 11:30:47.908033945 + @@ -1127,6 +1127,16 @@ 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)) + { + tem = strchr (tname, '.'); + if (tem) + *tem = '\0'; + + _rl_parsing_conditionalized_out = _rl_stricmp (args + 5, tname); + } + xfree (tname); } #if defined (VI_MODE)