2 .TH WINE 1 "October 20, 1998" "Version 981018" "Windows On Unix"
4 wine \- run Windows programs on Unix
24 loads and runs the given program, where the program is a DOS, Windows 3.x,
28 currently runs a growing list of applications written for both Win3.1 and
29 Win95. Older, simpler applications work better than newer, more complex
30 ones. A large percentage of the API has been implemented, although there
31 are still several major pieces of work left to do.
35 will run under any Linux kernel more recent than 0.99.13, or
36 under recent releases of NetBSD/i386, FreeBSD and OpenBSD/i386.
38 The current support for multithreaded applications relies on the
40 system call, which is currently available only on Linux systems running
44 must be installed. To use Wine's support for multithreaded applications,
45 your X libraries must be reetrant. If you have libc6 (glibc2), or you
46 compiled the libraries yourself, they were probably compiled with the
47 reetrant option enabled.
50 must be installed. If you're using Red Hat, the name of the package is
51 XFree86-devel. The sources may be obtained via FTP from ftp.Xfree86.org
55 2.7.x or later is required to build
57 Versions earlier than 2.7.2.3 may have problems when certain files are
58 compiled with optimization.
62 run "./configure" in the top-level directory of the source, which will
63 detect your specific setup and create the Makefiles. You can run
64 "./configure --help" to see the available configuration options. Then do
65 "make depend; make" to build the
67 executable, and then "make install" to install it. By default,
69 is installed in /usr/local/bin; you can specify a different path with
70 the --prefix option when running
73 For more information, see the
75 file contained in the source distribution.
82 Use the named configuration file rather than the default
83 (/usr/local/etc/wine.conf or ~/.winerc).
86 Enter the debugger before starting application
88 .I -debugmsg [xxx]#name[,[xxx1]#name1]
89 Turn debugging messages on or off.
92 xxx is optional and can be one of the following:
98 If xxx is not specified, all debugging messages for the specified
99 channel are turned on. Each channel will print messages about a particular
100 component of Wine. # is required and can be either + or -. Note that
101 there is not a space after the comma between names.
105 .I -debugmsg warn+dll,+heap
106 will turn on DLL warning messages and all heap messages.
108 .I -debugmsg fixme-all,warn+cursor,+relay
109 will turn off all FIXME messages, turn on cursor warning messages, and turn
110 on all relay messages (API calls).
112 The full list of names is: all, accel, advapi, animate, aspi, atom,
113 bitblt, bitmap, caret, cd, cdaudio, class, clipboard, clipping, combo,
114 comboex, comm, commctrl, commdlg, console, crtdll, cursor, dc, dde, ddeml,
115 ddraw, debug, dialog, dinput, dll, dosfs, dosmem, dplay, driver, dsound,
116 edit, event, exec, file, fixup, font, gdi, global, graphics, header, heap,
117 hook, hotkey, icon, imagehlp, imagelist, imm, int, int10, int16, int21,
118 int31, ipaddress, key, keyboard, ldt, listbox, local, mci, mcianim, mciwave, mdi, menu, message, metafile, midi, mmaux, mmio, mmsys, mmtime, module, mpr,
119 msg, nativefont, nonclient, ntdll, ole, pager, palette, pidl, print, process,
120 profile, progress, prop, psapi, psdrv, rebar, reg, region, relay, resource,
121 s, scroll, security, segment, selector, sem, sendmsg, shell, shm, snoop,
122 sound, static, statusbar, stress, string, syscolor, system, tab, task, text,
123 thread, thunk, timer, toolbar, toolhelp, tooltips, trackbar, treeview, tweak,
124 uitools, updown, ver, virtual, vxd, win, win16drv, win32, wing, winsock,
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 (C:\\WINDOWS\\SOL.EXE) or in
199 Unix format (/msdos/windows/sol.exe). The program being executed may be
200 passed arguments by adding them on to the end of the command line invoking
202 (such as: wine "notepad C:\\TEMP\\README.TXT"). Note that
203 the program name and its arguments
205 be passed as a single parameter, which is usually accomplished by placing
206 them together in quotation marks. Multiple applications may be started
207 by placing all of them on the command line (such as: wine notepad clock).
208 .SH CONFIGURATION FILE
210 expects a configuration file (/usr/local/etc/wine.conf), which should
211 conform to the following rules (the format is just like a Windows .ini
212 file). The actual file name may be specified during the execution of
215 script. Alternatively, you may have a
217 file of this format in your home directory or have the environment variable
219 pointing to a configuration file, or use the -config option on the command
221 .SH CONFIGURATION FILE FORMAT
222 All entries are grouped in sections; a section begins with the line
226 and continues until the next section starts. Individual entries
227 consist of lines of the form
231 The value can be any text string, optionally included in single or
232 double quotes; it can also contain references to environment variables
235 Supported section names and entries are listed below.
239 This section is used to specify the root directory and type of each
241 drive, since most Windows applications require a DOS/MS-Windows based
242 disk drive & directory scheme. There is one such section for every
243 drive you want to configure.
245 .I format: Path = <rootdirectory>
249 If you mounted your dos partition as
251 and installed Microsoft Windows in
252 C:\\WINDOWS then you should specify
258 .I format: Type = <type>
262 Used to specify the drive type; supported types are floppy, hd, cdrom
265 .I format: Label = <label>
269 Used to specify the drive label; limited to 11 characters.
271 .I format: Serial = <serial>
275 Used to specify the drive serial number, as an 8-character hexadecimal
278 .I format: Filesystem = <fstype>
282 Used to specify the type of the filesystem on which the drive resides;
283 supported types are msdos (or fat), win95 (or vfat), unix. If the
284 drive spans several different filesystems, say unix.
288 .I format: windows = <directory>
292 Used to specify a different Windows directory
294 .I format: system = <directory>
296 default: C:\\WINDOWS\\SYSTEM
298 Used to specify a different system directory
300 .I format: temp = <directory>
304 Used to specify a directory where Windows applications can store
307 .I format: path = <directories separated by semi-colons>
309 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
311 Used to specify the path which will be used to find executables and .DLL's.
313 .I format: symboltablefile = <filename>
317 Used to specify the path and file name of the symbol table used by the built-in
322 .I format: com[12345678] = <devicename>
326 Used to specify the devices which are used as com1 - com8.
330 .I format: lpt[12345678] = <devicename>
334 Used to specify the devices which are used as lpt1 - lpt8.
338 .I format: file = <filename or CON when logging to stdout>
342 Used to specify the file which will be used as
345 .I format: exclude = <message names separated by semicolons>
349 Used to specify which messages will be excluded from the logfile.
351 .I format: include = <message names separated by semicolons>
354 .br Used to specify which messages will be included in the logfile.
358 .I format: WineLook=<Win31|Win95|Win98>
362 Use Win95-like window displays or Win3.1-like window displays.
363 .SH SAMPLE CONFIGURATION FILE
386 system=c:\\windows\\system
390 path=c:\\windows;c:\\windows\\system;c:\\winapps\\word
392 symboltablefile=/usr/local/lib/wine.sym
410 Exclude=WM_TIMER;WM_SETCURSOR;WM_MOUSEMOVE;WM_NCHITTEST;
419 is available thanks to the work of many developers. For a listing
420 of the authors, please see the file
422 in the top-level directory of the source distribution.
424 There are too many to count, much less list. Some bugs of note, however,
425 are that programs requiring VBRUNxxx.DLL are unreliable (with reports of
426 some working), OLE is not in place, the internal COMMDLG support is not yet
427 at 100% (although rapidly improving). Color support for other than 8bpp
428 (256 colors) is currently flaky.
430 A status report on many appplications is available from
431 .I http://www.winehq.com/apps.cgi.
432 Users can add, modify, and delete entries on this list.
434 Bug reports and successes may be posted to
435 .I comp.emulators.ms-windows.wine.
437 The most recent public version of
439 can be obtained via FTP from sunsite.unc.edu or tsx-11.mit.edu in the /pub/linux/ALPHA/Wine/development
440 directory. The releases are in the format 'Wine-yymmdd.tar.gz',
441 or 'Wine-yymmdd.diff.gz' for the diff's from the previous release.
443 The latest snapshot of the code may be obtained via CVS. For information
444 on how to do this, please see
446 http://www.winehq.com/dev.html
450 development headquarters, is at
451 .I http://www.winehq.com/.
452 This website contains a great deal of information about
454 as well as a collection of unofficial patches against the current release.
459 .I comp.emulators.ms-windows.wine.
460 All discussions about the project take place in this forum.
464 .I /usr/local/bin/wine
465 The Wine program loader.
467 .I /usr/local/etc/wine.conf
468 Global configuration file for wine.
470 .I /usr/local/lib/wine.sym
471 Global symbol table (used in debugger)
474 User-specific configuration file