blob: efc344b7ad8819aac9f25c9bd4f390824e469e18 [file] [log] [blame]
Alexandre Julliardded30381995-07-06 17:18:27 +00001.\" -*- nroff -*-
Alexandre Julliard12a74992005-10-06 16:10:01 +00002.TH WINE 1 "October 2005" "@PACKAGE_STRING@" "Windows On Unix"
Alexandre Julliardded30381995-07-06 17:18:27 +00003.SH NAME
Douglas Ridgway692389d1998-11-22 16:56:44 +00004wine \- run Windows programs on Unix
Alexandre Julliardded30381995-07-06 17:18:27 +00005.SH SYNOPSIS
Dimitrie O. Paunf950d972004-05-06 23:51:43 +00006.BI "wine " "program " "[arguments ... ]"
7.br
8.B wine --help
9.br
10.B wine --version
James Juran38a3d261999-01-01 18:45:52 +000011.PP
Andreas Mohr70c82e82002-10-29 23:13:01 +000012For instructions on passing arguments to Windows programs, please see the
James Juran38a3d261999-01-01 18:45:52 +000013.B
14PROGRAM/ARGUMENTS
15section of the man page.
Alexandre Julliardded30381995-07-06 17:18:27 +000016.SH DESCRIPTION
17.B wine
Alexandre Julliardbb4ddfe2003-12-05 00:17:41 +000018loads and runs the given program, where the program is a DOS, Windows
193.x, or Win32 executable (x86 binaries only).
Alexandre Julliardded30381995-07-06 17:18:27 +000020.PP
Andreas Mohr6f83a5e2000-07-16 15:43:07 +000021For debugging wine, use
22.B winedbg
Andreas Mohr6f83a5e2000-07-16 15:43:07 +000023instead.
24.PP
Eric Pouech0b83d4c2001-11-23 23:04:58 +000025For running CUI executables (Windows console programs), use
26.B wineconsole
27instead of
Alexandre Julliardbb4ddfe2003-12-05 00:17:41 +000028.B wine.
29This will display all the output in a separate windows (this requires X11 to
Eric Pouech0b83d4c2001-11-23 23:04:58 +000030run). Not using
31.B wineconsole
32for CUI programs will only provide very limited console support, and your
33program might not function properly.
34.PP
Dimitrie O. Paunf950d972004-05-06 23:51:43 +000035When invoked with
36.B --help
37or
38.B --version
39as the only argument,
40.B wine
41will simply print a small help message or its version respectively and exit.
Alexandre Julliardded30381995-07-06 17:18:27 +000042.SH PROGRAM/ARGUMENTS
James Juran8d01e081998-11-27 16:06:08 +000043The program name may be specified in DOS format (
44.I
Lawson Whitneyee35e722000-11-04 02:56:57 +000045C:\(rs\(rsWINDOWS\(rs\(rsSOL.EXE)
James Juran8d01e081998-11-27 16:06:08 +000046or in Unix format (
47.I /msdos/windows/sol.exe
Andreas Mohrff96f912000-11-28 22:35:20 +000048). You may pass arguments to the program being executed by adding them
James Juran8d01e081998-11-27 16:06:08 +000049to the end of the command line invoking
Alexandre Julliardded30381995-07-06 17:18:27 +000050.B wine
Andreas Mohrda920ee2001-08-09 21:16:55 +000051(such as: wine notepad C:\(rs\(rsTEMP\(rs\(rsREADME.TXT).
52Note that you need to '\(rs' escape special characters (and spaces) when invoking Wine via
53a shell, e.g.
54.PP
55wine C:\(rs\(rsProgram\(rs Files\(rs\(rsMyPrg\(rs\(rstest.exe
56.PP
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +000057.SH ENVIRONMENT VARIABLES
58.B wine
59makes the environment variables of the shell from which
60.B wine
61is started accessible to the windows/dos processes started. So use the
62appropriate syntax for your shell to enter environment variables you need.
Peter Ganten48320f72000-06-03 20:43:41 +000063.TP
64.I WINEPREFIX
Andreas Mohrff96f912000-11-28 22:35:20 +000065If set, the content of this variable is taken as the name of the directory where
Peter Ganten48320f72000-06-03 20:43:41 +000066.B wine
Alexandre Julliard32fcfc22000-11-30 01:15:30 +000067stores its data (the default is
Peter Ganten48320f72000-06-03 20:43:41 +000068.I $HOME/.wine
Alexandre Julliard553a75e2004-04-29 00:27:57 +000069). This directory is also used to identify the socket which is used to
70communicate with the
Peter Ganten48320f72000-06-03 20:43:41 +000071.I wineserver.
72All
73.B wine
Andreas Mohrff96f912000-11-28 22:35:20 +000074processes using the same
Peter Ganten48320f72000-06-03 20:43:41 +000075.B wineserver
Lawson Whitneyb37b8632001-08-06 17:49:11 +000076(i.e.: same user) share certain things like registry, shared memory,
77and config file.
Andreas Mohrff96f912000-11-28 22:35:20 +000078By setting
Peter Ganten48320f72000-06-03 20:43:41 +000079.I WINEPREFIX
80to different values for different
81.B wine
82processes, it is possible to run a number of truly independent
83.B wine
84processes.
Alexandre Julliard32fcfc22000-11-30 01:15:30 +000085.TP
86.I WINESERVER
87Specifies the path and name of the
88.B wineserver
Alexandre Julliard35363162002-05-22 21:32:49 +000089binary. If not set, Wine will try to load
90.B @bindir@/wineserver,
Alexandre Julliard8c08ceb2002-05-23 19:35:18 +000091and if this doesn't exist it will then look for a file named
92"wineserver" in the path and in a few other likely locations.
Alexandre Julliard32fcfc22000-11-30 01:15:30 +000093.TP
94.I WINELOADER
95Specifies the path and name of the
96.B wine
Alexandre Julliard35363162002-05-22 21:32:49 +000097binary to use to launch new Windows processes. If not set, Wine will
98try to load
99.B @bindir@/wine,
Alexandre Julliard8c08ceb2002-05-23 19:35:18 +0000100and if this doesn't exist it will then look for a file named "wine" in
Alexandre Julliard35363162002-05-22 21:32:49 +0000101the path and in a few other likely locations.
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000102.TP
Alexandre Julliardbb4ddfe2003-12-05 00:17:41 +0000103.I WINEDEBUG
104Turns debugging messages on or off. The syntax of the variable is
Alexandre Julliard8a372972004-03-11 23:22:29 +0000105of the form
106.RI [ class ][+/-] channel [,[ class2 ][+/-] channel2 ].
107.RS +7
108.PP
109.I class
110is optional and can be one of the following:
111.B err, warn, fixme,
112or
113.B trace.
114If
115.I class
116is not specified, all debugging messages for the specified
117channel are turned on. Each channel will print messages about a particular
118component of
119.B wine.
120The following character can be either + or - to switch the specified
121channel on or off respectively. If there is no
122.I class
123part before it, a leading + can be omitted. Note that spaces are not
124allowed anywhere in the string.
125.PP
126Examples:
127.TP
128WINEDEBUG=warn+all
129will turn on all warning messages (recommended for debugging).
130.br
131.TP
132WINEDEBUG=warn+dll,+heap
133will turn on DLL warning messages and all heap messages.
134.br
135.TP
136WINEDEBUG=fixme-all,warn+cursor,+relay
137will turn off all FIXME messages, turn on cursor warning messages, and turn
138on all relay messages (API calls).
139.br
140.TP
141WINEDEBUG=relay
142will turn on all relay messages. For more control on including or excluding
143functions and dlls from the relay trace look into the [Debug] section
144of the wine configuration file.
145.PP
146For more information on debugging messages, see the
147.I Running Wine
148chapter of the Wine User Guide.
149.RE
Alexandre Julliardbb4ddfe2003-12-05 00:17:41 +0000150.TP
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000151.I WINEDLLPATH
Alexandre Julliard35363162002-05-22 21:32:49 +0000152Specifies the path(s) in which to search for builtin dlls and Winelib
153applications. This is a list of directories separated by ":". In
154addition to any directory specified in
155.I WINEDLLPATH,
156Wine will also look in
157.B @dlldir@.
Alexandre Julliard26320d12001-03-23 23:45:45 +0000158.TP
Alexandre Julliard20525382003-09-25 20:33:41 +0000159.I WINEDLLOVERRIDES
160Defines the override type and load order of dlls used in the loading
161process for any dll. The default is set in the configuration
162file. There are currently two types of libraries that can be loaded
163into a process' address space: Native windows dlls (
164.I native
165),
166.B wine
167internal dlls (
168.I builtin
169). The type may be abbreviated with the first letter of the type (
170.I n, b
171). Each sequence of orders must be separated by commas.
Alexandre Julliard8a372972004-03-11 23:22:29 +0000172.RS
173.PP
Alexandre Julliard20525382003-09-25 20:33:41 +0000174Each dll may have its own specific load order. The load order
175determines which version of the dll is attempted to be loaded into the
176address space. If the first fails, then the next is tried and so
177on. Multiple libraries with the same load order can be separated with
178commas. It is also possible to use specify different loadorders for
179different libraries by separating the entries by ";".
Alexandre Julliard8a372972004-03-11 23:22:29 +0000180.PP
Alexandre Julliard74121252004-01-05 21:19:22 +0000181The load order for a 16-bit dll is always defined by the load order of
182the 32-bit dll that contains it (which can be identified by looking at
183the symbolic link of the 16-bit .dll.so file). For instance if
184ole32.dll is configured as builtin, storage.dll will be loaded as
185builtin too, since the 32-bit ole32.dll contains the 16-bit
186storage.dll.
Alexandre Julliard8a372972004-03-11 23:22:29 +0000187.PP
Alexandre Julliard20525382003-09-25 20:33:41 +0000188Examples:
Alexandre Julliard20525382003-09-25 20:33:41 +0000189.TP
Alexandre Julliard74121252004-01-05 21:19:22 +0000190WINEDLLOVERRIDES="comdlg32,shell32=n,b"
Alexandre Julliard20525382003-09-25 20:33:41 +0000191.br
Alexandre Julliard74121252004-01-05 21:19:22 +0000192Try to load comdlg32 and shell32 as native windows dll first and try
Alexandre Julliard20525382003-09-25 20:33:41 +0000193the builtin version if the native load fails.
194.TP
Alexandre Julliard74121252004-01-05 21:19:22 +0000195WINEDLLOVERRIDES="comdlg32,shell32=n;c:\(rs\(rsfoo\(rs\(rsbar\(rs\(rsbaz=b"
Alexandre Julliard20525382003-09-25 20:33:41 +0000196.br
Alexandre Julliard74121252004-01-05 21:19:22 +0000197Try to load the libraries comdlg32 and shell32 as native windows dlls. Furthermore, if
Alexandre Julliard20525382003-09-25 20:33:41 +0000198an application request to load c:\(rsfoo\(rsbar\(rsbaz.dll load the builtin library baz.
199.TP
Alexandre Julliard74121252004-01-05 21:19:22 +0000200WINEDLLOVERRIDES="comdlg32=b,n;shell32=b;comctl32=n"
Alexandre Julliard20525382003-09-25 20:33:41 +0000201.br
Alexandre Julliard74121252004-01-05 21:19:22 +0000202Try to load comdlg32 as builtin first and try the native version if
203the builtin load fails; load shell32 always as builtin and comctl32
204always as native.
Alexandre Julliard20525382003-09-25 20:33:41 +0000205.RE
206.TP
Alexandre Julliard26320d12001-03-23 23:45:45 +0000207.I DISPLAY
208Specifies the X11 display to use.
Alexandre Julliard553a75e2004-04-29 00:27:57 +0000209.SH FILES
210.TP
211.I @bindir@/wine
212The
213.B wine
214program loader.
215.TP
216.I @bindir@/wineconsole
217The
218.B wine
219program loader for CUI (console) applications.
220.TP
221.I @bindir@/wineserver
222The
223.B wine
224server
225.TP
226.I @bindir@/winedbg
227The
228.B wine
229debugger
230.TP
Alexandre Julliard553a75e2004-04-29 00:27:57 +0000231.I @dlldir@
232Directory containing
233.B wine's
234shared libraries
235.TP
Alexandre Julliard553a75e2004-04-29 00:27:57 +0000236.I $WINEPREFIX/dosdevices
237Directory containing the DOS device mappings. Each file in that
238directory is a symlink to the Unix device file implementing a given
239device. For instance, if COM1 is mapped to /dev/ttyS0 you'd have a
240symlink of the form $WINEPREFIX/dosdevices/com1 -> /dev/ttyS0.
241.br
242DOS drives are also specified with symlinks; for instance if drive D:
243corresponds to the CDROM mounted at /mnt/cdrom, you'd have a symlink
244$WINEPREFIX/dosdevices/d: -> /mnt/cdrom. The Unix device corresponding
245to a DOS drive can be specified the same way, except with '::' instead
246of ':'. So for the previous example, if the CDROM device is mounted
247from /dev/hdc, the corresponding symlink would be
248$WINEPREFIX/dosdevices/d:: -> /dev/hdc.
Alexandre Julliardded30381995-07-06 17:18:27 +0000249.SH AUTHORS
Peter Gantenf35cdc82000-04-04 18:57:19 +0000250.B wine
Alexandre Julliard642d3131998-07-12 19:29:36 +0000251is available thanks to the work of many developers. For a listing
252of the authors, please see the file
253.B AUTHORS
254in the top-level directory of the source distribution.
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000255.SH COPYRIGHT
256.B wine
Andriy Palamarchuk1827e7d12002-05-08 23:14:19 +0000257can be distributed under the terms of the LGPL license. A copy of the
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000258license is in the file
Alexandre Julliard553a75e2004-04-29 00:27:57 +0000259.B COPYING.LIB
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000260in the top-level directory of the source distribution.
Alexandre Julliardded30381995-07-06 17:18:27 +0000261.SH BUGS
Alexandre Julliardded30381995-07-06 17:18:27 +0000262.PP
Andreas Mohrff96f912000-11-28 22:35:20 +0000263A status report on many applications is available from
Dimitrie O. Paunf950d972004-05-06 23:51:43 +0000264.I http://appdb.winehq.org.
James Juran8d01e081998-11-27 16:06:08 +0000265Please add entries to this list for applications you currently run.
Alexandre Julliardded30381995-07-06 17:18:27 +0000266.PP
Andriy Palamarchuk1827e7d12002-05-08 23:14:19 +0000267Bug reports may be posted to Wine Bugzilla
Dimitrie O. Paunc0232542003-11-26 03:55:01 +0000268.I http://bugs.winehq.org
James Juran38a3d261999-01-01 18:45:52 +0000269If you want to post a bug report, please read the file
Andriy Palamarchukac3a9a32002-05-04 18:41:27 +0000270.I documentation/bugs.sgml
Peter Gantenf35cdc82000-04-04 18:57:19 +0000271in the
272.B wine
Andriy Palamarchuk1827e7d12002-05-08 23:14:19 +0000273source to see what information is necessary
James Juran8d01e081998-11-27 16:06:08 +0000274.PP
Andriy Palamarchuk1827e7d12002-05-08 23:14:19 +0000275Problems and suggestions with this manpage please also report to
Dimitrie O. Paunc0232542003-11-26 03:55:01 +0000276.I http://bugs.winehq.org
Alexandre Julliardded30381995-07-06 17:18:27 +0000277.SH AVAILABILITY
278The most recent public version of
279.B wine
Alexandre Julliard8a372972004-03-11 23:22:29 +0000280can be downloaded from
281.I http://www.winehq.org/download
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +0000282.PP
Alexandre Julliard4e474032006-08-23 15:59:14 +0200283The latest snapshot of the code may be obtained via GIT. For information
James Juran47142a41998-10-21 15:18:52 +0000284on how to do this, please see
285.I
Alexandre Julliard4e474032006-08-23 15:59:14 +0200286http://www.winehq.org/site/git
James Juran47142a41998-10-21 15:18:52 +0000287.PP
Douglas Ridgway692389d1998-11-22 16:56:44 +0000288WineHQ, the
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +0000289.B wine
Douglas Ridgway692389d1998-11-22 16:56:44 +0000290development headquarters, is at
Dimitrie O. Paunf950d972004-05-06 23:51:43 +0000291.I http://www.winehq.org.
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +0000292This website contains a great deal of information about
Alexandre Julliardd6baf1b1999-07-18 15:47:22 +0000293.B wine.
Alexandre Julliardebfc0fe1998-06-28 18:40:26 +0000294.PP
Peter Gantenf35cdc82000-04-04 18:57:19 +0000295For further information about
Andreas Mohrff96f912000-11-28 22:35:20 +0000296.B wine
297development, you might want to subscribe to the
Peter Gantenf35cdc82000-04-04 18:57:19 +0000298.B wine
Andriy Palamarchuk1827e7d12002-05-08 23:14:19 +0000299mailing lists at
Alexandre Julliardbb4ddfe2003-12-05 00:17:41 +0000300.I http://www.winehq.org/forums
Peter Gantenf35cdc82000-04-04 18:57:19 +0000301
Alexandre Julliard32fcfc22000-11-30 01:15:30 +0000302.SH "SEE ALSO"
Alexandre Julliarda4bb17c2005-06-14 19:25:02 +0000303.BR wineserver (1),\ winedbg (1)