From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) by sourceware.org (Postfix) with ESMTPS id 91B0A3857836 for ; Sat, 24 Oct 2020 19:35:25 +0000 (GMT) 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.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id WPJzksmPWRAWfWPK0kGo2C; Sat, 24 Oct 2020 13:35:24 -0600 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 Reply-To: cygwin@cygwin.com Subject: Re: Interaction with non-cygwin programs To: cygwin@cygwin.com References: <63caec69-b722-e7ff-f7ce-6febee5a5fb3@SystematicSw.ab.ca> <1e0b9dc9-e540-8c57-eaae-f398cafe4fcc@gmail.com> From: Brian Inglis Autocrypt: addr=Brian.Inglis@SystematicSw.ab.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: 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> Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2020 19:35:26 -0000 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.]