Release 960314
[wine/multimedia.git] / wine.man
blob2f3f6c5f1556154cc02ab407d680b6f55870dc6f
1 .\" -*- nroff -*-
2 .TH WINE 1 "September 1, 1995" "Version 9/1/95" "Windows Emulation"
3 .SH NAME
4 wine \- run Windows 3.x programs under Linux
5 .SH SYNOPSIS
6 .B wine
8 .I options
10 .I program_name
12 .I arguments
14 .SH DESCRIPTION
15 .B wine
16 invokes the Linux Windows emulator.
17 .PP
18 .B wine 
19 currently runs a number of games and small applications (approximately
20 half of the applets and common games actually run), although the entire API
21 has not been implemented.
22 .PP
23 See the files 
24 .B README,
25 .B ChangeLog, 
26 .B configure, 
27 and the
28 .B Makefile
29 contained in the source distribution
30 to compile
31 .B wine.
32 .SH REQUIREMENTS
33 At present, 
34 .B wine
35 will run under any Linux kernel more recent than 0.99.13, or
36 under recent releases of NetBSD and FreeBSD.
37 .PP
38 .B X
39 must be installed.
40 .PP
41 .B libXpm
42 must be installed.  (It is probably available from the same site 
43 .B wine
44 was, or the sources may be FTP'd from ftp.x.org).
45 .SH INSTALLATION
46 To install 
47 .B Wine,
48 run "./configure", which will detect your specific setup and create
49 the Makefiles. You can run "./configure --help" to see the available
50 configuration options. Then do "make depend; make" to build the
51 .B wine
52 executable, and then "make install" to install it. By default,
53 .B wine
54 is installed in /usr/local/bin; you can specify a different path with
55 the --prefix option when running
56 .B configure.
57 .SH OPTIONS
58 .TP
59 .I -allowreadonly
60 Read only files may be opened in write mode
61 .TP
62 .I -backingstore
63 Turn on backing store
64 .TP
65 .I -debug
66 Enter the debugger before starting application
67 .TP
68 .I -debugmsg name[,name]
69 Turn debugging messages on or off - for instance, 
70 .I -debugmsg +dll,+heap
71 will turn on DLL and heap debugging messages.  The full list is:
72 all, accel, bitblt, bitmap, caret, catch, cdaudio, class, clipboard, clipping,
73 combo, comm, cursor, dc, dialog, dll, dosfs, driver, edit, enum, event, exec,
74 file, fixup, font, gdi, global, graphics, icon, int, key, keyboard, ldt,
75 listbox, local, malloc, mci, mcianim, mciwave, mdi, menu, menucalc, message,
76 metafile, midi, mmio, mmsys, mmtime, module, msg, nonclient, ole, palette, 
77 profile, prop, reg, region, relay, resource, scroll, selector, selectors, 
78 stress, syscolor, task, text, timer, toolhelp, utility, win, winsock.
79 .TP
80 .I -depth n
81 Change the depth to use for multiple-depth screens
82 .TP
83 .I -desktop geom
84 Use a desktop window of the given geometry
85 .TP
86 .I -display name
87 Use the specified display
88 .TP
89 .I -dll name
90 Enables/disables built-in DLL's - starting wine with
91 .I -dll -commdlg
92 is probably a good idea.
93 The full list of DLLs modifiable by this is:
94 KERNEL, USER, GDI, WIN87EM, SHELL, SOUND, KEYBOARD, WINSOCK, STRESS, MMSYSTEM,
95 SYSTEM, TOOLHELP, MOUSE, COMMDLG, OLE2, OLE2CONV, OLE2DISP, OLE2NLS, OLE2PROX,
96 OLECLI, OLESVR, COMPOBJ, STORAGE, WINPROCS, DDEML
97 .TP
98 .I -fixedmap
99 Use a "standard" color map.
101 .I -iconic
102 Start as an icon
104 .I -language xx
105 Set the language to
106 .I xx
107 (one of En, Es, De, No, Fr, Fi, Da, Cz, Eo)
109 .I -managed
110 Create each top-level window as a properly managed X window
112 .I -mode modename
113 Determines the mode in which
114 .B wine
115 is started. Possible mode names are
116 .I standard
118 .I enhanced.
119 Enhanced mode is the default (when no -mode option is specified).
121 .I -name name
122 Set the application name
124 .I -privatemap
125 Use a private color map
127 .I -synchronous
128 Turn on synchronous display mode
129 .PD 1
130 .SH PROGRAM/ARGUMENTS
131 The program name may be specified in DOS format (C:\\WINDOWS\\SOL.EXE) or in 
132 Linux format (/msdos/windows/sol.exe).  The program being executed may be 
133 passed arguments by adding them on to the end of the command line invoking
134 .B wine
135 (such as: wine "notepad C:\\TEMP\\README.TXT").  Note that
136 the program name and its arguments 
137 .I must
138 be passed as a single parameter, which is usually accomplished by placing
139 them together in quotation marks.  Multiple applications may be started
140 by placing all of them on the command line (such as: wine notepad clock).
141 .SH CONFIGURATION FILE
142 .B wine
143 expects a configuration file (/usr/local/etc/wine.conf), which should
144 conform to the following rules (the format is just like a Windows .ini
145 file).  The actual file name may be specified during the execution of
147 .B configure
148 script.  Alternatively, you may have a 
149 .I .winerc
150 file of this format in your home directory.
151 .SH CONFIGURATION FILE FORMAT
152 All entries are grouped in sections; a section begins with the line
154 .I [section name]
156 and continues until the next section starts. Individual entries
157 consist of lines of the form
159 .I entry=value
161 The value can be any text string, optionally included in single or
162 double quotes; it can also contain references to environment variables
163 surrounded by
164 .I ${}.
165 Supported section names and entries are listed below.
167 .B [Drive X]
169 This section is used to specify the root directory and type of each
170 .B DOS
171 drive, since most Windows applications require a DOS/MS-Windows based 
172 disk drive & directory scheme. There is one such section for every
173 drive you want to configure.
175 .I format: Path = <rootdirectory>
177 default: none
179 If you mounted your dos partition as 
180 .I /dos
181 and installed Microsoft Windows in 
182 C:\\WINDOWS then you should specify 
183 .I Path=/dos
184 in the
185 .I [Drive C]
186 section.
188 .I format: Type = <type>
190 default: hd
192 Used to specify the drive type; supported types are floppy, hd, cdrom
193 and network.
195 .I format: Label = <label>
197 default: 'Drive X'
199 Used to specify the drive label; limited to 11 characters.
201 .I format: Serial = <serial>
203 default: 12345678
205 Used to specify the drive serial number, as an 8-character hexadecimal
206 number.
208 .B [wine]
210 .I format: windows = <directory>
212 default: C:\\WINDOWS
214 Used to specify a different Windows directory
216 .I format: system = <directory>
218 default: C:\\WINDOWS\\SYSTEM
220 Used to specify a different system directory
222 .I format: temp = <directory>
224 default: C:\\TEMP
226 Used to specify a directory where Windows applications can store 
227 temporary files.
229 .I format: path = <directories separated by semi-colons>
231 default: C:\\WINDOWS;C:\\WINDOWS\\SYSTEM
233 Used to specify the path which will be used to find executables and .DLL's.
235 .I format: symboltablefile = <filename>
237 default: wine.sym
239 Used to specify the path and file name of the symbol table used by the built-in
240 debugger.
242 .B [serialports]
244 .I format: com[12345678] = <devicename>
246 default: none
248 Used to specify the devices which are used as com1 - com8.
250 .B [parallelports]
252 .I format: lpt[12345678] = <devicename>
254 default: none
256 Used to specify the devices which are used as lpt1 - lpt8.
258 .B [spy]
260 .I format: file = <filename or CON when logging to stdout>
262 default: none
264 Used to specify the file which will be used as
265 .B logfile.
267 .I format: exclude = <message names separated by semicolons>
269 default: none
271 Used to specify which messages will be excluded from the logfile.
273 .I format: include = <message names separated by semicolons>
275 default: none
276 .br Used to specify which messages will be included in the logfile.
277 .SH SAMPLE CONFIGURATION FILE
278 [Drive A]
280 Path=/mnt/fd0
282 Type=floppy
284 [Drive C]
286 Path=/dos
288 Type=hd
290 Label=DOS disk
292 [Drive D]
294 Path=${HOME}/Wine
296 [wine]
298 windows=c:\\windows
300 system=c:\\windows\\system
302 temp=c:\\temp
304 path=c:\\windows;c:\\windows\\system;c:\\winapps\\word
306 symboltablefile=/usr/local/lib/wine.sym
308 [serialports]
310 com1=/dev/cua1
312 com2=/dev/cua1
314 [parallelports]
316 lpt1=/dev/lp0
318 [spy]
320 ;File=CON
322 ;File=spy.log
324 Exclude=WM_TIMER;WM_SETCURSOR;WM_MOUSEMOVE;WM_NCHITTEST;
326 Include=WM_COMMAND;
327 .SH AUTHORS
328 .B Wine
329 is available thanks to the work of Bob Amstadt, Dag Asheim,
330 Martin Ayotte, Ross Biro, Erik Bos, Fons Botman, John Brezak,
331 Andrew Bulhak, John Burton, Paul Falstad, Olaf Flebbe, Peter Galbavy,
332 Ramon Garcia, Hans de Graaf, Charles M. Hannum, Cameron Heide,
333 Jochen Hoenicke, Jeffrey Hsu, Miguel de Icaza, Alexandre Julliard,
334 Jon Konrath, Scott A. Laird, Martin von Loewis, Kenneth MacDonald,
335 Peter MacDonald, William Magro, Marcus Meissner, Graham Menhennitt,
336 David Metcalfe, Michael Patra, John Richardson, Johannes Ruscheinski,
337 Thomas Sandford, Constantine Sapuntzakis, Daniel Schepler,
338 Bernd Schmidt, Yngvi Sigurjonsson, Rick Sladkey, William Smith,
339 Erik Svendsen, Goran Thyni, Jimmy Tirtawangsa, Jon Tombs,
340 Linus Torvalds, Gregory Trubetskoy, Michael Veksler, Morten Welinder,
341 Jan Willamowius, Carl Williams, Karl Guenter Wuensch, Eric Youngdale,
342 and James Youngman.
344 This man page is maintained by Mike Phillips (msphil@facstaff.wm.edu), so 
345 please send all corrections, comments, flames, etc., to him.
346 .SH BUGS
347 There are too many to count, much less list.  Some bugs of note, however,
348 are that programs requiring VBRUNxxx.DLL are unreliable (with reports of
349 some working), OLE is not in place, the internal COMMDLG support is not yet
350 at 100% (although rapidly improving).  Color support for other than 8bpp
351 (256 colors) is currently flaky.
353 A partial list of applications known to work with 
354 .B wine
355 include: sol, cruel, golf, clock, notepad, charmap, calc, and wzip11.
356 The following URLs point to different success/testing lists:
358 .I http://www.ifi.uio.no/~dash/wine/working-apps.html
360 .I http://dutifp.twi.tudelft.nl:8000/wine/
362 We would like to hear about what software does run under 
363 .B Wine,
364 and such reports may be posted to 
365 .I comp.emulators.ms-windows.wine.
366 .SH AVAILABILITY
367 The most recent public version of 
368 .B wine
369 can be ftp'ed from tsx-11.mit.edu in the /pub/linux/ALPHA/Wine/development 
370 directory.  The releases are in the format 'Wine-yymmdd.tar.gz', 
371 or 'Wine-yymmdd.diff.gz' for the diff's from the previous release.
372 .SH FILES
373 .PD 0
375 .I /usr/local/bin/wine
376 The invoker program.
378 .I /usr/local/etc/wine.conf
379 Main configuration file for wine.
381 .I ChangeLog
382 Changes in Wine, since the beginning (most recent changes first)
384 .I configure
385 Shell script to automatically generate Makefiles.  Usually followed by
386 make to compile wine.
388 .I Wine newsgroup
389 Subscribe to comp.emulators.ms-windows.wine