Re: [dev] [st] Insert key sends nothing

From: Martin Tournoij <martin_AT_arp242.net>
Date: Tue, 12 Dec 2017 18:53:12 +0000

On Tue, Dec 12, 2017, at 17:26, Martin Tournoij wrote:
> On Tue, Dec 12, 2017, at 17:15, Hiltjo Posthuma wrote:
> > Works fine here (OpenBSD).
> >
> > You're also missing many debug information.
>
> Sorry, forgot to mention that I'm using Arch Linux. I tried setting my
> TERM to st, st-256color, and st-meta; the same results on all of them.
>
> Not sure what other information would be helpful here?

I've fixed it; many years ago I stuck this in my ~/.Xmodmap to make
xterm paste on Insert:

    keycode 118 = XF86Paste

Removing that and restarting X fixes it.

Or alternatively, this makes st paste on XF86Paste:

  Shortcut shortcuts[] = {
    [..]
        { XK_ANY_MOD, XKB_KEY_XF86Paste, selpaste, {.i = 0} },
  }

Also had to add this to st.c:

  #include <xkbcommon/xkbcommon-keysyms.h>

Thanks again. st is great software, and I'm happy to finally ditch
xterm.
Received on Tue Dec 12 2017 - 19:53:12 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 12 2017 - 20:00:20 CET