[Bug 5856] wineconsole window sizing, scrolling, cursor setting,
text input and signal handling failures
Wine Bugs
wine-bugs at winehq.org
Sat Aug 5 17:48:08 CDT 2006
http://bugs.winehq.org/show_bug.cgi?id=5856
------- Additional Comments From ekkehard.morgenstern at onlinehome.de 2006-05-08 17:48 -------
OK, here's a patch for the current CVS Wine version of "wineconsole.c":
732a733,744
> * WINECON_OutputHelp
> *
> * Outputs help text.
> */
>
> static void WINECON_OutputHelp( void ) {
> WINE_MESSAGE(
> "Usage: wineconsole PROGRAM [ARGUMENTS...] Run the specified console
program\n"" wineconsole --help Display this help and
exit\n" " wineconsole --backend=user PROGRAM Run the program in its
own window\n"" wineconsole --backend=curses PROGR Run the program in this
terminal\n" " wineconsole --use-event=HNDDEC Signal specified event
after launch\nThe default for the backend option is 'user'.\n"
> );
> }
>
> /******************************************************************
742c754
< wci->backend = WCCURSES_InitBackend;
---
> wci->backend = WCUSER_InitBackend;
765a778
> wci->backend = WCCURSES_InitBackend;
770a784,787
> else if ( strncmp( wci->ptr, "--help", 6 ) == 0 ) {
> while ( *wci->ptr != '\0' ) ++wci->ptr;
> return TRUE;
> }
795a813,818
> WINECON_OutputHelp();
> return 0;
> }
>
> if ( *wci.ptr == '\0' ) {
> WINECON_OutputHelp();
816c839
< if (!ret)
---
> if (!ret) {
817a841,842
> WINECON_OutputHelp();
> }
It makes the USER backend the default, and outputs the command line options when
either "--help" is given, no args are given, or the args invalid.
(I hope the diff posted okay, haven't read the Bugzilla rules yet)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list