delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/10/20:07:10

From: weiku AT UTKUX1 DOT UTK DOT EDU ("Wei Ku")
Subject: Re: bind in bash
10 May 1997 20:07:10 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705110113.VAA42677.cygnus.gnu-win32@solid.ssd.ornl.gov>
Mime-Version: 1.0
X-Mailer: Microsoft Outlook Express 4.71.0544.0
Original-To: <gnu-win32 AT cygnus DOT com>, "Chuck Bogorad" <chuck AT hysteria DOT spb DOT ru>
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE Engine V4.71.0544.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 <chuck AT hysteria DOT spb DOT ru>

Aris DOT Zakinthinos AT cl DOT cam DOT ac DOT 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 AT utkux DOT utcc DOT utk DOT 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 AT solid DOT ssd DOT ornl DOT gov
***************************************



------=_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;chuck AT hysteria DOT spb DOT ru&gt;<BR>
</FONT></FONT>

<P><FONT face=3DArial size=3D2><FONT size=3D2><FONT size=3D2><A=20
href=3D"mailto:Aris DOT Zakinthinos AT cl DOT cam DOT ac DOT uk">Aris DOT Zakinthinos AT cl DOT cam DOT ac.=
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:weiku AT utkux DOT utcc DOT utk DOT edu">weiku AT utkux DOT utcc DOT utk DOT edu</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:weiku AT solid DOT ssd DOT ornl DOT gov">weiku AT solid DOT ssd DOT ornl DOT gov</A><BR>=

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

</BODY></HTML>

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

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019