This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bind in bash


----

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
***************************************


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]