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 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 Subject: Fwd: Re: Why doesn't ~/inputrc work Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 (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