[Sunhelp] KSH: binding the page up, page down and tab keys

Karl Rossing karl.rossing at federated.ca
Fri Jul 28 09:35:21 CDT 2000


This is a multi-part message in MIME format.
--------------9074090DAE79666A3FC6A051
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

So far i have been able to bind the arrow keys by adding the following
in my kshrc

set -o emacs
alias __A=`echo "\020"`    # up arrow == ^p == back a command
alias __B=`echo "\016"`    # dn arrow == ^n == down a command
alias __C=`echo "\006"`    # rt arrow == ^f == forward a character
alias __D=`echo "\002"`    # lft arrow == ^b == back a character

I would also like to bind the following keys:
page up == page up in less/xterm
page down == page down in less/xterm
tab == allow me to auto complete a command line path(much like bash)

I'm running solaris 8 with KSH 88. I don't really want to update KSH or
use PDKSH.

Karl
--------------9074090DAE79666A3FC6A051
Content-Type: text/x-vcard; charset=us-ascii;
 name="karl.rossing.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Karl Rossing
Content-Disposition: attachment;
 filename="karl.rossing.vcf"

begin:vcard 
n:Rossing;Karl
tel;work:204-786-6431 Ext 358
x-mozilla-html:TRUE
url:http://www.federated.ca
org:Federated Insurance Companies of Canada
adr:;;717 Portage Ave;Winnipeg;Mb;R3C 3C9;Canada
version:2.1
email;internet:karl.rossing at federated.ca
title:Technical Services
fn:Karl Rossing
end:vcard

--------------9074090DAE79666A3FC6A051--






More information about the SunHELP mailing list