copy and paste doesn't work on unix : reminder
I seem to have already written this article: <https://wibblement.blogspot.com/2021/11/copy-and-paste-keeps-getting-worse.html>.
Copy and paste failures happen all the time, but I've just had another case. I was trying to copy a bit of text out of a terminal emulator running a shell and into a web editor. I selected the text. Middle clicked in blogger's editor in web page in chromium. It pasted in a picture that was previously in the clipboard / in the other clipboard. Since it's just a shell running in a terminal, there was no other way to ask for it to copy. I tried ctrl-v in the browser editor: same result. So I tried middle-clicking in emacs's scratch buffer. That pasted in the right text. Then selected the text and did ctrl-w, which is an emacs thing. Now I can ctrl-v in the browser editor, and the right text is pasted. Conclusion: the browser or blogger editor is probably handling middle-click itself, and pasting from the "other" clipboard.
Maybe no one is even using X or desktop Unix any more. People who do use it will tend to come across these copy-and-paste issues a lot. It doesn't have to be this way.
Comments
Post a Comment