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 suf®cient 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 con®gured 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, or You have new mail).

date

The date.

time

The time of day.

In addition, the $KEYSH environment variable, if set, is always displayed ®rst in the status-line.

Restarting Keysh

keysh can be forced to reread the $HOME/.keyshrc ®le with the kc restart command. This command is typically used to update a keysh to a new con®guration speci®ed in another window.

keysh can also be forced to remove the $HOME/.keyshrc ®le and restart from the default user con®guration with the kc restart default command.

Writing Con®guration Changes

keysh can be forced to rewrite the $HOME/.keyshrc ®le with the kc write command.

Undoing Other Con®guration Changes

keysh can also be forced to rewrite the $HOME/.keyshrc ®le with its original contents, thus undoing all con®guration 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-UXcommand 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 signi®cantly by editing the $HOME/.keyshrc ®le and removing the lines which add visible softkeys.)

For users who

are also familiar with the HP-UXcommand 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 recognizes the cursor movement and editing keys.

Section 1386

− 4 −

HP-UX Release 11i: December 2000