http://bugs.winehq.org/show_bug.cgi?id=10075
Summary: Pascal "CLSCR" doesn't work (just hangs) Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-console AssignedTo: wine-bugs@winehq.org ReportedBy: diafero@arcor.de
Created an attachment (id=8635) --> (http://bugs.winehq.org/attachment.cgi?id=8635) source code of the app demonstrating the problem
I recently tried out some small console apps written in Pascal with wine (they were compiled with FreePascal), and while it worked fine in general, there's one Pascal command which makes problems: CLSCR. Instead of clearing the console, it just does nothing and hangs - apps with this command are unusable (the program still runs, but it does nothing - like an infinite loop). I attached the source and binary of a two-line pascal program demonstrating that.
It's not that I really need these applications, and of course I could simply compile them for windows, but it seems a very basic command line function is not supported by wine.
http://bugs.winehq.org/show_bug.cgi?id=10075
--- Comment #1 from diafero@arcor.de 2007-10-17 12:25:32 --- Created an attachment (id=8636) --> (http://bugs.winehq.org/attachment.cgi?id=8636) binary of the app demonstrating the problem
http://bugs.winehq.org/show_bug.cgi?id=10075
diafero@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8635|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=10075
diafero@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8636|text/plain |application/octet-stream mime type| | Attachment #8636 is|1 |0 patch| |
http://bugs.winehq.org/show_bug.cgi?id=10075
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #2 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-17 12:27:31 --- You are running the program in a wine console - you start it with `wineconsole <your-program>`?
http://bugs.winehq.org/show_bug.cgi?id=10075
--- Comment #3 from diafero@arcor.de 2007-10-17 14:34:42 --- No, I start it using "wine <program>". Since it runs in a console I assumed that wineconsole is the part of wine responsible for that. I'll try wineconsole tomorrow when I'm back on my Linux system.
http://bugs.winehq.org/show_bug.cgi?id=10075
diafero@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.46. |0.9.47.
--- Comment #4 from diafero@arcor.de 2007-10-18 05:57:31 --- I just tried it again with wine 0.9.47: - "wine <program>" behaves as before - "wineconsole <program>" works fine, the screen is cleared correctly - "wineconsole --backend=curses <program>" doesn't work, even with "cmd" as program. I get the error message "fixme:curses:WCCURSES_GetEvents" over and over, even Ctrl+C doesn't help
So it seems the problem is not in wineconsole. But which part of wine is responsible for executing command-line apps started with "wine <program>"?
http://bugs.winehq.org/show_bug.cgi?id=10075
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|0.9.47. |0.9.46.
--- Comment #5 from James Hawkins truiken@gmail.com 2007-10-18 09:46:23 --- Don't change the original reported version.
http://bugs.winehq.org/show_bug.cgi?id=10075
--- Comment #6 from diafero@arcor.de 2007-10-18 09:54:17 --- *oops* sorry I didn't know that
http://bugs.winehq.org/show_bug.cgi?id=10075
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-18 18:15:19 --- Wine does not have that much control over the standard unix console it was started in. This is why there is wineconsole.
http://bugs.winehq.org/show_bug.cgi?id=10075
--- Comment #8 from diafero@arcor.de 2007-10-19 08:36:15 --- Well, but a complete hang is never a good thing. It'd be much better if wine just ignored the CLSCR and/or displayed a hint to use wineconsole instead. I never heard of it before, and I dig more into programs than the "average" PC user does. The way it is know, you will usually think that wine does not support this app and crashes without any note.
http://bugs.winehq.org/show_bug.cgi?id=10075
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_console |-unknown
http://bugs.winehq.org/show_bug.cgi?id=10075
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com 2008-09-17 08:51:22 --- Closing WONTFIX.