X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD02F384A87E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1603571159; bh=nvKNedPmUl0zHdN7eHaf4qgHH9yREZBqR2hYWubUPz8=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=UhJ/7zfwO8Cx4oVf8neKsxoWBKLsfJctceX/At34nMbIgBWvIaUFkN3FX8PGFqkM5 2Fpea5Dn9nSiTVTvYrh3zPVJ2ixfAyiWu1VjNBf5gxFhoRmaXtNOYYx9Ff0bYacXln vZ3T56zSK9+rz4ynb+RxwBBdq0NqV68St5ipX2x0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B76593857C77 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=9jLA7tCb8dD9aNO7g10XZZH79E8BLA8KbfgSdKraXVE=; b=CS2rQ8mEidnEZC20mGmKONd2KUpGt3k/0aiuXvEg2OQ5ZemdtN72RobMwTt4Qgg+uf Tb91VoGOgDzcxY1uT7tNPJBTNjS+PqtMJ3wM3s5Wbikg9qtxRmyFbMq2Y1Wpygcw9I2x KBZeaLhZM2otkw7J2bQLegYLwx38yJYpnzjkAdmc8UwmeL/d9paj2vITNQT6Eyv8DHuG yuDyjJwbxs9MF+IVHjUdSwWqduxzzZYcf6RXtkuKPMvtl78EW4fdBFz7w7ifqnMtnmxG Fc/xxLPI8UZmNVt4A9RUoDJ0kcOftL25u47bzB1DPiE9JWwnMJGLleuaewOlR1a/hhe3 4eeA== X-Gm-Message-State: AOAM532q5F9443IocyzbJ7s9iG/jioUx/BM6FMdKvwYbxFRit36Dd3FY R8xwH43yqwGD2dd/qkNvtVe9G13r5zM= X-Google-Smtp-Source: ABdhPJxWNP7Vao0rDyCLBE+oGcGiTj9rziPEkl4W0ozO2qkSYzXGOAtKQ8Q7tRJciOy7BhdgSAdsOQ== X-Received: by 2002:a05:6402:392:: with SMTP id o18mr8707225edv.283.1603571155314; Sat, 24 Oct 2020 13:25:55 -0700 (PDT) Subject: Re: Interaction with non-cygwin programs To: cygwin AT cygwin DOT com References: <63caec69-b722-e7ff-f7ce-6febee5a5fb3 AT SystematicSw DOT ab DOT ca> <1e0b9dc9-e540-8c57-eaae-f398cafe4fcc AT gmail DOT com> Message-ID: <266b57b3-6b3f-ebc3-3904-0e8405fb5359@gmail.com> Date: Sat, 24 Oct 2020 22:23:41 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Federico Kircheis via Cygwin Reply-To: Federico Kircheis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 09OKQOQ3005729 On 10/24/20 9:35 PM, Brian Inglis wrote: > 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 ... > No, unfortunately it does not work... It's a shame, but I think I'll leave pcon disabled at the moment... or is there anything else I could try? AFAIK pcon is relatively new, so I'm hoping that it will mature soon enough. -- 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