[Bug 21539] New: Using "Bare Streams" console mode with SRCDS does not work.
http://bugs.winehq.org/show_bug.cgi?id=21539 Summary: Using "Bare Streams" console mode with SRCDS does not work. Product: Wine Version: 1.1.37 Platform: x86 URL: http://srcds.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: laurikoivunen(a)hotmail.com SRCDS ( Source Dedicated Server ) is designed to run both in GUI and CLI modes. However, when trying to run the server in pure console without X and using "bare streams" as described here ( http://www.winehq.org/docs/wineusr-guide/cui-programs ) I still receive the error: DISPLAY='' WINEDEBUG=+console wine srcds.exe -console ... trace:console:AllocConsole () err:curses:WCCURSES_InitBackend (n)curses was not found. err:wineconsole:WINECON_Init failed to init. This is probably due to srcds running in "hybrid" mode where it is marked as a GUI application, but uses AllocConsole to create a console hence resulting in a new console creation, which currently fails. As a workaround I stubbed AllocConsole and only returned TRUE. This allows the application to start and reach a point where it tries to read the console and where it then fails due to wine not being able to read from the console. Could you add an option for true "bare streams" and so that input would also work? ps: I know that there is a linux version of SRCDS but there are no linux binaries for the server I am trying to run. This bug forces a lot of server hosters run X on their servers to be able to run SRCDS in wine. The server is free to download and use. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Severity|normal |enhancement -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 --- Comment #1 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2010-02-01 08:29:14 ---
err:curses:WCCURSES_InitBackend (n)curses was not found.
That's your problem. Your Wine is compiled without (n)curses support, or (n)curses library is not installed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 --- Comment #2 from Python1320 <laurikoivunen(a)hotmail.com> 2010-02-04 04:57:09 --- (In reply to comment #1)
err:curses:WCCURSES_InitBackend (n)curses was not found.
That's your problem. Your Wine is compiled without (n)curses support, or (n)curses library is not installed. No,
I am trying to run the console application in "bare streams" mode like described in the wiki and like I said above. This mode doesn't require (n)curses for output. I don't know about input though so I am asking, do I really need curses to be able to send a basic input to the console application and if so, why? Also, I've got no idea how I could make curses send out just "bare text" without any fancy color codes and such and this is very much needed for what I am trying to achieve. I've dug dlls/kernel32/console.c's code and there is code to attach input/output to the tty, but unfortunately I can't make it work. This feature would be very VERY needed for redirecting input/output of the server and making it run like a good daemon. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2010-02-04 05:55:57 --- What you want is a console backend that uses standard stdio instead of ncurses. That's certainly feasible, but it's not implemented at the moment, and not entirely trivial to do. Patches are of course welcome. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr --- Comment #4 from Eric Pouech <eric.pouech(a)orange.fr> 2012-02-10 05:38:15 CST --- actually, under windows, when a program calls allocconsole, a new console is allocated (and it doesn't try to inherit the parent's console) what you're asking for is specifically to inherit the unix console, which only works when spawning a CUI program from this console (and this isn't supposed to go any further) the root issue IMO here is rather that wineconsole doesn't fall back to the user backend when the (n)curses fails I'll try to fix that -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21539 hxpxtss4d7(a)snkmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hxpxtss4d7(a)snkmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=21539 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- 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.
participants (1)
-
wine-bugs@winehq.org