Wine Console ignores buffer and window size

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dasjournal
Newbie
Newbie
Posts: 2
Joined: Sat Feb 23, 2013 11:40 pm

Wine Console ignores buffer and window size

Post by dasjournal »

Hi everyone,

I'm new to Wine and having trouble getting a Windows console (cmd) based application to run at an adequate window resolution.

Wine console starts the program in a new window (--backend=user), but the window and buffer size is always set to 80x25. Modifying the window and buffer size values in the 'Configuration' window does not extend the buffer or window size, even when using the 'save for future sessions' option. Using the emacs option instead of win32 also has no effect (and is also unstable).

Is there any way to have the Wine Console retain the values specified? I've looked in the registry file, but these values seem to be ignored.

Any help would be appreciated.
dasjournal
Newbie
Newbie
Posts: 2
Joined: Sat Feb 23, 2013 11:40 pm

Re: Wine Console ignores buffer and window size

Post by dasjournal »

The screen buffer and window size are hardcoded constants in different locations within the source code:
  • dlls/kernel32/console.c
    programs/wineconsole/registry.c
    server/console.c
Modifying these values and recompiling gets a much larger - but fixed - window.

Some patches were provided in bugzilla, but were never committed to source.
Locked