delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/10/24/15:36:12

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.3.2 sourceware.org 91B0A3857836
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca
X-Authority-Analysis: v=2.4 cv=P9aEOgMu c=1 sm=1 tr=0 ts=5f9481fc
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10
Subject: Re: Interaction with non-cygwin programs
To: cygwin AT cygwin DOT com
References: <a1eba14f-2922-6027-e044-7c205ed5631f AT gmail DOT com>
<63caec69-b722-e7ff-f7ce-6febee5a5fb3 AT SystematicSw DOT ab DOT ca>
<1e0b9dc9-e540-8c57-eaae-f398cafe4fcc AT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Autocrypt: addr=Brian DOT Inglis AT SystematicSw DOT ab DOT ca; prefer-encrypt=mutual;
keydata=
mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5
RSyTY8X+AQ==
Organization: Systematic Software
Message-ID: <ea3550ce-1fe6-bcab-22eb-61da695d2966@SystematicSw.ab.ca>
Date: Sat, 24 Oct 2020 13:35:23 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <1e0b9dc9-e540-8c57-eaae-f398cafe4fcc@gmail.com>
X-CMAE-Envelope: MS4xfIHzqUY/JS+3R3xHoM7JjfQ2dUAbaH9DSiro2a/J2SCKFjibIc+Kl6XEn6MSzLNnUfzHRuWAmO2z+4+KXkNFIvWTOoQj9RzWRoTvSfFNmBQyYR8HiFLY
MDSoJvfVm0uDDRi8cUkWhRL5U6/6KA8XBSNTCBm4wcIT2W3lFiGD4LS+UmQE/aODjD8tIpkg0UYbg+NzJEDbgcfjdRNM3jr1oMw=
X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,
SPF_NONE, 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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 09OJZrHw030238

On 2020-10-24 13:11, Federico Kircheis via Cygwin wrote:
> On 10/24/20 8:10 PM, Brian Inglis wrote:
>> On 2020-10-24 09:04, Federico Kircheis via Cygwin 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.
>>
>> I think setting CYGWIN=disable_pcon in your user or system environment should
>> disable it: search for that setting for more information.
>>
> 
> Thank you, setting CYGWIN to disable_pcon as environment variable did the trick
> with, I'll observe in the next days if all my issues are really gone.
> 
> Unfortunately it seems that it is only possible to set this variable globally,
> correct?
> 
> It is not possible, for example, to set it from bash only for some processes.
> 
> AFAIK I cannot have both
> 
> /cygdrive/c/Program\ Files/TortoiseSVN/bin/svn log | less
> 
> and
> 
> /cygdrive/c/Program\ Files/Python/Python39/python
> 
> working correctly, as the first works with CYGWIN=disable_pcon and the second not.

I doubt it, but you could try if it could work using e.g.

$ alias wpython='CYGWIN="" /cygdrive/c/Program\ Files/Python/Python39/python'
$ wpython ...

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
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