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 ";".
220 The load order for a 16-bit dll is always defined by the load order of
221 the 32-bit dll that contains it (which can be identified by looking at
222 the symbolic link of the 16-bit .dll.so file). For instance if
223 ole32.dll is configured as builtin, storage.dll will be loaded as
224 builtin too, since the 32-bit ole32.dll contains the 16-bit
230 WINEDLLOVERRIDES="comdlg32,shell32=n,b"
232 Try to load comdlg32 and shell32 as native windows dll first and try
233 the builtin version if the native load fails.
235 WINEDLLOVERRIDES="comdlg32,shell32=n;c:\(rs\(rsfoo\(rs\(rsbar\(rs\(rsbaz=b"
237 Try to load the libraries comdlg32 and shell32 as native windows dlls. Furthermore, if
238 an application request to load c:\(rsfoo\(rsbar\(rsbaz.dll load the builtin library baz.
240 WINEDLLOVERRIDES="comdlg32=b,n;shell32=b;comctl32=n"
242 Try to load comdlg32 as builtin first and try the native version if
243 the builtin load fails; load shell32 always as builtin and comctl32
248 Specifies the X11 display to use.
249 .SH CONFIGURATION FILE
251 expects a configuration file (
252 .I $WINEPREFIX/config
255 if WINEPREFIX is not set), which must conform to the format specified
258 man page. A sample configuration file is documentation/samples/config in the
263 is available thanks to the work of many developers. For a listing
264 of the authors, please see the file
266 in the top-level directory of the source distribution.
269 can be distributed under the terms of the LGPL license. A copy of the
270 license is in the file
272 in the top-level directory of the source distribution.
275 A status report on many applications is available from
276 .I http://www.winehq.org/Apps.
277 Please add entries to this list for applications you currently run.
279 Bug reports may be posted to Wine Bugzilla
280 .I http://bugs.winehq.org
281 If you want to post a bug report, please read the file
282 .I documentation/bugs.sgml
285 source to see what information is necessary
287 Problems and suggestions with this manpage please also report to
288 .I http://bugs.winehq.org
290 The most recent public version of
292 can be obtained via FTP from ibiblio.org in the
293 /pub/Linux/ALPHA/Wine/development directory. The releases are in the
294 format 'Wine-yyyymmdd.tar.gz', or 'Wine-yyyymmdd.diff.gz' for the
295 diff's from the previous release. The same directory holds the
296 pre-built contents of the documentation in various formats
299 The latest snapshot of the code may be obtained via CVS. For information
300 on how to do this, please see
302 http://www.winehq.org/cvs
306 development headquarters, is at
307 .I http://www.winehq.org/.
308 This website contains a great deal of information about
314 .I comp.emulators.ms-windows.wine.
315 It is used for discussion of various
317 end user aspects/help.
319 For further information about
321 development, you might want to subscribe to the
324 .I http://www.winehq.org/forums
333 .I @bindir@/wineconsole
336 program loader for CUI (console) applications.
338 .I @bindir@/wineserver
348 .I @bindir@/wineclipsrv
359 User-specific configuration file
362 Directory containing user specific data managed by