Project

General

Profile

Feature #10884

kbd: add option to limit autorepeat count, convert manual

Added by Toomas Soome 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2019-04-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

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

Related to illumos gate - Bug #10551: kbtrans: autorepeat should have limit on repeat countClosed2019-03-13

Actions

History

#1

Updated by Toomas Soome 6 months ago

  • Related to Bug #10551: kbtrans: autorepeat should have limit on repeat count added
#2

Updated by Electric Monk 5 months 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>

Also available in: Atom PDF