-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 16/05/13 13:04, Hugh McMaster wrote:
In my effort to improve wineconsole and its calculations of the largest possible window size, three scenarios come into play.
- wineconsole with --backend=user (or more simply, 'wineconsole
app.exe, in which case 'user' is the default). 2. wineconsole with --backend=curses. 3. wineconsole with --backend=curses, but no X server running.
Detecting the screen resolution is a simple task with (1) and (2). SystemParametersInfo for (1) and wine's own XRandR for (2) can be used.
My concern is with scenario (3). Wine is designed to be used with an X server, but wineconsole can be used in non-X-based environment. While this is possible, it would seem unlikely. Nonetheless, the issue has come up on the wine-devel list before.
The question is, should I worry about supporting such a scenario?
wine works really well with windows-only embedded compilers. With wine as it is, you can just shove them in a Makefile like any other tool. Magic!
This is an very useful use-case, and definitely important to preserve console support in X-less environments for this.