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
https://bugs.kde.org/show_bug.cgi?id=372116
Anthony Wang changed:
What|Removed |Added
CC||a...@exozy.me
--- Comment #44 from Anthony Wang
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.
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.
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:
*
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.
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:
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 -
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
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.
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 //
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
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
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
https://bugs.kde.org/show_bug.cgi?id=372116
Thaddee Tyl changed:
What|Removed |Added
CC||thaddee@gmail.com
--
You are receiving this
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
https://bugs.kde.org/show_bug.cgi?id=372116
Adam Batkin changed:
What|Removed |Added
CC||a...@batkin.net
--
You are receiving this mail
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
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
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
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
>
>
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
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
>
>
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
https://bugs.kde.org/show_bug.cgi?id=372116
pallaswept changed:
What|Removed |Added
CC||pallasw...@proton.me
--- Comment #24 from
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
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.
https://bugs.kde.org/show_bug.cgi?id=372116
Pedro V changed:
What|Removed |Added
CC||voidpointertonull+bugskdeor
|
https://bugs.kde.org/show_bug.cgi?id=372116
Wiebe Cazemier changed:
What|Removed |Added
CC||wi...@halfgaar.net
--- Comment #20 from Wiebe
https://bugs.kde.org/show_bug.cgi?id=372116
g...@section9.follonica.org changed:
What|Removed |Added
CC||g...@section9.follonica.org
--
https://bugs.kde.org/show_bug.cgi?id=372116
Simon Hüllmandel changed:
What|Removed |Added
CC||lllusion3...@gmail.com
--
You are
https://bugs.kde.org/show_bug.cgi?id=372116
Andrew Gunnerson changed:
What|Removed |Added
CC||accounts+...@chiller3.com
--
You are
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.
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.
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
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.
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
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
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
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
https://bugs.kde.org/show_bug.cgi?id=372116
Shmerl changed:
What|Removed |Added
CC||shtetl...@gmail.com
--- Comment #11 from Shmerl ---
https://bugs.kde.org/show_bug.cgi?id=372116
Christian Muehlhaeuser changed:
What|Removed |Added
CC||mue...@gmail.com
--- Comment #10 from
https://bugs.kde.org/show_bug.cgi?id=372116
Krut Patel changed:
What|Removed |Added
CC||kroot.pa...@gmail.com
--
You are receiving this
https://bugs.kde.org/show_bug.cgi?id=372116
si...@brulhart.me changed:
What|Removed |Added
CC||si...@brulhart.me
--
You are receiving
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
https://bugs.kde.org/show_bug.cgi?id=372116
SC changed:
What|Removed |Added
CC||k...@scheimong.net
--
You are receiving this mail
https://bugs.kde.org/show_bug.cgi?id=372116
Frederick Zhang changed:
What|Removed |Added
CC||frederick...@tsundere.moe
--
You are
https://bugs.kde.org/show_bug.cgi?id=372116
Celeste changed:
What|Removed |Added
CC||coelacant...@outlook.com
--
You are receiving this
https://bugs.kde.org/show_bug.cgi?id=372116
Chang Liu changed:
What|Removed |Added
CC||goduck...@gmail.com
--
You are receiving this
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.
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)
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
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
https://bugs.kde.org/show_bug.cgi?id=372116
Vincenzo Di Massa changed:
What|Removed |Added
CC||hawk...@tiscali.it
--- Comment #4 from
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:
https://bugs.kde.org/show_bug.cgi?id=372116
André M changed:
What|Removed |Added
CC||andre.vma...@gmail.com
--
You are receiving this
https://bugs.kde.org/show_bug.cgi?id=372116
andydecle...@gmail.com changed:
What|Removed |Added
CC||andydecle...@gmail.com
--
You are
https://bugs.kde.org/show_bug.cgi?id=372116
Egmont Koblinger changed:
What|Removed |Added
CC||egm...@gmail.com
--- Comment #3 from Egmont
https://bugs.kde.org/show_bug.cgi?id=372116
Aetf <7437...@gmail.com> changed:
What|Removed |Added
CC||7437...@gmail.com
--
You are
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.
>
>
https://bugs.kde.org/show_bug.cgi?id=372116
Martin Sandsmark changed:
What|Removed |Added
CC|
61 matches
Mail list logo