Thursday, August 04, 2022

Re: Xterm copy-paste not happening on OpenBSD 7.1 i386.

Brian Durant <contact@anarchosaxophonist.org> wrote:
> I have installed OpenBSD 7.1 i386 on my Lenovo T60 and am experiencing a
> couple of issues. The first is related to the following addition that I
> made to my .Xdefaults file, which works with OpenBSD 7.1 amd64 installs,
> but not with the OpenBSD 7.1 i386 install on my Lenovo T60:
> XTerm*VT100.Translations: #override\
> Ctrl Shift <Key> C: copy-selection(CLIPBOARD) \n\
> Ctrl Shift <Key> V: insert-selection(CLIPBOARD)
> Any ideas how to get copy and paste working in Xterm with an i386 install?

I don't know if it's relevant, but my Xdefaults looks like this

XTerm.VT100.translations: #override \n\
Ctrl Alt <Key>C: copy-selection(CLIPBOARD) \n\
Ctrl Alt <Key>V: insert-selection(CLIPBOARD) \n\
[...other stuff...]

In particular, do note the "\n" after #override, which isn't present in
your snippet. This works fine for me.

Also, vi(1) is showing \xc2\xa0 before your lines, which I don't know
if it's product of your MUA or if it's actually part of the file (it's
a non-breaking space, aka &nbsp; in XML/HTML), do double-check the
whitespaces in there.

-Lucas

No comments:

Post a Comment