Am 17.02.2017 um 10:43 schrieb Corinna Vinschen: > On Feb 17 08:36, Thomas Wolff wrote: >> Am 16.02.2017 um 21:32 schrieb Thomas Wolff: >>> Am 16.02.2017 um 13:49 schrieb Corinna Vinschen: >>>> There's an ESC sequence to change the codeset? Do you mean the >>>> alternate codeset sequence \e[10m / \e[11m >>> Oh, that one! Thanks for mentioning, I had overlooked it and fixed >>> mintty now to consider it. >>>> or is there something more sophisticated? >>> I actually meant to adress >>> https://github.com/mintty/mintty/wiki/CtrlSeqs#locale and there is >>> also \e%G and \e%@. >>> >>> I just notice that later changing of the IUTF8 flag from the master >>> side does not seem to work on a Window 10 system (although it works >>> initially) while it does work on a Windows 7 system. Weird. >> Now tested on 2 Windows 7 systems and 2 Windows 10 systems. Does not >> work on Windows 10. >> Any idea? > Whatever you're observing, there's nothing Windows version-specific > here. The tcsetattr function indiscriminately copies the incoming > termios structure over. Maybe the bg_check function fails for some > reason? Can you strace setting the flag via tcsetattr? Attached. There are lots of strace output even without interaction. I've tried to isolate the switching moment tightly. > There should be some output from tcsetattr as well as from fhandler_termios::bg_check. > > Can you check? You mean the termios_printf trace? How would I activate it (without recompiling cygwin)? ------ Thomas