Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: can't separate backspace and ^J key functions Date: Fri, 22 Apr 2005 16:44:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20050422150428.31800.qmail@web53604.mail.yahoo.com> Message-ID: 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/