Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: urbancamo <mark@wickensonline.co.uk>
Subject: Re: Alt modifier keys autorepeating on LK421, Digital Unix 3.2C
Date: Tue, 16 Oct 2012 00:59:26 -0700 (PDT)	[thread overview]
Message-ID: <13ceff77-3271-419a-8054-7fd97bb62216@googlegroups.com> (raw)
In-Reply-To: <8c79d147-9e43-4df0-a7ab-c69cd102bff8@googlegroups.com>

OK, so I found the answer ;)
Initially I found a program that would do this, then I found the source code to xset.c After looking through that I realised that you *can* set the repeat mode for an individual key using xset, the syntax is

# turn repeat on for keycode
 xset r <keycode>

# turn repeat off for keycode
 xset -r <keycode>

Blimey, I've used xset for a lot of years, I guess there is always some option in Unix that you don't find till you need it ;)

To run after login to an Xserver I created a .X11Startup file:

xmodmap .dxkeycaps
xset r 92
xset r 97

Now my Alt_L and Alt_R don't auto-repeat.

Regards, Mark. 


  reply	other threads:[~2012-10-16  7:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-16  5:10 Alt modifier keys autorepeating on LK421, Digital Unix 3.2C urbancamo
2012-10-16  7:59 ` urbancamo [this message]
2012-10-18 18:52   ` Trying to identify a QBUS board commodorejohn
2012-10-18 18:53     ` commodorejohn
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox