delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/07/17:54:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DC5BF6D.8030501@cs.umass.edu>
Date: Sat, 07 May 2011 17:53:49 -0400
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Fwd: Re: Why doesn't ~/inputrc work
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

(Meant to send this to cygwin as well in case it helps anyone else.)

On 5/7/2011 2:24 PM, Andy Koppe wrote:
> On 28 April 2011 13:40, Eliot Moss wrote:

>> Beyond that, I found that I needed to:
>>
>> set convert-meta on
>
> That's not a solution for everyone, because it makes it impossible to
> enter characters beyond 7-bit ASCII. The setting means that input
> bytes with the eighth bit set have that bit cleared and are prefixed
> by an escape character instead.

> To make this work without enabling convert-meta, try using "\eb"
> instead of "\M-B". Here's why: << explanation deleted >>

Thank you, Andy!  Very helpful!

I found that this worked "out of the box" for stand-alone rxvt, but that for
xterm (my more usual terminal since I usually run under X) I had to fiddle
with my .Xdefaults and set XTerm*metaSendsEscape: true and altIsNotMeta: true
(the latter, confusingly (to me anyway) given its name, actually causes the
Alt key on my terminal to be considered as setting the Meta modifier in xterm).
The alt-b (for example) matches "\eb" in .inputrc.

Best wishes -- Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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