https://bugs.winehq.org/show_bug.cgi?id=54141
--- Comment #9 from Eric Pouech eric.pouech@gmail.com --- well the reason for exiting may be a bit complex than that
but: - from local testings: + on unix, ctrl character is only emitted for characters in ascii 0x40 - 0x5F (by shifting into 0x00 - 0x1F range) + it can be also supported for characters which are reported as control sequences (F1...) + in vim: ctrl-4 seems to be the same as ctrl-\ (from putting vi in insert mode, then 'ctrl-v ctrl-4' to seem the input chars) + you may have a different output
that means that from ./wine cmd.exe you will never get a real ctrl-4 binding
but, you will from ./wine wineconsole cmd.exe (as we get the input chars with all key sequences, including ctrl up/down)
I'd be interested in the ctrl-v ctrl-4 seq from vi to better understand why it crashes