HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
s
softkeys(4) softkeys(4)
string.
EXAMPLES
For a custom cd command (see cd(1)):
softkey cd
editrule { append("cd"); }
{
softkey keysh-src disable all
editrule { append("˜/keysh/src"); }
;
softkey keysh-test disable all
editrule { append("˜/keysh/test"); }
;
softkey keysh-doc disable all
editrule { append("˜/keysh/doc"); }
;
softkey demo disable all
editrule { append("˜/demo"); }
;
softkey tmp disable all
editrule { append("/tmp"); }
;
string <dir> disable all
editrule { append(argument); }
required "Enter the name of the directory to move to."
;
}
For other examples, refer to the file /usr/lib/keysh/C/softkeys
.
AUTHOR
keysh was developed by HP and AT&T.
FILES
$HOME/.softkeys user softkey definitions file
/usr/lib/keysh/$LANG/softkeys
standard softkey definitions file
SEE ALSO
keysh(1), man(5).
440 Hewlett-Packard Company − 5 − HP-UX 11i Version 3: February 2007