On Thu, 4 Aug 2022, Lucas wrote:

> Brian Durant <[email protected]> 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

Thanks for the reply. Trying a different MUA. Not sure where the extra 
characters that you mention crept in, however they weren't in the 
.Xdefaults file as far as I could see. I added the extra "\n\" in the last 
line as suggested, but weirdly this had no effect. Still no copy-paste in 
i386.

Reply via email to