This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: can't separate backspace and ^J key functions
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 22 Apr 2005 16:44:47 +0100
- Subject: RE: can't separate backspace and ^J key functions
----Original Message----
>From: airplays55@yahoo.com
>Sent: 22 April 2005 16:04
> In cygwin's bash shell, whenever I use .inputrc to
> assign a function to control-J, then the backspace key
> gets the same function.
>
> For example, as below it gives both keys
> "backward-char" function:
> "\C-H": backward-char
> RUBOUT: backward-delete-char
>
> How can I assign ^J to "backward-char" but have
> backspace key assigned to "backward-delete-char"?
Correct the H to a J in your example above. You assigned backward-char to
ctrl-H, which is indeed the delete key.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/