[Bug 1358] New: - "GraphicsDriver" = "none" wanted

wine-bugs at winehq.com wine-bugs at winehq.com
Wed Apr 2 11:30:25 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1358

           Summary: "GraphicsDriver" = "none" wanted
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: wine at how.dk


I suggest making a dummy graphicsdriver such "GraphicsDriver" = "none" which
just makes stdout and stdin transparent.

The two existing drivers x11drv and ttydrv won't do when running console
programs many times in a row (e.g. a win32 console compiler from a gnumakefile):

x11drv: initialization due to communication with xfs is painful over a slow
network (e.g. a modem line)

ttydrv: uses ncurses which means restoring the contents of the window each time
wine finishes. This erases the output of the console program.

Here is the code:

// original code beginning in line 73 of user_main.c (rev 1.50):

    if (!(graphics_driver = LoadLibraryA( buffer )))
    {
        MESSAGE( "Could not load graphics driver '%s'\n", buffer );
        return FALSE;
    }

----

// could be changed to something along these lines:

    if (strncmp( "none", buffer, MAX_PATH) == 0 ) ; // do nothing
    else if (!(graphics_driver = LoadLibraryA( buffer )))
    {
        MESSAGE( "Could not load graphics driver '%s'\n", buffer );
        return FALSE;
    }

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1358>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list