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

Ben Dougherty benjamind at miles33.co.uk
Thu Aug 3 04:27:53 CDT 2000


Is it posible to do the same thing for csh?

Ben
Karl Rossing wrote:
> 
> 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
> 
>   --------------------------------------------------------------------------------
>                           Name: karl.rossing.vcf
>    karl.rossing.vcf       Type: VCard (text/x-vcard)
>                       Encoding: 7bit
>                    Description: Card for Karl Rossing






More information about the SunHELP mailing list