Subject: Re: bind in bash
From: [email-masked] ("Wei Ku")

10 May 1997 20:07:10 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_01BC5D86.E7144F40"
X-Mailer: Microsoft Outlook Express 4.71.0544.0
Original-To: <[email-masked]>, "Chuck Bogorad" <[email-masked]>
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0
Original-Sender: [email-masked]

This is a multi-part message in MIME format.

------=_NextPart_000_01BC5D86.E7144F40
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

----

From: Chuck Bogorad <[email-masked]>

[email-masked] 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
[email-masked]
---------------------------------------
Solid State Division
Oak Ridge National Laboratory
P.O.Box 2008
Oak Ridge, TN 37831-6032
Phone: (423) 574-5795
Fax: (423) 574-4143
[email-masked]
***************************************

------=_NextPart_000_01BC5D86.E7144F40
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<HTML><META content=3D'"Trident 4.71.0544.0"' name=3DGENERATOR>

</HEAD>
<BODY>
<P><FONT face=3DArial size=3D2><FONT size=3D2>----<BR>
<BR>
<B>From: </B>Chuck Bogorad &lt;[email-masked]&gt;<BR>
</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2><FONT size=3D2><A=20
href=3D"mailto:[email-masked]">[email-masked].=
uk</A>=20
wrote:<BR>
<BR>
here's how it's done:<BR>
<BR>
# home key<BR>
<BR>
bind '&quot;\e[1~&quot;:beginning-of-line'<BR>
<BR>
# del key<BR>
<BR>
bind '&quot;\e[3~&quot;:delete-char'<BR>
<BR>
# end key<BR>
<BR>
bind '&quot;\e[4~&quot;:end-of-line'<BR>
<BR>
# pgup key<BR>
<BR>
bind '&quot;\e[5~&quot;:history-search-forward'<BR>
<BR>
# pgdn key<BR>
<BR>
bind '&quot;\e[6~&quot;:history-search-backward'<BR>
<BR>
Hello:</FONT></FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2><FONT size=3D2>I tried to =
bind key as=20
described above. The home , end, and delete keys work fine. However, =
pageup and=20
pagedown keys do not work.</FONT></FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2><FONT size=3D2>Any reply =
is=20
appreciated.<BR>
</FONT></FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2>Sincerely,<BR>
Wei Ku<BR>
<BR>
***************************************<BR>
Department of Physics and Astronomy<BR>
The University of Tennessee<BR>
1408 Circle Drive<BR>
Knoxville, Tennessee 37996-1200<BR>
<A =
href=3D"mailto:[email-masked]">[email-masked]</A><BR>=

---------------------------------------<BR>
Solid State Division<BR>
Oak Ridge National Laboratory<BR>
P.O.Box 2008<BR>
Oak Ridge, TN 37831-6032<BR>
Phone: (423) 574-5795<BR>
Fax: (423) 574-4143<BR>
<A =
href=3D"mailto:[email-masked]">[email-masked]</A><BR>=

***************************************<BR>
</FONT></FONT></P>

</BODY></HTML>

------=_NextPart_000_01BC5D86.E7144F40--

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".