delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/01/12:34:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: FW: Updated: rxvt-2.7.2-8
Date: Fri, 1 Feb 2002 12:33:14 -0500
Message-ID: <6EB31774D39507408D04392F40A10B2BC1FF0C@FDYEXC202.mgroupnet.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: FW: Updated: rxvt-2.7.2-8
Thread-Index: AcGrRoakEjO7TI6vSZWBfJjUSZM4kA==
From: "Roth, Kevin P." <KPRoth AT MarathonOil DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 01 Feb 2002 17:33:14.0941 (UTC) FILETIME=[87517ED0:01C1AB46]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g11HY2A11949

1st - thanks for the very specific instruction. I would probably have
never figured that out on my own, unless it's already in an FAQ
somewhere. I did look in the Cygwin FAQ and didn't see it. (Any chance
this could be added to the FAQ?). 

2nd - is there any handy little tool out there that would have helped me
figure out that my PC's "DELETE" key sends the "sequence?" of meta-[3~?

3rd - I guess my real question was this - if cygwin is *always* used on
a windows PC, shouldn't the version of readline that's distributed with
cygwin be able to handle the delete key the same way that other
windows/cmd.exe apps do, out of the box, with no requirement for a user
to find this setting and add it to ~/.inputrc?

4th - Thanks for the detailed notes. I appreciate the comments.


Personal rant - This is probably the biggest reason I get along a bit
better in windows than Unix - how do I ever figure out that ESC,[,3,~ is
what happens when I hit my "delete" key, then how do I find which file
to put the rebinding in, then how do I figure out that ESC maps to \M-,
then what is the name of the command to bind to (delete-char in this
case), and on and on.  

If you throw in the ability to telnet to a unix host from multiple
environments (mac, pc, dumb tube) with different keyboard layouts, and
you throw in multiple Unix(-like) host environments
(Irix,Unix,Linux,Cygwin) it's enough to drive a person mad, especially
one like me that doesn't remember details like these very easily.
Figuring out any issue of this nature involves reading several different
programs' man pages (assuming I can guess which one), and possibly
learning hardware details too. 

Thanks,
--Kevin



-----Original Message-----
From: Randall R Schulz [mailto:rrschulz AT cris DOT com]
Sent: Thursday, January 31, 2002 6:00 PM

Kevin,

...

Now that we do have readline-enabled "command line" applications, BASH
or 
other shells being the most salient in this context, a line like this in

your .inputrc will achieve the results you desire:

"\M-[3~":       delete-char

(Note: that corresponds to ESC, [, 3, ~ coming from the keyboard")


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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