Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
k
keysh(1) keysh(1)
EXAMPLES
To add the od (see od(1)) softkey to the end of the top-level softkey menu and label it Octal_dump,
kc softkey add od with_label Octal_dump
To add the paste(1) softkey to the beginning of the top-level softkey menu and label it Paste,
kc softkey add paste and_place as_first_softkey
To add the custom emacs softkey from the file ˜rpt/.softkeys to the top-level softkey menu immedi-
ately before the ls (see ls(1)) softkey,
kc softkey add emacs from_user rpt and_place before_softkey ls
To add all invisible softkeys from the file ˜rpt/.softkeys,
kc softkey add invisibles from_user rpt
To add the backup softkeys from the file $HOME/.softkeys,
kc softkey add backups
To delete the Edit_file softkey from the top-level softkey menu,
kc softkey delete Edit_file
To disable the --Help-- softkey,
kc options help off
To configure the user name into the status-line,
kc status_line user_name on
To configure the exit-value of the last command executed into the status-line,
KEYSH="\${?#0}"
To list the ten largest files in the current directory,
ls long_format | Sort_lines numerically reverse_order \
starting_at_field 5 | head
STANDARD SOFTKEY DEFINITIONS
Copy_files, Move_files, Print_files, Set_file_attribs
, Switch.
adjust, ar, bdf, cal, cancel, cat, cd, cdb, chatr
, chgrp, chmod, chown, cmp, col, comm,
cpio, cut, dd, df, diff, dircmp, disable, du, elm,
enable, exit, find, fold, grep, head,
jobs, kill, lp, lpstat, ls, mailx, make, man, mkdir,
more, nm, nroff, od, paste, pg, pr,
ps, remsh, rlogin, rm, rmdir, sdiff, set, shar, sort,
tail, tar, tee, touch, tr, umask,
uname, vi, wc, who, write, xd, xdb.
ENVIRONMENT VARIABLES
TERM Specifies the terminal type, as defined in the terminfo(4) database. This variable must be
either part of keysh’s invocation environment or it must be set within one of the standard
Korn-shell start-up files.
COLUMNS Specifies the number of columns in the terminal screen if different than the terminfo(4)
default.
LINES Specifies the number of lines in the terminal screen if not the same as the terminfo(4)
default.
PAGER Specifies the preferred pager to be used to display help. The default is more (see
more(1)).
TZ Specifies the time-zone to be used for time and date representations on the status-line. The
default is en_US.roman8.
KEYBEL Specifies the character sequence sent to the terminal by keysh to ring the bell. The
default is ˆG.
KEYENV Specifies an alternate keysh configuration file. The default is $HOME/.keyshrc
.
KEYESC Specifies the maximum allowable delay between characters (in milliseconds) if they are to
be treated as part of a terminal escape sequence. The default is 350 ms.
HP-UX Release 11i: December 2000 − 5 − Section 1−−387
___
___