delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/08/25/06:35:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BF4CB385841A
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org
Date: Thu, 25 Aug 2022 11:34:45 +0100
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: single key stroke `git add -p` bug
Message-ID: <20220825103445.j67sjtwmea4sfkoy@lucy.dinwoodie.org>
References: <fc4f96c5a3724e69932ffb0120f55a5a AT grupawp DOT pl>
MIME-Version: 1.0
In-Reply-To: <fc4f96c5a3724e69932ffb0120f55a5a@grupawp.pl>
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 27PAZTcm019635

On Thu, Aug 25, 2022 at 01:17:28AM +0200, trashyankes wrote:
> Hello   I update recently all cygwin packages and after that `git add
> -p` stop working correctly.  (previous update I did around 2 month
> ago)  I use mintty on Windows 10 x64, and have set `git config
> --global interactive.singlekey true` when I run this command whole
> terminal freeze and show message from git:  ```  warning: reading
> single keystrokes not supported on this platform; reading line instead
> ```  mintty stop accepting any input even `Ctrl-C`.   I tried to
> revert mintty and git to older version but every one available have
> same behavior.  For now disabling `singlekey` make this git operation
> work again but this is big lose in productivity.

Confirmed.  I'm not sure what's going wrong here: as I understand it,
this function depends on the Term::ReadKey Perl module, provided by the
Cygwin perl-TermReadKey package, but that package is correctly listed as
both a buildtime and runtime dependency for the git package.

I'll add to my queue to do some more debugging, but I'm not expecting to
have time to do any serious investigation here for a while.  Obviously
if anyone else is able to identify the problem, I'm very happy to
consider patches!

Adam
(Cygwin Git maintainer)

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

- Raw text -


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