Windows version refuses to work under Wine
Closed this issue · 8 comments
https://github.com/directvt/vtm/releases/latest/download/vtm_windows_x86.zip
$ wine --version
wine-9.0 (Ubuntu 9.0~repack-4build3)
$ wine ./vtm.exe -r term
0088:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -2.
0088:err:explorer:initialize_display_settings Failed to initialize registry display settings for L"\\\\.\\DISPLAY1".
$ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=22
DISTRIB_CODENAME=wilma
DISTRIB_DESCRIPTION="Linux Mint 22 Wilma"
Thanks for the report. Could you try running vtm with the specified shell?
wine ./vtm.exe -r term cmd.exePS: I don't know how much this is allowed in Wine and what environment it has.
ERROR_INVALID_HANDLE
6 (0x6)
The handle is invalid.
Most likely it won't work. Apparently the Console Server is implemented there somehow differently than in the real Windows system. I use an undocumented Win32 API there.
Of all the options that are currently available, probably only the following will work in that environment, but only as a demo (although not very consistent, as on real Windows):
wine ./vtm.exe -r test
wine ./vtm.exe -r gems
wine ./vtm.exe -r calc
wine ./vtm.exe -r text
wine ./vtm.exe -r truecolor
Looking at the Wine source, it seems that a number of necessary APIs are not implemented there.
ntdll.spec:@ stub CsrClientCallServerwin32u.spec:@ stub NtUserConsoleControl
Maybe someday I'll come up with a workaround for this.
Of all the options that are currently available, probably only the following will work in that environment, but only as a demo (although not very consistent, as on real Windows):
All those commands worked, thanks, wow!


