keysh.1 (2010 09)
k
keysh(1) keysh(1)
keysh normally maintains the $HOME/.keyshrc
file without user intervention; however, start-up
errors may occasionally occur and persist. In this case, either execute the command
kc restart
default (to remove the file and revert to the default user configuration) or execute the command
kc
write (to rewrite the file with the current configuration).
keysh assumes that HP-UX commands are not heavily aliased; otherwise unexpected command transla-
tions may occur.
keysh neglects the effects of the Korn-shell expansion mechanisms when counting command-line param-
eters, causing it to occasionally underestimate the true number of parameters specified. The <ESC>
*
emacs-mode or vi-mode editing command can often be used to pre-expand these parameters.
The <ESC>
v emacs-mode editing command and v
vi-mode editing command cannot be used to edit (pre-
translated) softkey commands, since no subsequent command translation can occur.
Adding a large number of softkeys can cause
keysh to overflow a 1-Mbyte Korn-shell data size limita-
tion, causing disconcerting behavior.
keysh can only program the function keys on terminals whose terminfo (4) entry defines the
pfkey
capability; similarly, it can only use hardware softkey labels on terminals whose terminfo (4) entry defines
the
pln capability (along with specifying lh equal to 2).
The default value for
$KEYESC was chosen to provide reasonable response in both local and networked
environments. If keysh misinterprets quickly typed emacs-mode or vi-mode editing commands as termi-
nal escape sequences, it may be necessary to decrease this value.
Specifying a
\n (new-line) in the literal key sequence for a backup softkey causes undesired results on
HP terminals; use a \r (carriage-return) instead.
keysh does not display tsm softkeys when simulating softkey labels.
A limited number of environment variables and arguments are exported to the pager when displaying
help.
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which softkeys and messages are displayed.
LC_TIME determines the format and contents of date and time strings in the status-line.
International Code Set Support
Single-byte character code sets are supported.
AUTHOR
keysh was developed by HP and AT&T.
FILES
/usr/bin/keysh main executable
/usr/lib/keysh/builtins Keysh_config softkey definition file
/usr/lib/keysh/$LANG/softkeys standard softkey definitions file
/usr/lib/keysh/$LANG/keyshrc default user configuration file
/usr/lib/nls/$LANG/keysh.cat message catalog
$HOME/.keyshrc user configuration file
$HOME/.softkeys user softkey definitions file
SEE ALSO
ksh(1), tsm(1), softkeys(4), terminfo(4).
HP-UX 11i Version 3: September 2010 − 7 − Hewlett-Packard Company 7