Calling a Windows program changes terminal character attributes
Takashi Yano
takashi.yano@nifty.ne.jp
Mon Feb 17 09:54:00 GMT 2020
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 <takashi.yano@nifty.ne.jp>
--
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
More information about the Cygwin
mailing list