Who is responsible to start up a Wineconsole

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon May 8 10:12:03 CDT 2006

>>>>> "Andreas" == Andreas Mohr <andi at rhlx01.fht-esslingen.de> writes:

    Andreas> Hi, On Mon, May 08, 2006 at 02:27:53PM +0200, Uwe Bonnes wrote:
    >> Hallo,
    >> on XP, Program->Execute->(../system32/)telnet.exe starts up a
    >> Console.  "wine telnet.exe" on the command line however silently
    >> terminates, as the call to GetConsoleScreenBufferInfo returns an
    >> empty LPCONSOLE_SCREEN_BUFFER_INFO structure.
    >> Shouldn't wine start up some wineconsole in that circumstances as XP
    >> does?

    Andreas> Most likely telnet.exe has some console app PE header flag set
    Andreas> (as opposed to Win32 GUI app flag).

> winedump dump -f telnet.exe | grep -i cui
  Subsystem                          0x3 (Windows CUI)

    Andreas> Probably the Wine loader needs to actually handle this flag and
    Andreas> launch wineconsole in this case if it's not already started
    Andreas> within a console.

Yes. I am just fiddling around with the loader...

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the wine-devel mailing list