2 .TH WINE 1 "May 2004" "@PACKAGE_STRING@" "Windows On Unix"
4 wine \- run Windows programs on Unix
6 .BI "wine " "program " "[arguments ... ]"
12 For instructions on passing arguments to Windows programs, please see the
15 section of the man page.
18 loads and runs the given program, where the program is a DOS, Windows
19 3.x, or Win32 executable (x86 binaries only).
21 For debugging wine, use
25 For running CUI executables (Windows console programs), use
29 This will display all the output in a separate windows (this requires X11 to
32 for CUI programs will only provide very limited console support, and your
33 program might not function properly.
41 will simply print a small help message or its version respectively and exit.
42 .SH REQUIREMENTS AND INSTALLATION
43 Read the README file in the Wine source distribution and the
45 man page to know what Wine requires and how it is installed from
48 The program name may be specified in DOS format (
50 C:\(rs\(rsWINDOWS\(rs\(rsSOL.EXE)
52 .I /msdos/windows/sol.exe
53 ). You may pass arguments to the program being executed by adding them
54 to the end of the command line invoking
56 (such as: wine notepad C:\(rs\(rsTEMP\(rs\(rsREADME.TXT).
57 Note that you need to '\(rs' escape special characters (and spaces) when invoking Wine via
60 wine C:\(rs\(rsProgram\(rs Files\(rs\(rsMyPrg\(rs\(rstest.exe
62 .SH ENVIRONMENT VARIABLES
64 makes the environment variables of the shell from which
66 is started accessible to the windows/dos processes started. So use the
67 appropriate syntax for your shell to enter environment variables you need.
70 If set, the content of this variable is taken as the name of the directory where
72 stores its data (the default is
74 ). This directory is also used to identify the socket which is used to
79 processes using the same
81 (i.e.: same user) share certain things like registry, shared memory,
85 to different values for different
87 processes, it is possible to run a number of truly independent
92 Specifies the path and name of the
94 binary. If not set, Wine will try to load
95 .B @bindir@/wineserver,
96 and if this doesn't exist it will then look for a file named
97 "wineserver" in the path and in a few other likely locations.
100 Specifies the path and name of the
102 binary to use to launch new Windows processes. If not set, Wine will
105 and if this doesn't exist it will then look for a file named "wine" in
106 the path and in a few other likely locations.
109 Turns debugging messages on or off. The syntax of the variable is
111 .RI [ class ][+/-] channel [,[ class2 ][+/-] channel2 ].
115 is optional and can be one of the following:
121 is not specified, all debugging messages for the specified
122 channel are turned on. Each channel will print messages about a particular
125 The following character can be either + or - to switch the specified
126 channel on or off respectively. If there is no
128 part before it, a leading + can be omitted. Note that spaces are not
129 allowed anywhere in the string.
134 will turn on all warning messages (recommended for debugging).
137 WINEDEBUG=warn+dll,+heap
138 will turn on DLL warning messages and all heap messages.
141 WINEDEBUG=fixme-all,warn+cursor,+relay
142 will turn off all FIXME messages, turn on cursor warning messages, and turn
143 on all relay messages (API calls).
147 will turn on all relay messages. For more control on including or excluding
148 functions and dlls from the relay trace look into the [Debug] section
149 of the wine configuration file.
151 For more information on debugging messages, see the
153 chapter of the Wine User Guide.
157 Specifies the path(s) in which to search for builtin dlls and Winelib
158 applications. This is a list of directories separated by ":". In
159 addition to any directory specified in
161 Wine will also look in
165 Defines the override type and load order of dlls used in the loading
166 process for any dll. The default is set in the configuration
167 file. There are currently two types of libraries that can be loaded
168 into a process' address space: Native windows dlls (
174 ). The type may be abbreviated with the first letter of the type (
176 ). Each sequence of orders must be separated by commas.
179 Each dll may have its own specific load order. The load order
180 determines which version of the dll is attempted to be loaded into the
181 address space. If the first fails, then the next is tried and so
182 on. Multiple libraries with the same load order can be separated with
183 commas. It is also possible to use specify different loadorders for
184 different libraries by separating the entries by ";".
186 The load order for a 16-bit dll is always defined by the load order of
187 the 32-bit dll that contains it (which can be identified by looking at
188 the symbolic link of the 16-bit .dll.so file). For instance if
189 ole32.dll is configured as builtin, storage.dll will be loaded as
190 builtin too, since the 32-bit ole32.dll contains the 16-bit
195 WINEDLLOVERRIDES="comdlg32,shell32=n,b"
197 Try to load comdlg32 and shell32 as native windows dll first and try
198 the builtin version if the native load fails.
200 WINEDLLOVERRIDES="comdlg32,shell32=n;c:\(rs\(rsfoo\(rs\(rsbar\(rs\(rsbaz=b"
202 Try to load the libraries comdlg32 and shell32 as native windows dlls. Furthermore, if
203 an application request to load c:\(rsfoo\(rsbar\(rsbaz.dll load the builtin library baz.
205 WINEDLLOVERRIDES="comdlg32=b,n;shell32=b;comctl32=n"
207 Try to load comdlg32 as builtin first and try the native version if
208 the builtin load fails; load shell32 always as builtin and comctl32
213 Specifies the X11 display to use.
221 .I @bindir@/wineconsole
224 program loader for CUI (console) applications.
226 .I @bindir@/wineserver
236 .I @bindir@/wineclipsrv
246 .I $WINEPREFIX/config
247 User-specific configuration file, which must conform to the format specified
250 man page. A sample configuration file is documentation/samples/config in the
254 .I $WINEPREFIX/dosdevices
255 Directory containing the DOS device mappings. Each file in that
256 directory is a symlink to the Unix device file implementing a given
257 device. For instance, if COM1 is mapped to /dev/ttyS0 you'd have a
258 symlink of the form $WINEPREFIX/dosdevices/com1 -> /dev/ttyS0.
260 DOS drives are also specified with symlinks; for instance if drive D:
261 corresponds to the CDROM mounted at /mnt/cdrom, you'd have a symlink
262 $WINEPREFIX/dosdevices/d: -> /mnt/cdrom. The Unix device corresponding
263 to a DOS drive can be specified the same way, except with '::' instead
264 of ':'. So for the previous example, if the CDROM device is mounted
265 from /dev/hdc, the corresponding symlink would be
266 $WINEPREFIX/dosdevices/d:: -> /dev/hdc.
269 is available thanks to the work of many developers. For a listing
270 of the authors, please see the file
272 in the top-level directory of the source distribution.
275 can be distributed under the terms of the LGPL license. A copy of the
276 license is in the file
278 in the top-level directory of the source distribution.
281 A status report on many applications is available from
282 .I http://appdb.winehq.org.
283 Please add entries to this list for applications you currently run.
285 Bug reports may be posted to Wine Bugzilla
286 .I http://bugs.winehq.org
287 If you want to post a bug report, please read the file
288 .I documentation/bugs.sgml
291 source to see what information is necessary
293 Problems and suggestions with this manpage please also report to
294 .I http://bugs.winehq.org
296 The most recent public version of
298 can be downloaded from
299 .I http://www.winehq.org/download
301 The latest snapshot of the code may be obtained via CVS. For information
302 on how to do this, please see
304 http://www.winehq.org/cvs
308 development headquarters, is at
309 .I http://www.winehq.org.
310 This website contains a great deal of information about
313 For further information about
315 development, you might want to subscribe to the
318 .I http://www.winehq.org/forums