bind in bash

Wei Ku weiku@UTKUX1.UTK.EDU
Sat May 10 18:13:00 GMT 1997


----

From: Chuck Bogorad <chuck@hysteria.spb.ru>


Aris.Zakinthinos@cl.cam.ac.uk 
wrote:

here's how it's done:

# home key

bind '"\e[1~":beginning-of-line'

# del key

bind '"\e[3~":delete-char'

# end key

bind '"\e[4~":end-of-line'

# pgup key

bind '"\e[5~":history-search-forward'

# pgdn key

bind '"\e[6~":history-search-backward'

Hello:

I tried to bind key as 
described above. The home , end, and delete keys work fine. However, pageup and 
pagedown keys do not work.

Any reply is 
appreciated.


Sincerely,
Wei Ku

***************************************
Department of Physics and Astronomy
The University of Tennessee
1408 Circle Drive
Knoxville, Tennessee 37996-1200
weiku@utkux.utcc.utk.edu
---------------------------------------
Solid State Division
Oak Ridge National Laboratory
P.O.Box 2008
Oak Ridge, TN 37831-6032
Phone: (423) 574-5795
Fax: (423) 574-4143
weiku@solid.ssd.ornl.gov
***************************************






More information about the Cygwin mailing list