delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/22/11:46:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: can't separate backspace and ^J key functions
Date: Fri, 22 Apr 2005 16:44:47 +0100
MIME-Version: 1.0
In-Reply-To: <20050422150428.31800.qmail@web53604.mail.yahoo.com>
Message-ID: <SERRANOldR6VJJnVtJX000000e1@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 22 Apr 2005 15:45:07.0853 (UTC) FILETIME=[42806BD0:01C54752]

----Original Message----
>From: airplays55 AT yahoo DOT 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/

- Raw text -


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