Subject: Re: Autorepeat doesn't work with Xfree 3.3.6.
To: Kou Sato <k-sato@res.otaru-uc.ac.jp>
From: Brian Stark <bstark@siemens-psc.com>
List: netbsd-help
Date: 11/23/2000 00:29:29
On Thu, 23 Nov 2000, Kou Sato wrote:

>
>    Thanks for your reply.   It's good to know it works.
> But my problem may be different.  The following is the
> output of "xset q".
>
> -----------------------------------------------------------------
> Keyboard Control:
>   auto repeat:  on    key click percent:  0    LED mask:  00000000
>   auto repeat delay:  500    repeat rate:  30
>   auto repeating keys:  0000000000000000
>                         0000000000000000
>                         0000000000000000
>                         0000000000000000

Strange... The mask shown for the auto repeating keys is all 0s. Here is
what this looks like on my system:

callisto:bstark$ xset q | head  -7
Keyboard Control:
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  500    repeat rate:  5
  auto repeating keys:  00ffffffdffffbbf
                        fa9fffffffdfe5ff
                        7f00000000000000
                        0000000000000000
callisto:bstark$

I wonder what is setting your values. In my $HOME/.xinitrc file I have the
following xset commands:

  # Turn off click, adjust beep.
  xset c off
  xset b 25 4000 75
  # Display Power Management System (DPMS)
  # standby delay = 600 seconds (10 minutes)
  # suspend delay = 900 seconds (15 minutes)
  # off delay     = 1200 seconds (20 minutes)
  xset dpms 600 0 0
  if [ -x $XWINHOME/bin/xscreensaver ]; then
    $XWINHOME/bin/xscreensaver &
  else
    # Set a 5 minute screen saver.
    xset s 300
    xset s blank
  fi

It doesn't look like I am doing anything to affect the keyboard autorepeat
rate, which makes me wonder what you might have in oyur configuration
files...

Brian

-------------------------------------------------------------------------
| Brian Stark  Siemens Power Transmission & Distribution, Inc.          |
|              Energy Management and Information Systems Division       |
|              7225 Northland Drive, Brooklyn Park, Minnesota 55428 USA |
| email: bstark@siemens-psc.com +1 763 536-4697 fax: +1 763 536-4919    |
-------------------------------------------------------------------------