Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Alt modifier keys autorepeating on LK421, Digital Unix 3.2C
@ 2012-10-16  5:10 urbancamo
  2012-10-16  7:59 ` urbancamo
  0 siblings, 1 reply; 4+ messages in thread
From: urbancamo @ 2012-10-16  5:10 UTC (permalink / raw)


Completely random request I know, but someone somewhere may have some info lurking in the back of their brain.

I'm using an LK421 keyboard on my DEC 3000/600 AXP under Digital Unix 3.2C.
The problem is that auto-repeat is enabled for the Alt Function keys on the LHS and RHS of the space bar. 

I have tried using the dxkeycaps utility (The Options->Keyboard menu item on the session manager) and also redefining the purpose of the keys as modifiers using xmodmap. The dxkeycaps utility is showing auto-repeat turned off for the Alt keys, but TBH I don't see how changing this setting for individual keys is having any affect over anything (I can't see any auto-repeat settings in the .dxkeycaps file that is produced for example).

The xset command shows an autorepeat keys map but I don't see any way to change this. Maybe there is a programmatic interface for C instead?

Note that the Control Key, Shift keys and Compose key don't exhibit this behaviour.

Output from the xset command:
  msw@ellen$ xset q
Keyboard Control:
  auto repeat:  on    key click percent:  10    LED mask:  00000000
  auto repeating keys:  ffffffffffffffff
                        ffffffffffffffff
                        ffffffffff07f8df
                        ffffffffffffffff
  bell percent:  25    bell pitch:  400    bell duration:  100
Pointer Control:
  acceleration:  7/1    threshold:  3
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  600    cycle:  600
Colors:
  default colormap:  0x21    BlackPixel:  0    WhitePixel:  16777215
Font Path:
  /usr/lib/X11/fonts/decwin/100dpi,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/7
5dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/T
ype1/,/usr/lib/X11/fonts/Type1Adobe/,/usr/lib/X11/fonts/user/100dpi,/usr/lib/X11
/fonts/user/misc
Bug Mode: compatibility mode is disabled


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alt modifier keys autorepeating on LK421, Digital Unix 3.2C
  2012-10-16  5:10 Alt modifier keys autorepeating on LK421, Digital Unix 3.2C urbancamo
@ 2012-10-16  7:59 ` urbancamo
  2012-10-18 18:52   ` Trying to identify a QBUS board commodorejohn
  0 siblings, 1 reply; 4+ messages in thread
From: urbancamo @ 2012-10-16  7:59 UTC (permalink / raw)


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. 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to identify a QBUS board
  2012-10-16  7:59 ` urbancamo
@ 2012-10-18 18:52   ` commodorejohn
  2012-10-18 18:53     ` commodorejohn
  0 siblings, 1 reply; 4+ messages in thread
From: commodorejohn @ 2012-10-18 18:52 UTC (permalink / raw)


On Jul 23, 10:46 pm, glen herrmannsfeldt <g...@ugcs.caltech.edu>
wrote:
> Another possibility: Someone moved cards around between machines,
> not realizing the clash. When they (or someone else) couldn't get
> it to run, they scrapped it.
>
> For the MXV21:
>
>   "The controller is shiped with the DEC standard device address
>    and vector assignments preset to 17710 and 264 (octal) respectively.
>    Any change in these assignments would necessitate a change in
>    system software. However, an alternate address and vector assignment
>    is selectable and is defined as 177174 and 270, repectively."
>
>   "To select the alternate address/vector, first cut the foil between
>    W15 and W16. Jumper W16 to W17 and jumper W33 to W34."

Okay, I looked through the output of the MP memory-map command in the
boot ROM. The only thing that changes in the device-register section
when this card is installed is that it adds eight words from
17772518-17772536 (there's already one at 17772516, so it shows as a
contiguous nine-word area.) The RQDX1, on the other hand, lives at
17772150-17772152. Maybe they share an interrupt and that's why
they're conflicting, but the mystery card sure isn't where the MXV21
normally goes. Doesn't look from the manual like that's somewhere it
*can* go. Any idea what type of device lives at x72518 in the I/O page?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to identify a QBUS board
  2012-10-18 18:52   ` Trying to identify a QBUS board commodorejohn
@ 2012-10-18 18:53     ` commodorejohn
  0 siblings, 0 replies; 4+ messages in thread
From: commodorejohn @ 2012-10-18 18:53 UTC (permalink / raw)


On Oct 18, 1:52 pm, commodorejohn <commodorej...@gmail.com> wrote:
> On Jul 23, 10:46 pm, glen herrmannsfeldt <g...@ugcs.caltech.edu>
> wrote:
>
> > Another possibility: Someone moved cards around between machines,
> > not realizing the clash. When they (or someone else) couldn't get
> > it to run, they scrapped it.
>
> > For the MXV21:
>
> >   "The controller is shiped with the DEC standard device address
> >    and vector assignments preset to 17710 and 264 (octal) respectively.
> >    Any change in these assignments would necessitate a change in
> >    system software. However, an alternate address and vector assignment
> >    is selectable and is defined as 177174 and 270, repectively."
>
> >   "To select the alternate address/vector, first cut the foil between
> >    W15 and W16. Jumper W16 to W17 and jumper W33 to W34."
>
> Okay, I looked through the output of the MP memory-map command in the
> boot ROM. The only thing that changes in the device-register section
> when this card is installed is that it adds eight words from
> 17772518-17772536 (there's already one at 17772516, so it shows as a
> contiguous nine-word area.) The RQDX1, on the other hand, lives at
> 17772150-17772152. Maybe they share an interrupt and that's why
> they're conflicting, but the mystery card sure isn't where the MXV21
> normally goes. Doesn't look from the manual like that's somewhere it
> *can* go. Any idea what type of device lives at x72518 in the I/O page?

Sorry, Google Groups put this in the wrong thread for some reason.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-18 18:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-16  5:10 Alt modifier keys autorepeating on LK421, Digital Unix 3.2C urbancamo
2012-10-16  7:59 ` urbancamo
2012-10-18 18:52   ` Trying to identify a QBUS board commodorejohn
2012-10-18 18:53     ` commodorejohn

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