HP-UX Reference (11i v2 04/09) - 1 User Commands A-M (vol 1)

k
keysh(1) keysh(1)
selectors Enable or disable the use of keyboard selectors. When enabled,
keysh displays an
upper-case selector character in each softkey label. Typing the unquoted (upper-
case) character selects the softkey just as if its corresponding function key had been
pressed. Quoting the selector character in any way restores its traditional meaning.
Selector keys are intended to be used on terminals that do not support a sufficient
number of softkeys.
translations
Enable or disable the display of HP-UX command translations.
visibles Enable or disable the presentation and recognition of visible softkey commands.
Selecting Status-Line Items
Various information items can be configured into the status-line displayed at the bottom of the screen
using the
kc status_line command, including:
host_name The host name.
user_name The user name.
current_dir
The current directory.
mail_status
The mail status based on the $MAIL environment variable (i.e., No mail, You
have mail,orYou have new mail).
date The date.
time The time of day.
In addition, the
$KEYSH environment variable, if set, is always displayed first in the status-line.
Restarting Keysh
keysh can be forced to reread the $HOME/.keyshrc
file with the kc restart command. This com-
mand is typically used to update a
keysh to a new configuration specified in another window.
keysh can also be forced to remove the $HOME/.keyshrc
file and restart from the default user
configuration with the
kc restart default command.
Writing Configuration Changes
keysh can be forced to rewrite the $HOME/.keyshrc
file with the kc write command.
Undoing Other Configuration Changes
keysh can also be forced to rewrite the $HOME/.keyshrc
file with its original contents, thus undoing
all configuration changes made since
keysh was invoked, using the kc undo command.
Scaling Keysh Functionalities
keysh provides a scalable set of functionalities which can be tailored to suit personal preferences.
For users who are familiar with the
HP-UX command names (though not necessarily with the command
options) or for users who prefer to usually have the tsm softkeys visible, the command kc options
visibles off prevents keysh from displaying its top-level softkey menu while waiting for a com-
mand; instead, it displays the backup softkeys or tsm softkeys, as appropriate. (keysh start-up time
can then be decreased significantly by editing the $HOME/.keyshrc file and removing the lines which
add visible softkeys.)
For users who are also familiar with the
HP-UX command options, the command kc options
invisibles off prevents keysh from displaying softkey menus for invisible softkey commands,
also.
And for users who have no need for the backup softkeys, the command
kc options backups off
prevents keysh from ever programming the backup softkeys.
Note that if
visibles, invisibles, and backups are all turned off, keysh performs no softkey
processing at all. keysh effectively transforms into a Korn-shell which displays a status-line and recog-
nizes the cursor movement and editing keys.
HP-UX 11i Version 2: September 2004 − 4 − Hewlett-Packard Company Section 1−−411