delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/16/08:35:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=TdWh8G2LnlWl8c8r
JzaraWyyNTewxS+Sv0QYvUyDkjGZblvwGk/vJQ+Mg4oeKhxggh1wDieQsgtmhjb+
eiiAho7VtNNwCetQbdb69TTl7P6IL8rV80SxXR9/wuoHkTCtRiMFS9vzZh1AZNFj
vI4C3R3v2G1V2oCOOF/dp9Wz3fk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bwgtHcl2kU0bEmIiqlWxPI
pFoyE=; b=jZQEinowmSOm7KiXRjC+q+J0sDgF/S5J10w0Anq5j0d8N2R9dRMbJt
hhZABKRfOX1Oqubr6Ic9fitTSBaPhBHFMR4J95lm17JZbcMVnUX/QSqgypRfT7Dj
SkNQJHfSlbeE7kXEBLURu0VPqFpEbaDGnvVTwvLx17v4peUabN7Yc=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=genuinely, render, navigate, typed
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Running texconfig breaks backspace in Bash/MinTTY
To: cygwin AT cygwin DOT com
References: <20160316114546 DOT GO29016 AT dinwoodie DOT org>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <56E952E5.2000205@cornell.edu>
Date: Wed, 16 Mar 2016 08:34:45 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <20160316114546.GO29016@dinwoodie.org>
X-IsSubscribed: yes

On 3/16/2016 7:45 AM, Adam Dinwoodie wrote:
> Here's an interesting bug: normally in a Bash session in MinTTY,
> backspace and Ctrl+H both delete the previous character, as expected.
> However, after running texconfig and returning to the shell, both the
> backspace key and Ctrl+H appear to just print "^H" to the terminal.
>
> It looks like this is genuinely the terminal trying to render a
> backspace character, rather than just backspacing, given the following:
>
>      $ printf ^H | xxd
>      00000000: 08                                       .
>
> (To get that, I typed "printf {backspace} | xxd".)
>
> It's not clear to me whether this is Bash, MinTTY or texconfig that's
> misbehaving.  Ctrl+W to delete a word, Ctrl+R to get (for me) fzf's
> history search, and using the up and down arrows to navigate history all
> work.  Running Vim, opening a new Bash shell from within the duff one,
> or SSHing to another box has Ctrl+H working just fine within that
> process, but the bugged behaviour resumes when I return to the original
> Bash shell.

I can't reproduce this on my system.  I tried 'texconfig --help' and 
'texconfig conf'.  What's the precise texconfig command that you used?

Could this have something to do with fzf?

Ken


--
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