chhwkbd Command

Purpose

Changes keyboard attributes stored in the Object Data Manager (ODM) database.

Syntax

chhwkbd [  -d Delay ] [  -r Repetition ] [  -c ClickerVolume ] [  -a AlarmVolume ] [  -m [ "KR" | "JP" | "TW"  ] ] [  -t [ "nonum" ] ]

Description

The chhwkbd command changes the following keyboard attributes stored in the ODM database:

  • Repetition delay
  • Repetition rate
  • Clicker volume
  • Alarm volume
  • Korean, Japanese, and Chinese keyboard identification
  • Numeric pad emulation enable/disable

Changes to the keyboard attributes take effect after system restart.

You could also use the System Management Interface Tool (SMIT) smit chgkbd fast path to run this command.

Flags

Item Description
-a AlarmVolume Sets the alarm volume to the specified value. Values for the AlarmVolume variable are defined below:
0
off
1
low
2
medium
3
high
-c ClickerVolume Sets the clicker volume to the specified value. Values for the ClickerVolume variable are defined below:
0
off
1
low
2
medium
3
high
-d Delay Sets the keyboard repetition delay to the specified value. The Delay variable can be 250, 500, 750, or 1000 msec. The default value is 500 msec.
-m [ "KR" | "JP" | "TW"  ] Provides extended keyboard identification for the following keyboards:
"KR"
Korean keyboard
"JP"
Japanese keyboard
"TW"
Chinese keyboard

Use the -m flag without specifying a value to remove extended keyboard identification.

Note: This flag is valid only when an IBM® RS/6000® 106-key keyboard or an IBM PS/2 keyboard or equivalent keyboard is attached to the workstation.

The -m flag is set automatically when the locale is selected using SMIT.

-r Repetition Sets the rate of repetition to the specified value. The Repetition variable can be an integer from 2 to 30 inclusive. The default value is 11 characters per second.
-t ["nonum"] Enables or disables numeric pad emulation. To enable numeric pad emultaion, specify the "nonum" parameter. Use the -t flag without specifying a value to disable numeric pad emulation.
Notes:
  1. This flag is valid only when an IBM PS/2 keyboard or equivalent keyboard is attached to the workstation.
  2. "nonum" means no numeric keypad.

Examples

  1. To change the keyboard repetition delay rate to 250 msec, enter:
    chhwkbd  -d 250
  2. To change the keyboard repetition rate to 30 characters per second, enter:
    chhwkbd  -r 30

File

Item Description
/usr/bin/chhwkbd Contains the chhwkbd command.