.\" -*- nroff -*- .TH WINE 1 "September 1, 1995" "Version 9/1/95" "Windows Emulation" .SH NAME wine \- run Windows 3.x programs under Linux .SH SYNOPSIS .B wine [ .I options ] .I program_name [ .I arguments ] .SH DESCRIPTION .B wine invokes the Linux Windows emulator. .PP .B wine currently runs a number of games and small applications (approximately half of the applets and common games actually run), although the entire API has not been implemented. .PP See the files .B README, .B ChangeLog, .B configure, and the .B Makefile contained in the source distribution to compile .B wine. .SH REQUIREMENTS At present, .B wine will run under any Linux kernel more recent than 0.99.13, or under recent releases of NetBSD and FreeBSD. .PP .B X must be installed. .PP .B libXpm must be installed. (It is probably available from the same site .B wine was, or the sources may be FTP'd from ftp.x.org). .SH INSTALLATION To install .B Wine, run "./configure", which will detect your specific setup and create the Makefiles. You can run "./configure --help" to see the available configuration options. Then do "make depend; make" to build the .B wine executable, and then "make install" to install it. By default, .B wine is installed in /usr/local/bin; you can specify a different path with the --prefix option when running .B configure. .SH OPTIONS .TP .I -allowreadonly Read only files may be opened in write mode .TP .I -backingstore Turn on backing store .TP .I -debug Enter the debugger before starting application .TP .I -debugmsg name[,name] Turn debugging messages on or off - for instance, .I -debugmsg +dll,+heap will turn on DLL and heap debugging messages. The full list is: all, accel, bitblt, bitmap, caret, catch, cdaudio, class, clipboard, clipping, combo, comm, cursor, dc, dialog, dll, dosfs, driver, edit, enum, event, exec, file, fixup, font, gdi, global, graphics, icon, int, key, keyboard, ldt, listbox, local, malloc, mci, mcianim, mciwave, mdi, menu, menucalc, message, metafile, midi, mmio, mmsys, mmtime, module, msg, nonclient, ole, palette, profile, prop, reg, region, relay, resource, scroll, selector, selectors, stress, syscolor, task, text, timer, toolhelp, utility, win, winsock. .TP .I -depth n Change the depth to use for multiple-depth screens .TP .I -desktop geom Use a desktop window of the given geometry .TP .I -display name Use the specified display .TP .I -dll name Enables/disables built-in DLL's - starting wine with .I -dll -commdlg is probably a good idea. The full list of DLLs modifiable by this is: KERNEL, USER, GDI, WIN87EM, SHELL, SOUND, KEYBOARD, WINSOCK, STRESS, MMSYSTEM, SYSTEM, TOOLHELP, MOUSE, COMMDLG, OLE2, OLE2CONV, OLE2DISP, OLE2NLS, OLE2PROX, OLECLI, OLESVR, COMPOBJ, STORAGE, WINPROCS, DDEML .TP .I -fixedmap Use a "standard" color map. .TP .I -iconic Start as an icon .TP .I -language xx Set the language to .I xx (one of En, Es, De, No, Fr, Fi, Da, Cz, Eo, It, Ko) .TP .I -managed Create each top-level window as a properly managed X window .TP .I -mode modename Determines the mode in which .B wine is started. Possible mode names are .I standard and .I enhanced. Enhanced mode is the default (when no -mode option is specified). .TP .I -name name Set the application name .TP .I -privatemap Use a private color map .TP .I -synchronous Turn on synchronous display mode .PD 1 .SH PROGRAM/ARGUMENTS The program name may be specified in DOS format (C:\\WINDOWS\\SOL.EXE) or in Linux format (/msdos/windows/sol.exe). The program being executed may be passed arguments by adding them on to the end of the command line invoking .B wine (such as: wine "notepad C:\\TEMP\\README.TXT"). Note that the program name and its arguments .I must be passed as a single parameter, which is usually accomplished by placing them together in quotation marks. Multiple applications may be started by placing all of them on the command line (such as: wine notepad clock). .SH CONFIGURATION FILE .B wine expects a configuration file (/usr/local/etc/wine.conf), which should conform to the following rules (the format is just like a Windows .ini file). The actual file name may be specified during the execution of the .B configure script. Alternatively, you may have a .I .winerc file of this format in your home directory. .SH CONFIGURATION FILE FORMAT All entries are grouped in sections; a section begins with the line .br .I [section name] .br and continues until the next section starts. Individual entries consist of lines of the form .br .I entry=value .br The value can be any text string, optionally included in single or double quotes; it can also contain references to environment variables surrounded by .I ${}. Supported section names and entries are listed below. .PP .B [Drive X] .br This section is used to specify the root directory and type of each .B DOS drive, since most Windows applications require a DOS/MS-Windows based disk drive & directory scheme. There is one such section for every drive you want to configure. .PP .I format: Path = .br default: none .br If you mounted your dos partition as .I /dos and installed Microsoft Windows in C:\\WINDOWS then you should specify .I Path=/dos in the .I [Drive C] section. .PP .I format: Type = .br default: hd .br Used to specify the drive type; supported types are floppy, hd, cdrom and network. .PP .I format: Label =