Calling a Windows program changes terminal character attributes
Mon Feb 17 09:54:00 GMT 2020
On Sun, 16 Feb 2020 11:51:27 -0500
> 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
No. They are very differnt. VirtualTerminalLevel=1 enables ANSI
escape sequence handling in command prompt even without flag
CYGWIN=disable_pcon disables pseudo console support in PTY.
PTY is used in mintty, xterm, sshd, etc, but not in command prompt.
Takashi Yano <firstname.lastname@example.org>
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin