https://bugs.winehq.org/show_bug.cgi?id=57468
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #11 from Eric Pouech eric.pouech@gmail.com --- from the log:
0024:trace:console:WriteConsoleW (0000000000000134,L"\001b]0;~\0007",6,0000000000000000,0000000000000000)
which is an OSC sequence meaning set console windows' title to "~" (and \0007 == '\a' == beep is in fact a terminator of the OSC sequence)
so this is something likely generated by Cygwin at some point, and fails of the missing support of various CSI, OSC... sequences in Wine so definitively a dupe of 49780 (hence marking this bug as such)
Note on your comments on the various console usages. There are several "properties" to consider: A) supports the Windows official escape sequences [1] B) supports the Unix escape sequences (usually library like ncurses hide discrepancies using generic names, translated into what the console actually supports) (some of these sequences are common with [1], some others are not) C) the console object behaves as a Windows one
Wine offers two different "consoles": - the one inherited from unix world (unix console) - a windows tailored one (windows console)
To make things simpler, the behavior of the Wine's "unix console" of course depends on the properties of the underlying real unix console (konsole, xterm...).
using "wine app.exe" triggers the unix console, while "wine wineconsole app.exe" triggers the windows console (conhost)
so the claim "moving to another unix console" will fix things simply states that the default sequences in B are closer to what's expected in A. But will **always** miss all the C properties (some can be present of course)
to shed some light on the C properties, one example among a lot of others: - you can programatically get the console windows' handle and send windows messages to that window - key strokes... - in Wine this is supported by the windows console, but not by the unix console
we could improve in Wine's unix console the mapping from A to B: - full support means (in ncurses terms): lookup from a sequence from Windows' console setting into generic form, and remap that generic form into the underlying unix terminal form - partial support (your use case): detect the OSC (so that the '\a' is not interpreted as a beep)
we could improve in Wine's windows console the support of A
[1] https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-s...
*** This bug has been marked as a duplicate of bug 49780 ***