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.changes 2018-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 +0000 @@ -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)