2 .TH WINE 1 "November 22, 1998" "Version 981108" "Windows On Unix"
4 wine \- run Windows programs on Unix
6 .BI "wine " "[wine_options]"
8 .BI "program_name [program_args]"
10 .IB "[program_name [program_args] "
16 loads and runs the given program, where the program is a DOS, Windows 3.x,
20 currently runs a growing list of applications written for both Win3.1 and
21 Win95. Older, simpler applications work better than newer, more complex
22 ones. A large percentage of the API has been implemented, although there
23 are still several major pieces of work left to do.
27 will run under any Linux kernel more recent than 0.99.13, or
28 under recent releases of NetBSD/i386, FreeBSD and OpenBSD/i386.
30 The current support for multithreaded applications relies on the
32 system call, which is currently available only on Linux systems running
36 must be installed. To use Wine's support for multithreaded applications,
37 your X libraries must be reetrant. If you have libc6 (glibc2), or you
38 compiled the X libraries yourself, they were probably compiled with the
39 reetrant option enabled.
42 must be installed. If you're using Red Hat, the name of the package is
43 XFree86-devel. If you're using Debian, the packages you need are xpm4g
44 and xpm4g-dev. If you have some other distribution, please send email to
45 the address listed in the
48 section to get it included in this man page.
51 2.7.x or later is required to build
53 Versions earlier than 2.7.2.3 may have problems when certain files are
54 compiled with optimization.
57 currently doesn't work with wine. The cause of this problem is unknown.
61 run "./configure" in the top-level directory of the source, which will
62 detect your specific setup and create the Makefiles. You can run
63 "./configure --help" to see the available configuration options. Then do
64 "make depend; make" to build the
66 executable, and then "make install" to install it. By default,
68 is installed in the /usr/local/ heirarchy; you can specify a different path with
69 the --prefix option when running
72 For more information, see the
74 file contained in the source distribution.
81 Use the named configuration file rather than the default
82 (/usr/local/etc/wine.conf or ~/.winerc).
85 Enter the debugger before starting application
87 .I -debugmsg [xxx]#name[,[xxx1]#name1]
88 Turn debugging messages on or off.
91 xxx is optional and can be one of the following:
97 If xxx is not specified, all debugging messages for the specified
98 channel are turned on. Each channel will print messages about a particular
99 component of Wine. # is required and can be either + or -. Note that
100 there is not a space after the comma between names.
104 .I -debugmsg warn+dll,+heap
105 will turn on DLL warning messages and all heap messages.
107 .I -debugmsg fixme-all,warn+cursor,+relay
108 will turn off all FIXME messages, turn on cursor warning messages, and turn
109 on all relay messages (API calls).
111 The full list of names is: all, accel, advapi, animate, aspi, atom,
112 bitblt, bitmap, caret, cd, cdaudio, class, clipboard, clipping, combo,
113 comboex, comm, commctrl, commdlg, console, crtdll, cursor, datetime, dc,
114 dde, ddeml, ddraw, debug, dialog, dinput, dll, dosfs, dosmem, dplay, driver,
115 dsound, edit, event, exec, file, fixup, font, gdi, global, graphics, header,
116 heap, hook, hotkey, icon, imagehlp, imagelist, imm, int, int10, int16, int17,
117 int19, int21, int31, io, ipaddress, key, keyboard, ldt, listbox, listview,
118 local, mci, mcianim, mciwave, mdi, menu, message, metafile, midi, mmaux, mmio,
119 mmsys, mmtime, module, monthcal, mpr, msacm, msg, nativefont, nonclient, ntdll,
120 ole, pager, palette, pidl, print, process, profile, progress, prop, psapi,
121 psdrv, rebar, reg, region, relay, resource, s, scroll, security, segment,
122 selector, sem, sendmsg, shell, shm, snoop, sound, static, statusbar, stress,
123 string, syscolor, system, tab, task, text, thread, thunk, timer, toolbar,
124 toolhelp, tooltips, trackbar, treeview, tweak, uitools, updown, ver, virtual,
125 vxd, win, win16drv, win32, wing, winsock, wnet, x11, x11drv.
127 For more information on debugging messages, see the file
128 .I documentation/debug-msgs
129 in the source distribution.
133 Change the depth to use for multiple-depth screens
136 Use a desktop window of the given geometry
139 Use the specified display
142 Enables/disables built-in DLL's - starting wine with
144 is probably a good idea.
145 The full list of DLLs modifiable by this is:
146 ADVAPI32, AVIFILE, COMCTL32, COMDLG32, COMM, COMMDLG, COMPOBJ, CRTDLL,
147 DCIMAN32, DDEML, DDRAW, DINPUT, DISPLAY, DPLAY, DPLAYX, DSOUND, GDI, GDI32,
148 IMAGEHLP, IMM32, KEYBOARD, LZ32, LZEXPAND, MMSYSTEM, MOUSE, MPR, MSACM,
149 MSACM32, MSNET32, MSVFW32, MSVIDEO, OLE2, OLE32, OLE2CONV, OLE2DISP, OLE2NLS,
150 OLE2PROX, OLE2THK, OLEAUT32, OLECLI, OLECLI32, OLEDLG, OLESVR, OLESVR32,
151 PSAPI, RASAPI16, RASAPI32, SHELL, SHELL32, SOUND, STORAGE, STRESS, SYSTEM,
152 TAPI32, TOOLHELP, TYPELIB, USER, USER32, VER, VERSION, W32SKRNL, W32SYS,
153 WIN32S16, WIN87EM, WINASPI, WINDEBUG, WINEPS, WINMM, WING, WINSOCK, WINSPOOL,
154 WNASPI32, WOW32, WPROCS, WSOCK32
157 Read only files may not be opened in write mode (the default is to
158 allow opening read-only files for writing, because most Windows
159 programs always request read-write access, even on CD-ROM drives...).
162 Use a "standard" color map.
170 (one of En, Es, De, No, Fr, Fi, Da, Cz, Eo, It, Ko, Hu, Pl, Po, Sw, Ca)
173 Create each top-level window as a properly managed X window
176 Determines the mode in which
178 is started. Possible mode names are
182 Enhanced mode is the default (when no -mode option is specified).
185 Set the application name
188 Use a private color map
191 Turn on synchronous display mode
194 Specify which Windows version WINE should imitate.
195 Possible arguments are: win31, win95, nt351, and nt40.
197 .SH PROGRAM/ARGUMENTS
198 The program name may be specified in DOS format (
200 C:\\WINDOWS\\SOL.EXE)
202 .I /msdos/windows/sol.exe
203 ). The program being executed may be passed arguments by adding them on
204 to the end of the command line invoking
206 (such as: wine "notepad C:\\TEMP\\README.TXT"). Note that
207 the program name and its arguments
209 be passed as a single parameter, which is usually accomplished by placing
210 them together in quotation marks. Multiple applications may be started
211 by placing all of them on the command line (such as: wine notepad clock).
212 .SH CONFIGURATION FILE
214 expects a configuration file (
215 .I /usr/local/etc/wine.conf
217 conform to the following rules (the format is just like a Windows .ini
218 file). The actual file name may be specified during the execution of
221 script. Alternatively, you may have a
223 file of this format in your home directory or have the environment variable
225 pointing to a configuration file, or use the -config option on the command
227 .SH CONFIGURATION FILE FORMAT
228 All entries are grouped in sections; a section begins with the line
232 and continues until the next section starts. Individual entries
233 consist of lines of the form
237 The value can be any text string, optionally included in single or
238 double quotes; it can also contain references to environment variables
241 Supported section names and entries are listed below.
245 This section is used to specify the root directory and type of each
247 drive, since most Windows applications require a DOS/MS-Windows based
248 disk drive & directory scheme. There is one such section for every
249 drive you want to configure.
251 .I format: Path = <rootdirectory>
255 If you mounted your dos partition as
257 and installed Microsoft Windows in
258 C:\\WINDOWS then you should specify
264 .I format: Type = <type>
268 Used to specify the drive type; supported types are floppy, hd, cdrom
271 .I format: Label = <label>
275 Used to specify the drive label; limited to 11 characters.
277 .I format: Serial = <serial>
281 Used to specify the drive serial number, as an 8-character hexadecimal
284 .I format: Filesystem = <fstype>
288 Used to specify the type of the filesystem on which the drive resides;
289 supported types are msdos (or fat), win95 (or vfat), unix. If the
290 drive spans several different filesystems, say unix.
294 .I format: windows = <directory>
298 Used to specify a different Windows directory
300 .I format: system = <directory>
302 default: C:\\WINDOWS\\SYSTEM
304 Used to specify a different system directory
306 .I format: temp = <directory>
310 Used to specify a directory where Windows applications can store
313 .I format: path = <directories separated by semi-colons>
315 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
317 Used to specify the path which will be used to find executables and .DLL's.
319 .I format: symboltablefile = <filename>
323 Used to specify the path and file name of the symbol table used by the built-in
328 .I format: com[12345678] = <devicename>
332 Used to specify the devices which are used as com1 - com8.
336 .I format: lpt[12345678] = <devicename>
340 Used to specify the devices which are used as lpt1 - lpt8.
344 .I format: file = <filename or CON when logging to stdout>
348 Used to specify the file which will be used as
351 .I format: exclude = <message names separated by semicolons>
355 Used to specify which messages will be excluded from the logfile.
357 .I format: include = <message names separated by semicolons>
360 .br Used to specify which messages will be included in the logfile.
364 .I format: WineLook=<Win31|Win95|Win98>
368 Use Win95-like window displays or Win3.1-like window displays.
369 .SH SAMPLE CONFIGURATION FILE
392 system=c:\\windows\\system
396 path=c:\\windows;c:\\windows\\system;c:\\winapps\\word
398 symboltablefile=/usr/local/lib/wine.sym
416 Exclude=WM_TIMER;WM_SETCURSOR;WM_MOUSEMOVE;WM_NCHITTEST;
425 is available thanks to the work of many developers. For a listing
426 of the authors, please see the file
428 in the top-level directory of the source distribution.
431 A status report on many appplications is available from
432 .I http://www.winehq.com/Apps.
433 Please add entries to this list for applications you currently run.
435 Bug reports and successes may be posted to
436 .I comp.emulators.ms-windows.wine.
437 If you do so, please read the file
438 .I documentation/bugreports
441 For problems and suggestions with this manpage, please send a note to
442 James Juran <jrj120@psu.edu>.
444 The most recent public version of
446 can be obtained via FTP from sunsite.unc.edu or tsx-11.mit.edu in the /pub/linux/ALPHA/Wine/development
447 directory. The releases are in the format 'Wine-yymmdd.tar.gz',
448 or 'Wine-yymmdd.diff.gz' for the diff's from the previous release.
450 The latest snapshot of the code may be obtained via CVS. For information
451 on how to do this, please see
453 http://www.winehq.com/dev.html
457 development headquarters, is at
458 .I http://www.winehq.com/.
459 This website contains a great deal of information about
461 as well as a collection of unofficial patches against the current release.
466 .I comp.emulators.ms-windows.wine.
467 All discussions about the project take place in this forum.
471 .I /usr/local/bin/wine
472 The Wine program loader.
474 .I /usr/local/bin/dosmod
475 The DOS program loader.
477 .I /usr/local/etc/wine.conf
478 Global configuration file for wine.
481 User-specific configuration file
483 .I /usr/local/lib/wine.sym
484 Global symbol table (used in debugger)