2 .TH WINE 1 "October 20, 1998" "Version 981018" "Windows Emulator"
4 wine \- run Windows programs under Unix
23 invokes the Windows emulator.
26 currently runs a growing list of applications written for both Win3.1 and
27 Win95. Older, simpler applications work better than newer, more complex
28 ones. A large percentage of the API has been implemented, although there
29 are still several major pieces of work left to do.
33 will run under any Linux kernel more recent than 0.99.13, or
34 under recent releases of NetBSD/i386, FreeBSD and OpenBSD/i386.
36 The current support for multithreaded applications relies on the
38 system call, which is currently available only on Linux systems running
42 must be installed. To use Wine's support for multithreaded applications,
43 your X libraries must be reetrant. If you have libc6 (glibc2), or you
44 compiled the libraries yourself, they were probably compiled with the
45 reetrant option enabled.
48 must be installed. If you're using Red Hat, the name of the package is
49 XFree86-devel. The sources may be obtained via FTP from ftp.Xfree86.org
53 2.7.x or later is required to build
55 Versions earlier than 2.7.2.3 may have problems when certain files are
56 compiled with optimization.
60 run "./configure" in the top-level directory of the source, which will
61 detect your specific setup and create the Makefiles. You can run
62 "./configure --help" to see the available configuration options. Then do
63 "make depend; make" to build the
65 executable, and then "make install" to install it. By default,
67 is installed in /usr/local/bin; you can specify a different path with
68 the --prefix option when running
71 For more information, see the
73 file contained in the source distribution.
80 Use the named configuration file rather than the default
81 (/usr/local/etc/wine.conf or ~/.winerc).
84 Enter the debugger before starting application
86 .I -debugmsg [xxx]#name[,[xxx1]#name1]
87 Turn debugging messages on or off.
90 xxx is optional and can be one of the following:
96 If xxx is not specified, all debugging messages for the specified
97 channel are turned on. Each channel will print messages about a particular
98 component of Wine. # is required and can be either + or -. Note that
99 there is not a space after the comma between names.
103 .I -debugmsg warn+dll,+heap
104 will turn on DLL warning messages and all heap messages.
106 .I -debugmsg fixme-all,warn+cursor,+relay
107 will turn off all FIXME messages, turn on cursor warning messages, and turn
108 on all relay messages (API calls).
110 The full list of names is: all, accel, advapi, animate, aspi, atom,
111 bitblt, bitmap, caret, cd, cdaudio, class, clipboard, clipping, combo,
112 comboex, comm, commctrl, commdlg, console, crtdll, cursor, dc, dde, ddeml,
113 ddraw, debug, dialog, dinput, dll, dosfs, dosmem, dplay, driver, dsound,
114 edit, event, exec, file, fixup, font, gdi, global, graphics, header, heap,
115 hook, hotkey, icon, imagehlp, imagelist, imm, int, int10, int16, int21,
116 int31, ipaddress, key, keyboard, ldt, listbox, local, mci, mcianim, mciwave, mdi, menu, message, metafile, midi, mmaux, mmio, mmsys, mmtime, module, mpr,
117 msg, nativefont, nonclient, ntdll, ole, pager, palette, pidl, print, process,
118 profile, progress, prop, psapi, psdrv, rebar, reg, region, relay, resource,
119 s, scroll, security, segment, selector, sem, sendmsg, shell, shm, snoop,
120 sound, static, statusbar, stress, string, syscolor, system, tab, task, text,
121 thread, thunk, timer, toolbar, toolhelp, tooltips, trackbar, treeview, tweak,
122 uitools, updown, ver, virtual, vxd, win, win16drv, win32, wing, winsock,
125 For more information on debugging messages, see the file
126 .I documentation/debug-msgs
127 in the source distribution.
131 Change the depth to use for multiple-depth screens
134 Use a desktop window of the given geometry
137 Use the specified display
140 Enables/disables built-in DLL's - starting wine with
142 is probably a good idea.
143 The full list of DLLs modifiable by this is:
144 ADVAPI32, AVIFILE, COMCTL32, COMDLG32, COMM, COMMDLG, COMPOBJ, CRTDLL,
145 DCIMAN32, DDEML, DDRAW, DINPUT, DISPLAY, DPLAY, DPLAYX, DSOUND, GDI, GDI32,
146 IMAGEHLP, IMM32, KEYBOARD, LZ32, LZEXPAND, MMSYSTEM, MOUSE, MPR, MSACM,
147 MSACM32, MSNET32, MSVFW32, MSVIDEO, OLE2, OLE32, OLE2CONV, OLE2DISP, OLE2NLS,
148 OLE2PROX, OLE2THK, OLEAUT32, OLECLI, OLECLI32, OLEDLG, OLESVR, OLESVR32,
149 PSAPI, RASAPI16, RASAPI32, SHELL, SHELL32, SOUND, STORAGE, STRESS, SYSTEM,
150 TAPI32, TOOLHELP, TYPELIB, USER, USER32, VER, VERSION, W32SKRNL, W32SYS,
151 WIN32S16, WIN87EM, WINASPI, WINDEBUG, WINEPS, WINMM, WING, WINSOCK, WINSPOOL,
152 WNASPI32, WOW32, WPROCS, WSOCK32
155 Read only files may not be opened in write mode (the default is to
156 allow opening read-only files for writing, because most Windows
157 programs always request read-write access, even on CD-ROM drives...).
160 Use a "standard" color map.
168 (one of En, Es, De, No, Fr, Fi, Da, Cz, Eo, It, Ko, Hu, Pl, Po, Sw, Ca)
171 Create each top-level window as a properly managed X window
174 Determines the mode in which
176 is started. Possible mode names are
180 Enhanced mode is the default (when no -mode option is specified).
183 Set the application name
186 Use a private color map
189 Turn on synchronous display mode
192 Specify which Windows version WINE should imitate.
193 Possible arguments are: win31, win95, nt351, and nt40.
195 .SH PROGRAM/ARGUMENTS
196 The program name may be specified in DOS format (C:\\WINDOWS\\SOL.EXE) or in
197 Unix format (/msdos/windows/sol.exe). The program being executed may be
198 passed arguments by adding them on to the end of the command line invoking
200 (such as: wine "notepad C:\\TEMP\\README.TXT"). Note that
201 the program name and its arguments
203 be passed as a single parameter, which is usually accomplished by placing
204 them together in quotation marks. Multiple applications may be started
205 by placing all of them on the command line (such as: wine notepad clock).
206 .SH CONFIGURATION FILE
208 expects a configuration file (/usr/local/etc/wine.conf), which should
209 conform to the following rules (the format is just like a Windows .ini
210 file). The actual file name may be specified during the execution of
213 script. Alternatively, you may have a
215 file of this format in your home directory or have the environment variable
217 pointing to a configuration file, or use the -config option on the command
219 .SH CONFIGURATION FILE FORMAT
220 All entries are grouped in sections; a section begins with the line
224 and continues until the next section starts. Individual entries
225 consist of lines of the form
229 The value can be any text string, optionally included in single or
230 double quotes; it can also contain references to environment variables
233 Supported section names and entries are listed below.
237 This section is used to specify the root directory and type of each
239 drive, since most Windows applications require a DOS/MS-Windows based
240 disk drive & directory scheme. There is one such section for every
241 drive you want to configure.
243 .I format: Path = <rootdirectory>
247 If you mounted your dos partition as
249 and installed Microsoft Windows in
250 C:\\WINDOWS then you should specify
256 .I format: Type = <type>
260 Used to specify the drive type; supported types are floppy, hd, cdrom
263 .I format: Label = <label>
267 Used to specify the drive label; limited to 11 characters.
269 .I format: Serial = <serial>
273 Used to specify the drive serial number, as an 8-character hexadecimal
276 .I format: Filesystem = <fstype>
280 Used to specify the type of the filesystem on which the drive resides;
281 supported types are msdos (or fat), win95 (or vfat), unix. If the
282 drive spans several different filesystems, say unix.
286 .I format: windows = <directory>
290 Used to specify a different Windows directory
292 .I format: system = <directory>
294 default: C:\\WINDOWS\\SYSTEM
296 Used to specify a different system directory
298 .I format: temp = <directory>
302 Used to specify a directory where Windows applications can store
305 .I format: path = <directories separated by semi-colons>
307 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
309 Used to specify the path which will be used to find executables and .DLL's.
311 .I format: symboltablefile = <filename>
315 Used to specify the path and file name of the symbol table used by the built-in
320 .I format: com[12345678] = <devicename>
324 Used to specify the devices which are used as com1 - com8.
328 .I format: lpt[12345678] = <devicename>
332 Used to specify the devices which are used as lpt1 - lpt8.
336 .I format: file = <filename or CON when logging to stdout>
340 Used to specify the file which will be used as
343 .I format: exclude = <message names separated by semicolons>
347 Used to specify which messages will be excluded from the logfile.
349 .I format: include = <message names separated by semicolons>
352 .br Used to specify which messages will be included in the logfile.
356 .I format: WineLook=<Win31|Win95|Win98>
360 Use Win95-like window displays or Win3.1-like window displays.
361 .SH SAMPLE CONFIGURATION FILE
384 system=c:\\windows\\system
388 path=c:\\windows;c:\\windows\\system;c:\\winapps\\word
390 symboltablefile=/usr/local/lib/wine.sym
408 Exclude=WM_TIMER;WM_SETCURSOR;WM_MOUSEMOVE;WM_NCHITTEST;
417 is available thanks to the work of many developers. For a listing
418 of the authors, please see the file
420 in the top-level directory of the source distribution.
422 There are too many to count, much less list. Some bugs of note, however,
423 are that programs requiring VBRUNxxx.DLL are unreliable (with reports of
424 some working), OLE is not in place, the internal COMMDLG support is not yet
425 at 100% (although rapidly improving). Color support for other than 8bpp
426 (256 colors) is currently flaky.
428 A status report on many appplications is available from
429 .I http://www.winehq.com/apps.cgi.
430 Users can add, modify, and delete entries on this list.
432 Bug reports and successes may be posted to
433 .I comp.emulators.ms-windows.wine.
435 The most recent public version of
437 can be obtained via FTP from sunsite.unc.edu or tsx-11.mit.edu in the /pub/linux/ALPHA/Wine/development
438 directory. The releases are in the format 'Wine-yymmdd.tar.gz',
439 or 'Wine-yymmdd.diff.gz' for the diff's from the previous release.
441 The latest snapshot of the code may be obtained via CVS. For information
442 on how to do this, please see
444 http://www.winehq.com/cvs.html
449 .I http://www.winehq.com.
450 This website contains a great deal of information about
452 as well as a collection of unofficial patches against the current release.
457 .I comp.emulators.ms-windows.wine.
458 All discussions about the project take place in this forum.
462 .I /usr/local/bin/wine
465 .I /usr/local/etc/wine.conf
466 Global configuration file for wine.
468 .I /usr/local/lib/wine.sym
469 Global symbol table (used in debugger)
472 User-specific configuration file