From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id 8659B3857012 for ; Sat, 24 Oct 2020 19:13:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8659B3857012 Received: by mail-ed1-x52a.google.com with SMTP id w25so5051328edx.2 for ; Sat, 24 Oct 2020 12:13:27 -0700 (PDT) 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) Received: from ?IPv6:2a02:8109:9f40:4576::5518? ([2a02:8109:9f40:4576::5518]) by smtp.gmail.com with ESMTPSA id c19sm2503191edt.48.2020.10.24.12.13.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Oct 2020 12:13:24 -0700 (PDT) Subject: Re: Interaction with non-cygwin programs To: cygwin@cygwin.com References: <63caec69-b722-e7ff-f7ce-6febee5a5fb3@SystematicSw.ab.ca> From: Federico Kircheis 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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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@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:13:28 -0000 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.