Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206385 > unrolled thread

why key repeating fails?

Started byLong Wind <longwind2@yahoo.com>
First post2019-03-20 07:40 +0100
Last post2019-03-20 20:20 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  why key repeating fails? Long Wind <longwind2@yahoo.com> - 2019-03-20 07:40 +0100
    Re: why key repeating fails? David Wright <deblis@lionunicorn.co.uk> - 2019-03-20 15:40 +0100
      Re: why key repeating fails? Long Wind <longwind2@yahoo.com> - 2019-03-20 20:20 +0100

#206385 — why key repeating fails?

FromLong Wind <longwind2@yahoo.com>
Date2019-03-20 07:40 +0100
Subjectwhy key repeating fails?
Message-ID<xDD3k-1fO-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

holding down a key is equal to repeatedly pressing a keythis usually work in stretch at firstbut after some time, it mysteriously fails
it can't be solved by logging out and logging again

how to troubleshoot it?? Thanks!

[toc] | [next] | [standalone]


#206395

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2019-03-20 15:40 +0100
Message-ID<xDKxP-5XO-9@gated-at.bofh.it>
In reply to#206385
On Wed 20 Mar 2019 at 06:30:28 (+0000), Long Wind wrote:
> holding down a key is equal to repeatedly pressing a keythis usually work in stretch at firstbut after some time, it mysteriously fails
> it can't be solved by logging out and logging again
> 
> how to troubleshoot it?? Thanks!
For consoles:

setterm --repeat on/off can change whether the keys repeat or not,
and that can differ for each console. It lasts on that console
until you fully logoff from it.

But perhaps something is messing with kbdrate. Logging out and
back in won't affect that unless you set the repetition rate in
your startup files.¹ The values attach to the keyboard, not to
each individual console, whether it's logged in or not.
To find out the current values, you have to set new ones, whereupon
it prints the previous values too. Try that and see if repetition
comes back to life.

X is different:

Try   xset r on   to see if that fixes it. If not, try
xset r rate 200 5   and see if that produces a very slow repeat.
If so, use values to your taste. The values are global to the
server instance AIUI.

¹ I think I recall Cindy talking about keys double-striking when
entering the password. I tested adding a line to root's crontab:
 @reboot /sbin/kbdrate -r 5 -d 500 -s
and found that you can see the slower rate kick in if you hold down
a key at the first login: prompt. (This cures the double-striking.)

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#206405

FromLong Wind <longwind2@yahoo.com>
Date2019-03-20 20:20 +0100
Message-ID<xDOUN-nS-5@gated-at.bofh.it>
In reply to#206395

[Multipart message — attachments visible in raw view] — view raw

Thank David!
but currently key repeating works, i have to wait until it fails 
so that i can test commands you mention
unplugging and plugging keyboard again doesn't seem to help 

    On Wednesday, March 20, 2019 10:33 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
 

 On Wed 20 Mar 2019 at 06:30:28 (+0000), Long Wind wrote:
> holding down a key is equal to repeatedly pressing a keythis usually work in stretch at firstbut after some time, it mysteriously fails
> it can't be solved by logging out and logging again
> 
> how to troubleshoot it?? Thanks!
For consoles:

setterm --repeat on/off can change whether the keys repeat or not,
and that can differ for each console. It lasts on that console
until you fully logoff from it.

But perhaps something is messing with kbdrate. Logging out and
back in won't affect that unless you set the repetition rate in
your startup files.¹ The values attach to the keyboard, not to
each individual console, whether it's logged in or not.
To find out the current values, you have to set new ones, whereupon
it prints the previous values too. Try that and see if repetition
comes back to life.

X is different:

Try  xset r on  to see if that fixes it. If not, try
xset r rate 200 5  and see if that produces a very slow repeat.
If so, use values to your taste. The values are global to the
server instance AIUI.

¹ I think I recall Cindy talking about keys double-striking when
entering the password. I tested adding a line to root's crontab:
 @reboot /sbin/kbdrate -r 5 -d 500 -s
and found that you can see the slower rate kick in if you hold down
a key at the first login: prompt. (This cures the double-striking.)

Cheers,
David.



   

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web