delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/27/04:27:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB5C1386F032
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1603787182;
bh=+c0OOiv1nskiLWbbx5mJsjRdKCHK+izAMwJ0yYyNmzs=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=yjlAaAwcP2c36pQiSllotBtiYDYkKW8Z5IfDfHSyxG5YQRcDVWLQA3a//KwFTGoS+
Ne2Z4Yu9BLYpA4Wsed8aUxFB3gwJjOwzD2BQtqnzQzIQDR/7T9bPdywJQ4rIy/JxRL
vyiDOfiJEOEVvdoJGXzOXAUCySIx2Qg3yoOhLlmM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B77FA3858D37
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 09R8PpLE015261
X-Nifty-SrcIP: [124.155.38.192]
Date: Tue, 27 Oct 2020 17:25:52 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Interaction with non-cygwin programs
Message-Id: <20201027172552.dc7ef4723b6d003f6a8fb030@nifty.ne.jp>
In-Reply-To: <7130b665-2bcd-5e15-d8ff-a377dd1534c3@gmail.com>
References: <a1eba14f-2922-6027-e044-7c205ed5631f AT gmail DOT com>
<20201025191248 DOT 9611bf9aac2c7c9c330b3429 AT nifty DOT ne DOT jp>
<ddbe45c9-6e4c-3f73-ee37-72e01846c2b0 AT gmail DOT com>
<20201026175837 DOT da083ec16f85a6ca3f62e4a9 AT nifty DOT ne DOT jp>
<7130b665-2bcd-5e15-d8ff-a377dd1534c3 AT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Mon, 26 Oct 2020 10:56:14 +0100
Federico Kircheis wrote:
> On 26/10/2020 09.58, Takashi Yano wrote:
> > On Mon, 26 Oct 2020 07:05:30 +0100
> > Federico Kircheis wrote:
> >> On 25/10/2020 11.12, Takashi Yano wrote:
> >>> On Sat, 24 Oct 2020 17:04:59 +0200
> >>> Federico Kircheis via Cygwin <cygwin AT cygwin DOT com> wrote:
> >>>> I've lately updated Windows to the latest version, and cygwin too (I had
> >>>> something previous to 3.0).
> >>>>
> >>>> I've read that interaction with non-cygwin programs should be better
> >>>> because of the console-helper.
> >>>>
> >>>>
> >>>> But in my daily usage the integration is worse, programs like tmux or
> >>>> even less seems to have more issues than before.
> >>>>
> >>>>
> >>>> For example
> >>>>
> >>>>      /cygdrive/c/Program\ Files/TortoiseSVN/bin/svn log | less
> >>>>
> >>>> used to work correctly.
> >>>> Currently if I press arrow down or up less does not scroll up or down
> >>>> anymore and "ESC[" appears briefly at the top-left of the console.
> >>>>
> >>>> Of course i could install subversion inside cygwin, as
> >>>>
> >>>> svn log | less
> >>>>
> >>>> works without issues, but it's just an example.
> >>>> git, adb, and other programs trigger the same behavior.
> >>>>
> >>>>
> >>>> Also less is not the only program, tmux for example has similar issues.
> >>>>
> >>>> I believe the underlying issue is console-helper but I'm not sure how I
> >>>> could test it, as I did, for example, not find how I could disable it,
> >>>> or if the issue is already known.
> >>>>
> >>>> I'm able to reproduce the issue on a clean machine, so it should not be
> >>>> a configuration issue on my side.
> >>>
> >>> Could you please try cygwin latest snapshot?
> >>> https://cygwin.com/snapshots/
> >>>
> >>
> >> Thank you, tried and it seems to work.
> >>
> >> I could notice only one minor issue: when making changing the terminal
> >> size with "Win+arrow" with
> >>
> >> /cygdrive/c/Program\ Files/TortoiseSVN/bin/svn log | less
> >>
> >> less does not seem to acknowledge the new terminal size, while
> >>
> >> svn log | less
> >>
> >> does.
> >> If using the mouse and resizing the terminal by hand, both commands seem
> >> to behave the same.
> > 
> > Thanks for the report. However, I cannot reproduce that.
> > 
> > 1) What windows version are you using? (such as Win10 1909)
> > 2) What less version are you using? (which less, and cygcheck -c less)
> > 
> 
> Microsoft Windows Version 1909 (OS Build 18363.1171)
> 
> "which less" reports /usr/bin/less
> 
> "cygcheck -c less" gives me version 551-1
> 
> I just noticed that the behavior I described is not always reproducible.
> 
> Sometimes resizing with "Win+arrow" works correctly, other times it does 
> not.
> 
> I restarted every time the program
> 
> /cygdrive/c/Program\ Files/TortoiseSVN/bin/svn log | less
> 
> to test the behavior.
> 
> See attached video, the first time it worked correctly, the second, 
> without AFAIK any change, not.

Thank you for the information. I could reproduce the problem.
Moreover, I found the cause and fixed that.

I will submit a patch for this issue shortly.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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