Actions
Feature #10884
closedkbd: add option to limit autorepeat count, convert manual
Start date:
2019-04-29
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Add -A count for kbd command, ioctl, smf and manual updates.
If count is -1, the autorepeat is infinite (default). Nuke reterences to /etc/default/kbd from manual, kbd is using SMF properties.
Testing done:
# Set limit to 20, verify console input root@test:/usr/bin# kbd -A 20 root@test:/usr/bin# kbd -l type=6 layout=274 (0x112) delay(ms)=500 rate(ms)=40 count=20 # restore defaults from SMF root@test:/usr/bin# kbd -i root@test:/usr/bin# kbd -l type=6 layout=274 (0x112) delay(ms)=500 rate(ms)=40 count=unlimited root@test:/usr/bin#
Related issues
Updated by Toomas Soome over 3 years ago
- Related to Bug #10551: kbtrans: autorepeat should have limit on repeat count added
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit c0423dd8ef7079a845a1aa3ceb20e565e815f97b
commit c0423dd8ef7079a845a1aa3ceb20e565e815f97b Author: Toomas Soome <tsoome@me.com> Date: 2019-05-16T19:36:52.000Z 10884 kbd: add option to limit autorepeat count, convert manual Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions