[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
*** This bug is a duplicate of bug 1452893 *** https://bugs.launchpad.net/bugs/1452893 ** This bug has been marked a duplicate of bug 1452893 Terminal should ask for confirmation before pasting multiple lines -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-terminal (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
> I don't think having to hit Enter when you paste several lines [...] would be a great annoyance You have the shell as use case in your mind. Other use cases include e.g. pasting to a text editor. Having to hit Enter there would be quite an annoyance. > but if it was for someone, there would always be the setting to disable it. And that's the problematic part. I'd like to have it disabled when running the text editor, but have some confirmation when pasting to the shell. > Does that address the case where I actually do want to paste a sequence of commands and run them? Yes. You just hit Enter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
> gnome-terminal could warn you before pasting a newline. It could offer > to disable that warning, Yep, it should do both things (I forgot to mention the second one), or, as I said, just require a single Enter keystroke (and still, obviously have a setting to disable that). I don't think having to hit Enter when you paste several lines, just like you usually do when you paste a single line (usually not including the final newline) would be a great annoyance for those who often paste whole sequences of commands, but if it was for someone, there would always be the setting to disable it. > I believe the proper solution is to enable bracketed paste mode Does that address the case where I actually do want to paste a sequence of commands and run them? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
I'm not affiliated with Ubuntu, so I probably shouldn't be the one warning you, but your style is unacceptable, no matter how serious issue you report. gnome-terminal could warn you before pasting a newline. It could offer to disable that warning, in which case most users would do so, falling back to the problem you reported. Or it could not offer such possibility, making intentional multi-line pastes annoying as hell. I believe the proper solution is to enable bracketed paste mode in your shell (which requires a newer Ubuntu, shipping bash-4.4). Please reassign (or report a new bug) against Ubuntu's bash or readline package to enable this feature by default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1791337] Re: Terminal should prompt for confirmation before pasting text containing newlines
Obviously this should be fixed upstream, but until then, a decent distribution would patch it to fix such an idiotic behaviour. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1791337 Title: Terminal should prompt for confirmation before pasting text containing newlines To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs