[konsole] [Bug 431695] Pasting \n does not work

2022-04-29 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=431695

Ahmad Samir  changed:

   What|Removed |Added

 CC||o...@geek.co.il

--- Comment #8 from Ahmad Samir  ---
*** Bug 443292 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-26 Thread Dmitri Koulikoff
https://bugs.kde.org/show_bug.cgi?id=431695

--- Comment #7 from Dmitri Koulikoff  ---
thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-26 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=431695

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #6 from Ahmad Samir  ---
I don't think this is specific to konsole; bash/readline has bracketed-paste,
if it's enabled the shell will behave the way you describe.

You can enable/disable bracketed-paste by editing /etc/inputrc and adding a
line:
set enable-bracketed-paste off

See:
https://www.gnu.org/software/bash/manual/bash.html#index-enable_002dbracketed_002dpaste
https://www.gnu.org/software/bash/manual/bash.html#Readline-Init-File-Syntax

(If you want the change to be in your user account only, you can also create a
~/.inputrc file:
$include /etc/inputrc
set enable-bracketed-paste off
)

Note that bash/readline in recent versions have enabled bracketed-paste by
default: https://lwn.net/Articles/839212/

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=431695

tcanabr...@kde.org changed:

   What|Removed |Added

 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED
 CC||tcanabr...@kde.org

--- Comment #5 from tcanabr...@kde.org ---
Dmitri, I won't be adding a setting for this.

I agree with the other users that this is a security concern, and it's doable
that a ctrl + c on a website can inject malicius code, so you have the
opportunity to check if the pasted command is indeed `ls -l` instead of `sudo
rm -rf /`

Press enter if you copy / paste code.
or, create functions on your bashrc with the appropriate code that you are
pasting so often.

Best.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-26 Thread Dmitri Koulikoff
https://bugs.kde.org/show_bug.cgi?id=431695

--- Comment #4 from Dmitri Koulikoff  ---
Yes, it does insert, but not reacts. So I need to press Enter every time. It is
very annoying. If you insist that new behaviour should exist, there should be a
setting for it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-26 Thread Carlos Alves
https://bugs.kde.org/show_bug.cgi?id=431695

Carlos Alves  changed:

   What|Removed |Added

 CC||cbc.al...@gmail.com

--- Comment #3 from Carlos Alves  ---
Created attachment 135202
  --> https://bugs.kde.org/attachment.cgi?id=135202=edit
Copy new line

It is already possible to copy a new line, you have to select the line until
the beginning of next line, this way it will select the '\n'.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-25 Thread Dmitri Koulikoff
https://bugs.kde.org/show_bug.cgi?id=431695

Dmitri Koulikoff  changed:

   What|Removed |Added

 Resolution|INTENTIONAL |---
 Status|RESOLVED|REPORTED

--- Comment #2 from Dmitri Koulikoff  ---
It makes no difference for them as they will press Enter as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 431695] Pasting \n does not work

2021-01-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=431695

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |INTENTIONAL
 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
If we did this, it would be possible for people to copy-paste malicious code
they find online that executes immediately.

-- 
You are receiving this mail because:
You are watching all bug changes.