[Bug 16704] New: wineconsole: Allow specifying the console backend to use when wineconsole is launched implicitly

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 1 07:32:23 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16704

           Summary: wineconsole: Allow specifying the console backend to use
                    when wineconsole is launched implicitly
           Product: Wine
           Version: CVS/GIT
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wine at martin.st


Created an attachment (id=18363)
 --> (http://bugs.winehq.org/attachment.cgi?id=18363)
Proposed patch for fixing the issue

When wineconsole is launched implicitly, when an application in wine opens a
console, it currently defaults to using the user backend of wineconsole,
without any possibility of changing which backend to use.

The console application to launch can be changed using the WINECONSOLE
environment variable, and wine appends --use-event=xx to that command line when
launching the console program. Setting WINECONSOLE to "wineconsole
--backend=curses" is ignored, since wineconsole chooses the user backend as
soon as the --use-event argument is parsed. This isn't necessary, since the
user backend is the default one. By removing the explicit setting of the user
backend when parsing the --use-event argument, choosing another backend through
the WINECONSOLE environment variable works as expected.

The attached patch implements this proposed change.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list