From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6413 invoked by alias); 17 Feb 2020 09:54:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 6373 invoked by uid 89); 17 Feb 2020 09:54:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=prompt, HX-Languages-Length:1160 X-HELO: conssluserg-01.nifty.com Received: from conssluserg-01.nifty.com (HELO conssluserg-01.nifty.com) (210.131.2.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 09:54:01 +0000 Received: from Express5800-S70 (ntsitm196171.sitm.nt.ngn.ppp.infoweb.ne.jp [125.0.207.171]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 01H9rb39000895 for ; Mon, 17 Feb 2020 18:53:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 01H9rb39000895 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1581933217; bh=iE5A67BoFC03N1JbHiRCji3V91HC6wxizk4G6vbOLDM=; h=Date:From:To:Subject:In-Reply-To:References:From; b=19xVGBXYwta7aXM0z2zjKeJv9RkBzP6XmX7BNEpkAfFECQv79oaWAoZ/HkMB3UYnx PC6SmYWaLBrw+c7iqjiEwO+m/exz4McgPvatX7VIrTBxhomKvtRYbRJcVMEje1RRNX 0Ed+rLbtHOJZ4CzABZ+yfvFExFGAk+KpJnLFJCabAeswxkZkA8hRcmPeGN2NzlpSqD uBUZuTia8O+F1oA9ueuvLw6mz2JZG6xW7Rj55jQ1aqHwT/DPKT0qC+xjABvLS+kRB4 A05QD0FuUh5KqkB2F3o5jbHvR5aVHozptV73DdypIO29YBA0ru/hU+RwAhMHcNF6s0 mk6Lo1BO8qBFQ== Date: Mon, 17 Feb 2020 09:54:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Calling a Windows program changes terminal character attributes Message-Id: <20200217185341.4de0180752a4c0ffd75b6997@nifty.ne.jp> In-Reply-To: References: <6671cea9-c752-d13d-ef1a-db1e5875b244@maxrnd.com> <20200216195320.c902d4e1d5b13b908b06e81a@nifty.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00136.txt.bz2 On Sun, 16 Feb 2020 11:51:27 -0500 Lee wrote: > On 2/16/20, Takashi Yano wrote: > > On Sun, 16 Feb 2020 01:31:14 -0800 > > Mark Geisert wrote: > >> Thanks Takashi for your reply. I just wanted to add that setting > >> CYGWIN=disable_pcon in the environment does not fix this issue. > >> Please ignore this if that's what's expected. > > > > CYGWIN=disable_pcon is needed to be set before launching mintty. > > That is, the setting should be in user environment in system > > property in control panel rather than in .bashrc. > > Does setting CYGWIN=disable_pcon do the same thing as adding this to > the registry? > ------------- > Windows Registry Editor Version 5.00 > > [HKEY_CURRENT_USER\Console] > "VirtualTerminalLevel"=dword:00000001 > ------------- No. They are very differnt. VirtualTerminalLevel=1 enables ANSI escape sequence handling in command prompt even without flag ENABLE_VIRTUAL_TERMINAL_PROCESSING. CYGWIN=disable_pcon disables pseudo console support in PTY. PTY is used in mintty, xterm, sshd, etc, but not in command prompt. -- Takashi Yano -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple