X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64226386F464 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1603566810; bh=smG9/PPdlsH8cYlDylAYxVFMe/4cpAh5nWCmwxo/5h4=; 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=kbuMxssPiE8ieIVdPy2alq2L5dmPdKd1l2wmrq0bSEUvHhk8U+UHP96drv+lUje9g tKjtD8dZqD+K3atJ7VhCxQaqjQ1bL3rZoBiNNgwMGI5RkGtj58yZ2BNkonW2dQXdb1 KHA5Djul6DgVQMuKBLF43KzaPsdzmhpbEzCrXGMQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8659B3857012 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=eFk80ioaJCllC55KXy0ltR0hRlDm8U6in+upZwHBPAU=; b=bJez83pTPNoSRLvfUSWs3PPX80jCPXLXj6S6MsvsJ2V1KoVYoVJkCKZ3DZwshUNra1 Ba9QqhSiEG0/J+yB/zdgDAViFeu6qTrnMJTynHqlFbEll9XBi82Mj534bkMakDvE2J8F ORovabcHv4DSqGurQPQ4w6hSgnh57YP4WSzUon5XMusONNM2z5BgDmNHtH/3yuRDMDsC 4Zx7qoPfmXcv8t85JEdjUZdCUl3tNAvjlZsAzPEO4NsmhenSo60YsCcddKk0oUFHhuQ3 hPJRxNpDT8tSwv/DMQJ+DTjry+iZ8fLLUR7NN+Yuq1xl8RUVQA7rLM8Xo2tbs+FwdPRc nq1g== X-Gm-Message-State: AOAM533igR0kXzwawJAKpVRzGCmoaE53nFSGKKpotdeK6dwQ5+jNK2gT sZm9pw+gUXWKYJwkJmPhH9RWU1mdAsc= X-Google-Smtp-Source: ABdhPJxpH79zcCyWQIftij68Ig8oEOmyT1CpaofNx9ADoYJRUseaFJpDSeoWnQHpXg77Gz65OewulA== X-Received: by 2002:aa7:d7c1:: with SMTP id e1mr8418223eds.4.1603566805691; Sat, 24 Oct 2020 12:13:25 -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> Message-ID: <1e0b9dc9-e540-8c57-eaae-f398cafe4fcc@gmail.com> Date: Sat, 24 Oct 2020 21:11:11 +0200 MIME-Version: 1.0 In-Reply-To: <63caec69-b722-e7ff-f7ce-6febee5a5fb3@SystematicSw.ab.ca> 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 09OJDtt8026827 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. -- 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