[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-05-23 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #45 from Shmerl --- (In reply to Anthony Wang from comment #44) > I'm the maintainer of the konsole-osc52 AUR package and I can confirm that > the patch > (https://aur.archlinux.org/cgit/aur.git/tree/osc52.patch?h=konsole-osc52) no > longer

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-05-23 Thread Anthony Wang
https://bugs.kde.org/show_bug.cgi?id=372116 Anthony Wang changed: What|Removed |Added CC||a...@exozy.me --- Comment #44 from Anthony Wang

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-28 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #43 from Shmerl --- Any luck with testing your patch against latest codebase? It would be good to merge it if it works as intended with resizable buffers. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-16 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #42 from Shmerl --- That didn't work unfortunately due it using some unavailable Qt functionality for that version. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-16 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #41 from Shmerl --- I'll check if I can backport those recent commits and your osc52 patch to the older konsole in Debian testing, to be able to use that before it's updated there: *

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #40 from Shmerl --- > tokenBuffer now gets resized to fit the content If that's the case - then great! May be your patch will just work then. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #39 from Shmerl --- (In reply to Christian Muehlhaeuser from comment #38) > (In reply to Shmerl from comment #35) > > Well, I see it being used at least in a few places in the code: > > > > ``` > > src/Vt102Emulation.cpp:322:

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #38 from Christian Muehlhaeuser --- (In reply to Shmerl from comment #35) > Well, I see it being used at least in a few places in the code: > > ``` > src/Vt102Emulation.cpp:322:tokenBufferPos = qMin(tokenBufferPos, > MAX_TOKEN_LENGTH -

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #37 from Shmerl --- So I'd say it's worth looking into that, or even making this buffer dynamic when you need to handle osc52 altogether and set some limits which are defined separately. -- You are receiving this mail because: You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #36 from Shmerl --- It's definitely helping! I was able to copy 27,637 bytes now when testing copying some random text, unlike without the patch. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #35 from Shmerl --- Well, I see it being used at least in a few places in the code: ``` src/Vt102Emulation.cpp:322:tokenBufferPos = qMin(tokenBufferPos, MAX_TOKEN_LENGTH - 1); src/Vt102Emulation.h:127:#define MAX_TOKEN_LENGTH 256 //

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #34 from Christian Muehlhaeuser --- (In reply to Shmerl from comment #33) > Apparently some downstream distros are working around this by changing the > buffer size: > > -#define MAX_TOKEN_LENGTH 256 // Max length of tokens (e.g. window

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-15 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #33 from Shmerl --- Apparently some downstream distros are working around this by changing the buffer size: -#define MAX_TOKEN_LENGTH 256 // Max length of tokens (e.g. window title) +#define MAX_TOKEN_LENGTH 65536 // Max length of tokens

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-12 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #32 from Shmerl --- I would appreciate some update on this too. Is there some way to help with this? What has to be implemented / improved for this to work? Something about kosnole buffer? -- You are receiving this mail because: You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-04-06 Thread Thaddee Tyl
https://bugs.kde.org/show_bug.cgi?id=372116 Thaddee Tyl changed: What|Removed |Added CC||thaddee@gmail.com -- You are receiving this

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-03-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #31 from g...@section9.follonica.org --- Any new on this? With distributions defaulting to Wayland there is no way to copy/paste from a remote ssh session anymore. A workaround is to use waypipe but that is suboptimal... -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2024-03-07 Thread Adam Batkin
https://bugs.kde.org/show_bug.cgi?id=372116 Adam Batkin changed: What|Removed |Added CC||a...@batkin.net -- You are receiving this mail

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-11-24 Thread Adam Beer
https://bugs.kde.org/show_bug.cgi?id=372116 Adam Beer changed: What|Removed |Added CC||a.beer_...@live.ca -- You are receiving this mail

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread pallaswept
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #30 from pallaswept --- (In reply to SC from comment #29) > (In reply to pallaswept from comment #28) > > (In reply to Christian Muehlhaeuser from comment #25) > > > (In reply to pallaswept from comment #24) > > > > Yknow what would be

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread SC
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #29 from SC --- (In reply to pallaswept from comment #28) > (In reply to Christian Muehlhaeuser from comment #25) > > (In reply to pallaswept from comment #24) > > > Yknow what would be better than TALKING ABOUT IT FORS E V E N Y E A

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread pallaswept
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #28 from pallaswept --- (In reply to Christian Muehlhaeuser from comment #25) > (In reply to pallaswept from comment #24) > > Yknow what would be better than TALKING ABOUT IT FORS E V E N Y E A R > > S > > > > DOING IT > >

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread pallaswept
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #27 from pallaswept --- (In reply to pallaswept from comment #26) > (In reply to Christian Muehlhaeuser from comment #25) > > (In reply to pallaswept from comment #24) > > > Yknow what would be better than TALKING ABOUT IT FORS E V E N

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread pallaswept
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #26 from pallaswept --- (In reply to Christian Muehlhaeuser from comment #25) > (In reply to pallaswept from comment #24) > > Yknow what would be better than TALKING ABOUT IT FORS E V E N Y E A R > > S > > > > DOING IT > >

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #25 from Christian Muehlhaeuser --- (In reply to pallaswept from comment #24) > Yknow what would be better than TALKING ABOUT IT FORS E V E N Y E A R S > > DOING IT Fantastic idea. Looking forward to your contributions! -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-10-29 Thread pallaswept
https://bugs.kde.org/show_bug.cgi?id=372116 pallaswept changed: What|Removed |Added CC||pallasw...@proton.me --- Comment #24 from

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-08-12 Thread Pedro V
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #23 from Pedro V --- (In reply to Wiebe Cazemier from comment #22) > Do those concerns also apply to 'copy TO clipboard'? Not as-is as a write-only approach can't really directly result in information leaking, but the issues regarding

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-08-12 Thread Wiebe Cazemier
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #22 from Wiebe Cazemier --- Do those concerns also apply to 'copy TO clipboard'? -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-08-11 Thread Pedro V
https://bugs.kde.org/show_bug.cgi?id=372116 Pedro V changed: What|Removed |Added CC||voidpointertonull+bugskdeor |

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-05-19 Thread Wiebe Cazemier
https://bugs.kde.org/show_bug.cgi?id=372116 Wiebe Cazemier changed: What|Removed |Added CC||wi...@halfgaar.net --- Comment #20 from Wiebe

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-02-14 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 g...@section9.follonica.org changed: What|Removed |Added CC||g...@section9.follonica.org --

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2023-01-09 Thread Simon Hüllmandel
https://bugs.kde.org/show_bug.cgi?id=372116 Simon Hüllmandel changed: What|Removed |Added CC||lllusion3...@gmail.com -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-14 Thread Andrew Gunnerson
https://bugs.kde.org/show_bug.cgi?id=372116 Andrew Gunnerson changed: What|Removed |Added CC||accounts+...@chiller3.com -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-14 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #19 from Shmerl --- Is there a reason for 256 buffer limit in general? That sounds extremely small. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-14 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #18 from Shmerl --- Yeah, to make this feature a usable alternative to nvim clipboard providers it shouldn't have such small limit. -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-14 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #17 from Christian Muehlhaeuser --- The problem here is that konsole's buffer is limited to 256 characters currently. There's some super hacky code to support inline images, which we could piggyback, but I haven't had the time to clean that

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-14 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #16 from Shmerl --- Some details on copying long text not working: https://github.com/ojroques/nvim-osc52/issues/11 -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-10 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #15 from Shmerl --- Also, trying to copy some more complex code gets pretty messed up. Not sure if it's a problem with konsole implementation or with nvim plugin again. -- You are receiving this mail because: You are watching all bug

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-10 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #14 from Shmerl --- OK, it's working! It was my mistake with applying the patch (I had to rebase it for 22.08.3). I noticed one strange thing that when copying in nvim a full line, it adds \n to the copied text as well which is a bit

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-10 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #13 from Shmerl --- (In reply to Christian Muehlhaeuser from comment #12) > Are you using tmux by chance? > > Otherwise, can you see if the following copies the text "copypasta!" to the > clipboard, when executed in bash: > > printf

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-10 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #12 from Christian Muehlhaeuser --- (In reply to Shmerl from comment #11) > I tried to build konsole with that patch and used nvim with > ojroques/nvim-osc52 plugin. nvim indicates that it copies something using > osc52. But I don't see the

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-09 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=372116 Shmerl changed: What|Removed |Added CC||shtetl...@gmail.com --- Comment #11 from Shmerl ---

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-08 Thread Christian Muehlhaeuser
https://bugs.kde.org/show_bug.cgi?id=372116 Christian Muehlhaeuser changed: What|Removed |Added CC||mue...@gmail.com --- Comment #10 from

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-11-02 Thread Krut Patel
https://bugs.kde.org/show_bug.cgi?id=372116 Krut Patel changed: What|Removed |Added CC||kroot.pa...@gmail.com -- You are receiving this

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-07-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 si...@brulhart.me changed: What|Removed |Added CC||si...@brulhart.me -- You are receiving

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-06-18 Thread SC
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #9 from SC --- I would just like to add that clipboard-setting via OSC52 is an extremely useful feature for terminal-based editors over SSH. See https://github.com/zyedidia/micro/blob/master/runtime/help/copypaste.md. I am very much in

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-06-18 Thread SC
https://bugs.kde.org/show_bug.cgi?id=372116 SC changed: What|Removed |Added CC||k...@scheimong.net -- You are receiving this mail

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-03-16 Thread Frederick Zhang
https://bugs.kde.org/show_bug.cgi?id=372116 Frederick Zhang changed: What|Removed |Added CC||frederick...@tsundere.moe -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2022-03-02 Thread Celeste
https://bugs.kde.org/show_bug.cgi?id=372116 Celeste changed: What|Removed |Added CC||coelacant...@outlook.com -- You are receiving this

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-12-18 Thread Chang Liu
https://bugs.kde.org/show_bug.cgi?id=372116 Chang Liu changed: What|Removed |Added CC||goduck...@gmail.com -- You are receiving this

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-10-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #8 from andydecle...@gmail.com --- (In reply to andydecleyre from comment #6) > be significantly motivated by only allowing setting. s/motiv/mitig/ -- You are receiving this mail because: You are watching all bug changes.

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-10-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #7 from un...@mail.ru --- (In reply to unxed from comment #5) > There is another solution for remote clipboard support in terminal, already > working in real life: the file manager far2l (a fork of Far Manager 2 ported > to Linux/BSD/Mac)

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-10-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #6 from andydecle...@gmail.com --- As a commenter on the Gnome issue linked says, the bigger use case is setting the clipboard, not reading it, so security problems can and should be significantly motivated by only allowing setting. The app

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-10-11 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 un...@mail.ru changed: What|Removed |Added CC||un...@mail.ru --- Comment #5 from un...@mail.ru

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-07-21 Thread Vincenzo Di Massa
https://bugs.kde.org/show_bug.cgi?id=372116 Vincenzo Di Massa changed: What|Removed |Added CC||hawk...@tiscali.it --- Comment #4 from

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2021-03-10 Thread Egmont Koblinger
https://bugs.kde.org/show_bug.cgi?id=372116 Egmont Koblinger changed: What|Removed |Added CC|egm...@gmail.com| -- You are receiving this mail because:

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2020-05-25 Thread André M
https://bugs.kde.org/show_bug.cgi?id=372116 André M changed: What|Removed |Added CC||andre.vma...@gmail.com -- You are receiving this

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2020-04-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 andydecle...@gmail.com changed: What|Removed |Added CC||andydecle...@gmail.com -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2019-04-10 Thread Egmont Koblinger
https://bugs.kde.org/show_bug.cgi?id=372116 Egmont Koblinger changed: What|Removed |Added CC||egm...@gmail.com --- Comment #3 from Egmont

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2019-04-09 Thread Aetf
https://bugs.kde.org/show_bug.cgi?id=372116 Aetf <7437...@gmail.com> changed: What|Removed |Added CC||7437...@gmail.com -- You are

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2016-11-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=372116 --- Comment #2 from xiaqq...@gmail.com --- (In reply to Martin Sandsmark from comment #1) > Should be fairly trivial to implement, look at > https://quickgit.kde.org/?p=konsole. > git=commit=bb6abc0bc8a23f46752f7341d43e4275e9085fa9 for inspiration. > >

[konsole] [Bug 372116] Feature Request: Support OSC 52 (copy to clipboard)

2016-11-05 Thread Martin Sandsmark
https://bugs.kde.org/show_bug.cgi?id=372116 Martin Sandsmark changed: What|Removed |Added CC|