Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rxvt-unicode for openSUSE:Factory checked in at 2024-01-04 15:57:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rxvt-unicode (Old) and /work/SRC/openSUSE:Factory/.rxvt-unicode.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rxvt-unicode" Thu Jan 4 15:57:33 2024 rev:46 rq:1135993 version:9.31 Changes: -------- --- /work/SRC/openSUSE:Factory/rxvt-unicode/rxvt-unicode.changes 2023-10-13 23:16:35.975212199 +0200 +++ /work/SRC/openSUSE:Factory/.rxvt-unicode.new.28375/rxvt-unicode.changes 2024-01-04 15:59:22.072837668 +0100 @@ -1,0 +2,6 @@ +Sat Dec 2 12:46:49 UTC 2023 - Michal Suchanek <msucha...@suse.com> + +- Change the confirm-paste keys beck to what was used before 9.31 (bsc#1217732) + * Add confirm-paste-Change-y-p-n-to-y-f-n-to-preserve-comp.patch + +------------------------------------------------------------------- New: ---- confirm-paste-Change-y-p-n-to-y-f-n-to-preserve-comp.patch BETA DEBUG BEGIN: New:- Change the confirm-paste keys beck to what was used before 9.31 (bsc#1217732) * Add confirm-paste-Change-y-p-n-to-y-f-n-to-preserve-comp.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rxvt-unicode.spec ++++++ --- /var/tmp/diff_new_pack.ct7DXF/_old 2024-01-04 15:59:22.832865432 +0100 +++ /var/tmp/diff_new_pack.ct7DXF/_new 2024-01-04 15:59:22.832865432 +0100 @@ -1,7 +1,7 @@ # # spec file for package rxvt-unicode # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,6 +43,7 @@ Patch5: rxvt-unicode-secondarywheel.patch Patch7: handle-new-tic-and-dont-install-terminfo.patch Patch8: dont-set-empty-local.patch +Patch9: confirm-paste-Change-y-p-n-to-y-f-n-to-preserve-comp.patch BuildRequires: gcc-c++ BuildRequires: ncurses-devel BuildRequires: perl ++++++ confirm-paste-Change-y-p-n-to-y-f-n-to-preserve-comp.patch ++++++ >From a1e92edfe0fca02ab39fa29ba23982668e19dfc1 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msucha...@suse.de> Date: Sat, 2 Dec 2023 13:41:05 +0100 Subject: [PATCH] confirm-paste: Change y/p/n to y/f/n to preserve compatibility with previous y/n Initially confirm-paste offerted only two choices y(yes)/n(no). That was later changed to y(filter)/p(yes)/n(no). Change to y(yes)/f(filter)/n(no) to be compatible with the initial implementation. Signed-off-by: Michal Suchanek <msucha...@suse.de> --- src/perl/confirm-paste | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/perl/confirm-paste b/src/perl/confirm-paste index 30a42c09..8cac07c6 100644 --- a/src/perl/confirm-paste +++ b/src/perl/confirm-paste @@ -7,9 +7,9 @@ confirm-paste - ask for confirmation before pasting control characters =head1 DESCRIPTION Displays a confirmation dialog when a paste containing control characters -is detected. The user can choose C<y> to either paste a sanitized variant -where all control characters are removed, C<p> to paste the string -unmodified or C<n> to drop the paste request completely. +is detected. The user can either choose C<y> to paste the string unmodified, +C<f> to paste a sanitized variant where all control characters are removed, +or C<n> to drop the paste request completely. This is mostly meant as a defense-in-depth mechanism to protect against the common web browser bug of you selecting some text but the browser @@ -25,7 +25,7 @@ U+001F currrently) is pasted into the terminal, this extension will ask whether it should be pasted. Strings without control characters get pasted without prompt. -When a sanitized version is pasted (choice C<y>), then contiguous +When a sanitized version is pasted (choice C<f>), then contiguous sequences of those control characters will be replaced by a single spaces. The exact detection and sanitization algorithm is subject to change in @@ -47,7 +47,7 @@ sub on_tt_paste { or return; $self->{paste} = \$str; - $self->msg ("Pasting $count control characters, continue? (y/p/n)"); + $self->msg ("Pasting $count control characters, continue? (y/f/n)"); my $preview = substr $self->locale_decode ($str), 0, $self->ncol; $preview =~ s/\n/\\n/g; @@ -72,12 +72,12 @@ sub key_press { my $paste = delete $self->{paste}; - if ($keysym == 121) { # y + if ($keysym == 102) { # f my $paste = $$paste; $paste =~ s/[\x00-\x1f]+/ /g; $self->tt_paste ($paste); $self->leave; - } elsif ($keysym == 112) { # p + } elsif ($keysym == 121) { # y $self->tt_paste ($$paste); $self->leave; } elsif ($keysym == 110) { # n -- 2.42.0