Please, good guys, remove adding formatting when pasting text to the XFCE terminal emulator.
Is there any serious reason for pasting such a "thing" -> ^[[200~ ~ to the terminal? I remove it all the time...
Yes, I know it's possible to avoid it, but it consumes user attention for stupidity...
Please, remove ^[[200~ when pasting to XFCE terminal emulator...
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
The default terminal is not set up for the use of the desktop shortcut Ctrl + V, if that's what you're using. The normal way is to right-click the location you want to use > Context menu and select "paste"; there an option that I have never tried in Preferences > Advanced to change the right-click behavior to paste the clipboard's contents.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
or: instead of Ctrl + V --> use Ctrl+Shift + V
Sony Vaio VPCF23P (2011), Intel Core i7-2670, 6gb RAM, 240gb SSD, MX-Linux 23 based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Lenovo Thinkpad L560 (2016), Intel Core i5-6200, 16gb RAM, 240gb SSD, Devuan Daedalus based Fluxbox v/1.3.7+
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
Yes, I have mentioned that I know that it's avoidable, but why keep problems (from the point of usability) and teach people how they can avoid them? Is there any pragmatic or religious reason to keep it like this out of the box?
I suspect the reason. From the position of the code, and programmers it's logical and consistent with other similar behaviors, so let's keep it like this. Users should not be lazy and keep in their minds the solution. Am I right?
BTW: Possibly I have ADHD, even though I'm not formally diagnosed, but on my computer I always try to automate what is possible to save my poor attention for crucial things.
I suspect the reason. From the position of the code, and programmers it's logical and consistent with other similar behaviors, so let's keep it like this. Users should not be lazy and keep in their minds the solution. Am I right?
BTW: Possibly I have ADHD, even though I'm not formally diagnosed, but on my computer I always try to automate what is possible to save my poor attention for crucial things.
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
I found that depends on how I do the copy if I include the blank space at the start (easily done) it does throw in that (-> ^[[200~ ~ into the terminal), That blank space for me anyway is the self inflicted cause.
" Outside the square , inside the cube "
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
It's called "bracketed paste" see this https://cirw.in/blog/bracketed-paste
I think you can disable if you add "set enable-bracketed-paste off" to your ~/.inputrc.
I think you can disable if you add "set enable-bracketed-paste off" to your ~/.inputrc.
So if you don't need that go ahead and disable it.enable-bracketed-paste
When set to ‘On’, Readline configures the terminal to insert each paste into the editing buffer as a single string of characters, instead of treating each character as if it had been read from the keyboard. This is called putting the terminal into bracketed paste mode; it prevents Readline from executing any editing commands bound to key sequences appearing in the pasted text. The default is ‘On’.
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
@Adrian oops I didn't know, My thinking was PEBKAC, 

" Outside the square , inside the cube "
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
Can this be perhaps added to the MX Tweak tool like for example disabling the single click behaviour?Adrian wrote: ↑Fri Aug 09, 2024 7:04 am It's called "bracketed paste" see this https://cirw.in/blog/bracketed-paste
I think you can disable if you add "set enable-bracketed-paste off" to your ~/.inputrc.
So if you don't need that go ahead and disable it.enable-bracketed-paste
When set to ‘On’, Readline configures the terminal to insert each paste into the editing buffer as a single string of characters, instead of treating each character as if it had been read from the keyboard. This is called putting the terminal into bracketed paste mode; it prevents Readline from executing any editing commands bound to key sequences appearing in the pasted text. The default is ‘On’.
I mean not only for XFCE but also KDE Plasma.
Re: Please, remove ^[[200~ when pasting to XFCE terminal emulator...
Wirtualny wrote: ↑Fri Aug 09, 2024 4:59 am Please, good guys, remove adding formatting when pasting text to the XFCE terminal emulator.
Is there any serious reason for pasting such a "thing" -> ^[[200~ ~ to the terminal? I remove it all the time...
Yes, I know it's possible to avoid it, but it consumes user attention for stupidity...
edit - just read your post propery and I think that might be what causes it, I though t it was something else.