2 .TH WINE 1 "May 2002" "@PACKAGE_STRING@" "Windows On Unix"
4 wine \- run Windows programs on Unix
6 .BI "wine " "[wine_options] " "[--] " "program " "[arguments ... ]"
8 For instructions on passing arguments to Windows programs, please see the
11 section of the man page.
14 loads and runs the given program, where the program is a DOS, Windows
15 3.x, or Win32 executable (x86 binaries only).
17 For debugging wine, use
21 For running CUI executables (Windows console programs), use
25 This will display all the output in a separate windows (this requires X11 to
28 for CUI programs will only provide very limited console support, and your
29 program might not function properly.
32 currently runs a growing list of applications written for all kinds of
33 Windows versions >= Win2.0, e.g. Win3.1, Win95/98, NT.
34 Older, simpler applications work better than newer, more complex ones.
35 Using Windows ME or Win2000 components with Wine is more problematic than
36 using none at all or the ones from older Windows versions.
37 A large percentage of the API has been implemented,
38 although there are still several major pieces of work left to do.
39 .SH REQUIREMENTS AND INSTALLATION
40 Read the README file in the Wine source distribution and the
42 man page to know what Wine requires and how it is installed from
46 .I --debugmsg [xxx]#name[,[xxx1]#name1]
47 Turn debugging messages on or off.
50 xxx is optional and can be one of the following:
56 If xxx is not specified, all debugging messages for the specified
57 channel are turned on. Each channel will print messages about a particular
60 # can be either + or - to switch the specified channel on or off
61 respectively. If there is no
63 part before it, a leading + can be omitted. Note that spaces are not
64 allowed anywhere in the string.
68 .I --debugmsg warn+all
69 will turn on all warning messages (recommended for debugging)
71 .I --debugmsg warn+dll,+heap
72 will turn on DLL warning messages and all heap messages.
74 .I --debugmsg fixme-all,warn+cursor,+relay
75 will turn off all FIXME messages, turn on cursor warning messages, and turn
76 on all relay messages (API calls).
79 will turn on all relay messages. For more control on including or excluding
80 functions and dlls from the relay trace look into the [Debug] section
81 of the wine configuration file.
83 For more information on debugging messages, see the
85 chapter of the Wine User Guide.
89 The program name may be specified in DOS format (
91 C:\(rs\(rsWINDOWS\(rs\(rsSOL.EXE)
93 .I /msdos/windows/sol.exe
94 ). You may pass arguments to the program being executed by adding them
95 to the end of the command line invoking
97 (such as: wine notepad C:\(rs\(rsTEMP\(rs\(rsREADME.TXT).
98 Note that you need to '\(rs' escape special characters (and spaces) when invoking Wine via
101 wine C:\(rs\(rsProgram\(rs Files\(rs\(rsMyPrg\(rs\(rstest.exe
103 Command line processing goes as
106 checks whether one or more of the above mentioned
108 options have been specified. These
109 are removed from the command line, which is passed to the windows program. You can use
114 should stop command line processing. This is needed in case a windows program understands
115 an option that is usually interpreted (and thus removed from the command line)
118 For example, if you want to execute
121 .I --debugmsg +module
124 should run the program
127 .I --display 3d somefile
128 , then you could use the following command line to invoke
131 .I wine --debugmsg +module -- myapp.exe --display 3d somefile
133 Note that in contrast to previous versions of
136 program name and program option in one argument to
139 than one windows program, just execute
141 once with the name of each program as argument.
142 .SH ENVIRONMENT VARIABLES
144 makes the environment variables of the shell from which
146 is started accessible to the windows/dos processes started. So use the
147 appropriate syntax for your shell to enter environment variables you need.
150 If set, the content of this variable is taken as the name of the directory where
152 stores its data (the default is
154 ). This directory contains also the socket, which is used to communicate with the
158 processes using the same
160 (i.e.: same user) share certain things like registry, shared memory,
164 to different values for different
166 processes, it is possible to run a number of truly independent
171 Specifies the path and name of the
173 binary. If not set, Wine will try to load
174 .B @bindir@/wineserver,
175 and if this doesn't exist it will then look for a file named
176 "wineserver" in the path and in a few other likely locations.
179 Specifies the path and name of the
181 binary to use to launch new Windows processes. If not set, Wine will
184 and if this doesn't exist it will then look for a file named "wine" in
185 the path and in a few other likely locations.
188 Turns debugging messages on or off. The syntax of the variable is
189 identical to the syntax of the arguments for the --debugmsg option.
192 Specifies the path(s) in which to search for builtin dlls and Winelib
193 applications. This is a list of directories separated by ":". In
194 addition to any directory specified in
196 Wine will also look in
200 Defines the override type and load order of dlls used in the loading
201 process for any dll. The default is set in the configuration
202 file. There are currently two types of libraries that can be loaded
203 into a process' address space: Native windows dlls (
209 ). The type may be abbreviated with the first letter of the type (
211 ). Each sequence of orders must be separated by commas.
213 Each dll may have its own specific load order. The load order
214 determines which version of the dll is attempted to be loaded into the
215 address space. If the first fails, then the next is tried and so
216 on. Multiple libraries with the same load order can be separated with
217 commas. It is also possible to use specify different loadorders for
218 different libraries by separating the entries by ";".
223 WINEDLLOVERRIDES="comdlg32,commdlg=n,b"
225 Try to load comdlg32 and commdlg as native windows dll first and try
226 the builtin version if the native load fails.
228 WINEDLLOVERRIDES="shell,shell32=n;c:\(rs\(rsfoo\(rs\(rsbar\(rs\(rsbaz=b"
230 Try to load the libraries shell and shell32 as native windows dlls. Furthermore, if
231 an application request to load c:\(rsfoo\(rsbar\(rsbaz.dll load the builtin library baz.
233 WINEDLLOVERRIDES="comdlg32,commdlg=b,n;shell,shell32=b;comctl32,commctrl=n"
235 Try to load comdlg32 and commdlg as builtin first and try the native version
236 if the builtin load fails; load shell32/shell always as builtin and
237 comctl32/commctrl always as native.
239 Note: It is wise to keep dll pairs (comdlg32/commdlg, shell/shell32, etc.)
240 having exactly the same load order. This will prevent mismatches at runtime.
241 See also configuration file format below.
245 Specifies the X11 display to use.
246 .SH CONFIGURATION FILE
248 expects a configuration file (
249 .I $WINEPREFIX/config
252 if WINEPREFIX is not set), which must conform to the format specified
255 man page. A sample configuration file is documentation/samples/config in the
260 is available thanks to the work of many developers. For a listing
261 of the authors, please see the file
263 in the top-level directory of the source distribution.
266 can be distributed under the terms of the LGPL license. A copy of the
267 license is in the file
269 in the top-level directory of the source distribution.
272 A status report on many applications is available from
273 .I http://www.winehq.org/Apps.
274 Please add entries to this list for applications you currently run.
276 Bug reports may be posted to Wine Bugzilla
277 .I http://bugs.winehq.org
278 If you want to post a bug report, please read the file
279 .I documentation/bugs.sgml
282 source to see what information is necessary
284 Problems and suggestions with this manpage please also report to
285 .I http://bugs.winehq.org
287 The most recent public version of
289 can be obtained via FTP from ibiblio.org in the
290 /pub/Linux/ALPHA/Wine/development directory. The releases are in the
291 format 'Wine-yyyymmdd.tar.gz', or 'Wine-yyyymmdd.diff.gz' for the
292 diff's from the previous release. The same directory holds the
293 pre-built contents of the documentation in various formats
296 The latest snapshot of the code may be obtained via CVS. For information
297 on how to do this, please see
299 http://www.winehq.org/cvs
303 development headquarters, is at
304 .I http://www.winehq.org/.
305 This website contains a great deal of information about
311 .I comp.emulators.ms-windows.wine.
312 It is used for discussion of various
314 end user aspects/help.
316 For further information about
318 development, you might want to subscribe to the
321 .I http://www.winehq.org/forums
330 .I @bindir@/wineconsole
333 program loader for CUI (console) applications.
335 .I @bindir@/wineserver
345 .I @bindir@/wineclipsrv
356 User-specific configuration file
359 Directory containing user specific data managed by