[RESENT] Always print version on startup

PETREOLLE Sylvain Sylvain.PETREOLLE at gefco.fr
Tue Jul 1 17:33:35 CDT 2003


I think this can be avoided.
Let use stderr to print this, this way you can use redirections with every
program you want.

I will add one more remark (!) : I dont know many programs that expect "Wine
version" in their output.
If they are disturbed by this, this is a huge design problem.

-----Message d'origine-----
De : Francois Gouget [mailto:fgouget at free.fr]
Envoyé : mardi 1 juillet 2003 23:57
À : wine-devel at winehq.org
Objet : Re: [RESENT] Always print version on startup

Let me object too then.

This patch will break all scripts that use regedit to export part of the
registry to stdout. It will also break all applications that run
'uninstaller --list' and then parse the output to determine what Windows
applications are installed. It will also break all Winelib applications
that print anything to stdout that then needs to be parsed by a script
or some other program.
Of course we have each of these cases in CrossOver.

Then it will break all Windows application that analyze the output of
another Windows application. For instance I expect Visual C++'s nmake+cl
will not work anymore (as well as other make+compiler cases). Even
compiling from the Visual C++ IDE may stop working.

Finally it's a matter of what Wine is about. Wine is about transparently
running Windows applications. Wine itself should be as invisible as
possible, it should just get out of the way. We went out of our way
(well iirc Alexandre did most of that work) to avoid having the Wine
command line options interfer with the application's command line
options. Printing garbage (from the Windows application point of vue) on
stdout would be a step backwards.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
        War doesn't determine who's right.  War determines who's left.





More information about the wine-devel mailing list