Commit 5ec74d6f authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

- Move "questions and comments" at the top of the document.

- Removed elfdll documentation. - Properly documented Desktop and Managed config. - Rearranged config entries according to importance. - "wine.conf" -> "the wine config file" in some cases. - Updated to new FTP URLs. - Fix non-backslash-escaped paths (ouch !). - Replace text references by real links. - Misc. other updates.
parent e1ae23e0
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
--> -->
<!entity name-web-admin "WineHQ Web-Admin">
<!entity email-web-admin "web-admin@winehq.com">
<!entity name-jonathan-buzzard "Jonathan Buzzard"> <!entity name-jonathan-buzzard "Jonathan Buzzard">
<!entity email-jonathan-buzzard "jab@hex.prestel.co.uk"> <!entity email-jonathan-buzzard "jab@hex.prestel.co.uk">
...@@ -112,5 +115,3 @@ ...@@ -112,5 +115,3 @@
<!entity name-koen-deforche "Koen Deforche"> <!entity name-koen-deforche "Koen Deforche">
<!entity email-koen-deforche "jozef@kotnet.org"> <!entity email-koen-deforche "jozef@kotnet.org">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
way -- advanced developers will probably prefer this. way -- advanced developers will probably prefer this.
</para> </para>
<para> <para>
When using either approach please report the problem you found When using either approach please report the problem you found
along with any relevant information to along with any relevant information to
<ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>. <ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>.
</para> </para>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<para> <para>
Post the bug to Post the bug to
<ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>. <ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>.
Please, search Bugzilla database to check whether your problem is Please, search Bugzilla database to check whether your problem is
already found before posting a bug report. already found before posting a bug report.
Include your own detailed description of the problem with Include your own detailed description of the problem with
relevant information. Attach the "Nice Formatted Report" relevant information. Attach the "Nice Formatted Report"
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<term>all shells:</term> <term>all shells:</term>
<listitem> <listitem>
<screen> <screen>
<prompt>$ </prompt>echo quit | wine -debugmsg +relay [other_options] program_name >& filename.out; <prompt>$ </prompt>echo quit | wine -debugmsg +relay [other_options] program_name >& filename.out;
<prompt>$ </prompt>tail -n 100 filename.out > report_file <prompt>$ </prompt>tail -n 100 filename.out > report_file
</screen> </screen>
<para> <para>
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
prints out so many debug msgs that they flood the terminal, eating CPU.) prints out so many debug msgs that they flood the terminal, eating CPU.)
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>tcsh and other csh-like shells:</term> <term>tcsh and other csh-like shells:</term>
<listitem> <listitem>
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
<prompt>$ </prompt>tail -100 filename.out > report_file <prompt>$ </prompt>tail -100 filename.out > report_file
</screen> </screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
<para> <para>
<filename>report_file</filename> will now contain the <filename>report_file</filename> will now contain the
...@@ -197,8 +197,8 @@ ...@@ -197,8 +197,8 @@
<listitem> <listitem>
<para> <para>
Post the bug to <ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>. Post the bug to <ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink>.
Please, search the Bugzilla database to check whether your problem Please, search the Bugzilla database to check whether your problem
is already reported. If it is already reported attach the bug report is already reported. If it is already reported attach the bug report
and add any other relevant information to the original bug report. and add any other relevant information to the original bug report.
</para> </para>
<para> <para>
...@@ -210,17 +210,6 @@ ...@@ -210,17 +210,6 @@
</listitem> </listitem>
</orderedlist> </orderedlist>
</sect2> </sect2>
<sect2>
<title>Questions and comments</title>
<para>
If after reading this document there is something you
couldn't figure out, or think could be explained better, or
that should have been included, please post to
<ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink> to
let us know how this document can be improved.
</para>
</sect2>
</sect1> </sect1>
</chapter> </chapter>
......
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<listitem> <listitem>
<para>works with console handles</para> <para>works with console handles</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
...@@ -236,10 +236,10 @@ wine -console ncurses+xterm &lt;application&gt; ...@@ -236,10 +236,10 @@ wine -console ncurses+xterm &lt;application&gt;
</sect3> </sect3>
<sect3> <sect3>
<title>II. <filename>wine.conf</filename> Configuration</title> <title>II. wine config file configuration</title>
<para> <para>
In the <filename>wine.conf</filename> file, you can create In the wine config file, you can create
a section called [console] that contains configuration a section called [console] that contains configuration
options that are respected by the assorted console options that are respected by the assorted console
drivers. drivers.
...@@ -370,7 +370,7 @@ wine -console ncurses+xterm &lt;application&gt; ...@@ -370,7 +370,7 @@ wine -console ncurses+xterm &lt;application&gt;
As X terminals typically use a 24x80 screen resolution As X terminals typically use a 24x80 screen resolution
rather than the typical 25x80 one, it is necessary to rather than the typical 25x80 one, it is necessary to
resize the screen to allow a DOS program to work resize the screen to allow a DOS program to work
full-screen. There is a <filename>wine.conf</filename> full-screen. There is a wine config file
option to work around this in some cases but run-time option to work around this in some cases but run-time
resizing will be disabled. resizing will be disabled.
</para> </para>
......
...@@ -760,7 +760,7 @@ HRSRC16 WINAPI FindResource16( HMODULE16 hModule, SEGPTR name, SEGPTR type ) ...@@ -760,7 +760,7 @@ HRSRC16 WINAPI FindResource16( HMODULE16 hModule, SEGPTR name, SEGPTR type )
<listitem> <listitem>
<para> <para>
for messages intended for the user (specifically those that for messages intended for the user (specifically those that
report errors in <filename>wine.conf</filename>), use the report errors in the wine config file), use the
<literal>MSG</literal> macro. Use it like a <literal>MSG</literal> macro. Use it like a
<function>printf</function>: <function>printf</function>:
<programlisting> <programlisting>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
fonts (<filename>VGASYS.FON</filename>, fonts (<filename>VGASYS.FON</filename>,
<filename>SSERIFE.FON</filename>, and <filename>SSERIFE.FON</filename>, and
<filename>SERIFE.FON</filename>) into the format that the X <filename>SERIFE.FON</filename>) into the format that the X
Window System can recognize. Window System can recognize.
</para> </para>
<orderedlist> <orderedlist>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
copied fonts to. If you are already in X you should run copied fonts to. If you are already in X you should run
<command>xset fp rehash</command> to make X server aware <command>xset fp rehash</command> to make X server aware
of the new fonts. You may also or instead have to restart of the new fonts. You may also or instead have to restart
the font server (using e.g. the font server (using e.g.
<command>/etc/init.d/xfs restart</command> <command>/etc/init.d/xfs restart</command>
under RedHat 7.1) under RedHat 7.1)
</para> </para>
...@@ -252,7 +252,7 @@ Alias1 = ... ...@@ -252,7 +252,7 @@ Alias1 = ...
<literal>-sony-fixed-</literal> are different fonts Wine <literal>-sony-fixed-</literal> are different fonts Wine
modified the second extracted name to make sure Windows modified the second extracted name to make sure Windows
programs can distinguish them because only extracted programs can distinguish them because only extracted
names appear in the font selection dialogs. names appear in the font selection dialogs.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -398,7 +398,7 @@ Resolution = &lt;integer value&gt; ...@@ -398,7 +398,7 @@ Resolution = &lt;integer value&gt;
<orderedlist> <orderedlist>
<listitem> <listitem>
<para>Get <filename>freetype-1.0.full.tar.gz</filename></para> <para>Get a freetype source archive (<filename>freetype-X.Y.tar.gz</filename> ?).</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Read docs, unpack, configure and install</para> <para>Read docs, unpack, configure and install</para>
...@@ -485,7 +485,7 @@ FontPath "tcp/localhost:7100" ...@@ -485,7 +485,7 @@ FontPath "tcp/localhost:7100"
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para>Test with e.g <command>xlsfont | grep arial</command></para> <para>Test with e.g. <command>xlsfont | grep arial</command></para>
</listitem> </listitem>
</orderedlist> </orderedlist>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
linkend="getting-dist-other">other</link> distributions. linkend="getting-dist-other">other</link> distributions.
</para> </para>
<para> <para>
If you're not lucky enough to have an available package for If you're not lucky enough to have a package available for
your operating system, or if you'd prefer a newer version of your operating system, or if you'd prefer a newer version of
Wine than already exists as a package, you may have to Wine than already exists as a package, you may have to
download the Wine source code and compile it yourself on your download the Wine source code and compile it yourself on your
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
especially with the many helpful tools that come with Wine. especially with the many helpful tools that come with Wine.
You don't need any programming experience to compile and You don't need any programming experience to compile and
install Wine, although it might be nice to have some minor install Wine, although it might be nice to have some minor
UNIX administrative skill. We'll cover how to retrieve and UNIX administrative skills. We'll cover how to retrieve and
compile the official source releases from the <link compile the official source releases from the <link
linkend="getting-source-ftp">FTP archives</link>, and also how linkend="getting-source-ftp">FTP archives</link>, and also how
to get the cutting edge up-to-the-minute fresh Wine source to get the cutting edge up-to-the-minute fresh Wine source
...@@ -113,7 +113,7 @@ $ su - ...@@ -113,7 +113,7 @@ $ su -
<para> <para>
Redhat/RPM users can use <ulink url="http://rpmfind.net/linux/RPM/"> Redhat/RPM users can use <ulink url="http://rpmfind.net/linux/RPM/">
rpmfind.net</ulink> to track down available Wine RPM binaries. rpmfind.net</ulink> to track down available Wine RPM binaries.
<ulink url="http://rpmfind.net/linux/RPM/WByName.html"> This <ulink url="http://rpmfind.net/linux/RPM/WByName.html"> This
page</ulink> contains a list of all rpmfind packages that start with page</ulink> contains a list of all rpmfind packages that start with
the letter "W", including a few Wine packages the letter "W", including a few Wine packages
...@@ -160,7 +160,7 @@ $ su - ...@@ -160,7 +160,7 @@ $ su -
<para> <para>
The safest way to grab the source is from one of the official The safest way to grab the source is from one of the official
FTP archives. An up to date listing is in the <ulink FTP archives. An up to date listing is in the <ulink
url="http://www.winehq.com/source/ANNOUNCE">ANNOUNCE </ulink> url="http://www.winehq.com/source/ANNOUNCE">ANNOUNCE</ulink>
file in the Wine distribution (which you would have if you file in the Wine distribution (which you would have if you
already downloaded it). Here is a (possibly out of date) list already downloaded it). Here is a (possibly out of date) list
of FTP servers carrying Wine: of FTP servers carrying Wine:
...@@ -168,22 +168,22 @@ $ su - ...@@ -168,22 +168,22 @@ $ su -
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
<ulink url="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/"> <ulink url="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/wine/development/">
ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/ ftp://ftp.ibiblio.org/pub/Linux/ALPHA/wine/development/
</ulink> </ulink>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<ulink url="ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/"> <ulink url="ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/">
ftp://tsx-11.mit.edu/pub/linux/ALPHA/Wine/development/ ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/
</ulink> </ulink>
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
<ulink url="ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/"> <ulink url="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/sunsite.unc.edu/ALPHA/wine/development/">
ftp://ftp.infomagic.com/pub/mirrors/linux/sunsite/ALPHA/wine/development/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/sunsite.unc.edu/ALPHA/wine/development/
</ulink> </ulink>
</para> </para>
</listitem> </listitem>
...@@ -237,13 +237,13 @@ $ cvs checkout wine ...@@ -237,13 +237,13 @@ $ cvs checkout wine
the updates: the updates:
</para> </para>
<screen> <screen>
$ cvs -dP update $ cvs -PAd update
</screen> </screen>
<para> <para>
<command>cvs update</command> works from inside the source tree. <command>cvs update</command> works from inside the source tree.
You don't need the <envar>CVSROOT</envar> environment variable You don't need the <envar>CVSROOT</envar> environment variable
to run it either. You just have to be inside the source tree. to run it either. You just have to be inside the source tree.
The <parameter>-d</parameter> and <parameter>-P</parameter> The <parameter>-P</parameter>, <parameter>-A</parameter> and <parameter>-d</parameter>
options make sure your local Wine tree directory structure stays options make sure your local Wine tree directory structure stays
in sync with the remote repository. in sync with the remote repository.
</para> </para>
...@@ -313,18 +313,18 @@ $ patch -p0 --dry-run < ../patch_to_apply.diff ...@@ -313,18 +313,18 @@ $ patch -p0 --dry-run < ../patch_to_apply.diff
</para> </para>
<para> <para>
The <parameter>-p0</parameter> option to <command>patch</command> The <parameter>-p0</parameter> option to <command>patch</command>
tells it to keep the full file name from the patch file. For example, tells it to keep the full file name from the patch file. For example,
if the file name in the patch file was if the file name in the patch file was
<filename>wine/programs/clock/main.c</filename>. <filename>wine/programs/clock/main.c</filename>.
Setting the <parameter>-p0</parameter> option would apply the patch Setting the <parameter>-p0</parameter> option would apply the patch
to the file of the same name i.e. to the file of the same name i.e.
<filename>wine/programs/clock/main.c </filename>. <filename>wine/programs/clock/main.c </filename>.
Setting the <parameter>-p1</parameter> option would strip off the Setting the <parameter>-p1</parameter> option would strip off the
first part of the file name and apply first part of the file name and apply
the patch instead to <filename>programs/clock/main.c </filename>. the patch instead to <filename>programs/clock/main.c </filename>.
The <parameter>-p1</parameter> option would be useful if you named The <parameter>-p1</parameter> option would be useful if you named
your top level wine directory differently to the person who sent you your top level wine directory differently to the person who sent you
the patch. For the <parameter>-p1</parameter> option the patch. For the <parameter>-p1</parameter> option
<command>patch</command> should be run from the top level wine directory. <command>patch</command> should be run from the top level wine directory.
</para> </para>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<para> <para>
Written by &name-ove-kaaven; <email>&email-ove-kaaven;</email> Written by &name-ove-kaaven; <email>&email-ove-kaaven;</email>
</para> </para>
<sect2> <sect2>
...@@ -72,7 +72,8 @@ ...@@ -72,7 +72,8 @@
paths, class IDs, and more; it must be installed before most paths, class IDs, and more; it must be installed before most
<filename>INSTALL.EXE</filename> or <filename>INSTALL.EXE</filename> or
<filename>SETUP.EXE</filename> applications will work. The <filename>SETUP.EXE</filename> applications will work. The
registry is covered in more detail in an earlier article. registry is covered in more detail <link
linkend="registry">here</link>.
</para> </para>
</sect2> </sect2>
...@@ -134,9 +135,9 @@ C:\ Root directory of primary disk drive ...@@ -134,9 +135,9 @@ C:\ Root directory of primary disk drive
file existence to determine whether a particular feature file existence to determine whether a particular feature
(such as Winsock and its TCP/IP networking) is available. If (such as Winsock and its TCP/IP networking) is available. If
this is a problem for you, you can create empty files in the this is a problem for you, you can create empty files in the
<filename>system</filename> directory to make the configured <filename>c:\windows\system</filename> directory
application think it's there, and Wine's built-in DLL will to make the application think it's there, and Wine's built-in DLL
be loaded when the application actually asks for it. will be loaded when the application actually asks for it.
(Unfortunately, <filename>tools/wineinstall</filename> does (Unfortunately, <filename>tools/wineinstall</filename> does
not create such empty files itself.) not create such empty files itself.)
</para> </para>
...@@ -212,7 +213,7 @@ C:\ Root directory of primary disk drive ...@@ -212,7 +213,7 @@ C:\ Root directory of primary disk drive
Use <filename>tools/wineinstall</filename> to compile Wine Use <filename>tools/wineinstall</filename> to compile Wine
and install the default registry. Or if you prefer to do and install the default registry. Or if you prefer to do
it yourself, compile <filename>programs/regapi</filename>, it yourself, compile <filename>programs/regapi</filename>,
and run: and run:
</para> </para>
<screen> <screen>
<userinput>programs/regapi/regapi setValue &lt; winedefault.reg</userinput> <userinput>programs/regapi/regapi setValue &lt; winedefault.reg</userinput>
...@@ -242,10 +243,10 @@ C:\ Root directory of primary disk drive ...@@ -242,10 +243,10 @@ C:\ Root directory of primary disk drive
<listitem> <listitem>
<para> <para>
Run the application with <parameter>--debugmsg Run the application with <parameter>--debugmsg
+module,+file</parameter> to find out which files are +loaddll</parameter> to find out which files are
needed. Copy the required DLLs one by one to the needed. Copy the required DLLs one by one to the
<filename>C:\windows\system</filename> directory. Do not <filename>C:\windows\system</filename> directory. Do not
copy KERNEL/KERNEL32, GDI/GDI32, or USER/USER32. These copy KERNEL/KERNEL32, GDI/GDI32, USER/USER32 or NTDLL. These
implement the core functionality of the Windows API, and implement the core functionality of the Windows API, and
the Wine internal versions must be used. the Wine internal versions must be used.
</para> </para>
...@@ -519,7 +520,7 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput> ...@@ -519,7 +520,7 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput>
<filename>AnApp</filename> directories while only root has <filename>AnApp</filename> directories while only root has
write access to all other directories. write access to all other directories.
</para> </para>
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="scsi-support"> <sect1 id="scsi-support">
...@@ -556,8 +557,8 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput> ...@@ -556,8 +557,8 @@ drwxrwxr-x 41 sle sle 16384 Dec 30 1998 windows</computeroutput>
if you're running as root, all bets are off). if you're running as root, all bets are off).
</para> </para>
<para> <para>
So please make sure that <emphasis>all</emphasis> SCSI devices not needed by the program So please make sure that <emphasis>all</emphasis> SCSI devices not needed by the program
have their permissions set as restricted as possible ! have their permissions set as restricted as possible !
</para> </para>
<para> <para>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</footnote> </footnote>
However, Wine makes it possible to run native Windows However, Wine makes it possible to run native Windows
applications alongside native Linux applications on a Linux applications alongside native Linux applications on a Linux
(or Solaris) system. You can share desktop space between MS (or BSD or Solaris) system. You can share desktop space between MS
Word and GnuCash, overlapping their windows, iconizing them, Word and GnuCash, overlapping their windows, iconizing them,
and even running them from the same launcher. and even running them from the same launcher.
</para> </para>
...@@ -98,6 +98,21 @@ ...@@ -98,6 +98,21 @@
<para> <para>
</para> </para>
</sect2> </sect2>
<sect2>
<title>Burning questions and comments</title>
<para>
If during reading this document there is something you
can't figure out, or think could be explained better, or
that should have been included, please immediately mail to
&name-web-admin; <email>&email-web-admin</email> or
post a bug report at the
<ulink url="http://bugs.winehq.com/">Wine Bugzilla</ulink> to
let us know how this document can be improved.
Remember, Open Source is
"free as in free speech, not as in free beer":
it can only work in case of very active involvement of its users !
</para>
</sect2>
</sect1> </sect1>
<!-- *** Not really useful as is, but may be able to recycle this elsewhere... <!-- *** Not really useful as is, but may be able to recycle this elsewhere...
...@@ -142,7 +157,7 @@ ...@@ -142,7 +157,7 @@
<listitem> <listitem>
<para> <para>
a computer ;-) Wine: only PCs >= i386 are supported at a computer ;-) Wine: only PCs >= i386 are supported at
the moment. Winelib: other platforms might be the moment. Winelib: other platforms may be
supported, but can be tricky. supported, but can be tricky.
</para> </para>
</listitem> </listitem>
...@@ -155,7 +170,7 @@ ...@@ -155,7 +170,7 @@
<listitem> <listitem>
<para> <para>
>= 16MB of RAM. Everything below is pretty much >= 16MB of RAM. Everything below is pretty much
unusable. >= 64 MB is needed for a "good" execution. unusable. >= 64 MB is needed for "good" execution.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
...@@ -163,7 +178,7 @@ ...@@ -163,7 +178,7 @@
an X11 window system (XFree86 etc.). Wine is prepared an X11 window system (XFree86 etc.). Wine is prepared
for other graphics display drivers, but writing for other graphics display drivers, but writing
support is not too easy. The text console display support is not too easy. The text console display
driver is nearly usable. driver (ttydrv) is nearly usable.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
...@@ -181,7 +196,7 @@ ...@@ -181,7 +196,7 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Support for executing DOS, Win 3.x and Win9x/NT/Win2000 Support for executing DOS, Win 3.x and Win9x/NT/Win2000/XP
programs (most of Win32's controls are supported) programs (most of Win32's controls are supported)
</para> </para>
</listitem> </listitem>
......
...@@ -59,8 +59,7 @@ ...@@ -59,8 +59,7 @@
printer=on printer=on
</screen> </screen>
<para> <para>
to the [wine] section of <filename>wine.conf</filename> (or to the [wine] section of the wine config file. This lets
<filename>~/.wine/config</filename>). This lets
<function>CreateDC</function> proceed if its driver argument is a 16 <function>CreateDC</function> proceed if its driver argument is a 16
bit driver. You will probably also need to add bit driver. You will probably also need to add
</para> </para>
...@@ -77,7 +76,7 @@ printer=on ...@@ -77,7 +76,7 @@ printer=on
<title>Spooling</title> <title>Spooling</title>
<para> <para>
Spooling is rather primitive. The [spooler] section of Spooling is rather primitive. The [spooler] section of
<filename>wine.conf</filename> maps a port (e.g. the wine config file maps a port (e.g.
<systemitem>LPT1:</systemitem>) to a file or a command via a pipe. For <systemitem>LPT1:</systemitem>) to a file or a command via a pipe. For
example the following lines example the following lines
</para> </para>
...@@ -95,7 +94,7 @@ printer=on ...@@ -95,7 +94,7 @@ printer=on
<para> <para>
There are now also virtual spool queues called There are now also virtual spool queues called
<systemitem>LPR:printername</systemitem>, which send the data <systemitem>LPR:printername</systemitem>, which send the data
to <command>lpr -Pprintername</command>. You do not need to to <command>lpr -Pprintername</command>. You do not need to
specify those in the config file, they are handled automatically by specify those in the config file, they are handled automatically by
<filename>dlls/gdi/printdrv.c</filename>. <filename>dlls/gdi/printdrv.c</filename>.
</para> </para>
...@@ -133,7 +132,7 @@ printer=on ...@@ -133,7 +132,7 @@ printer=on
<title>Installation of LPR /etc/printcap based printers</title> <title>Installation of LPR /etc/printcap based printers</title>
<para> <para>
If your system is not yet using CUPS, it probably uses LPRng If your system is not yet using CUPS, it probably uses LPRng
or a LPR based system with configuration based on /etc/printcap. or a LPR based system with configuration based on <filename>/etc/printcap</filename>.
</para> </para>
<para> <para>
If it does, your printers in <filename>/etc/printcap</filename> If it does, your printers in <filename>/etc/printcap</filename>
...@@ -141,7 +140,7 @@ printer=on ...@@ -141,7 +140,7 @@ printer=on
printers and also configured mostly automatic. printers and also configured mostly automatic.
</para> </para>
<para> <para>
Since WINE cannot find out what type of printer this is, you Since WINE cannot find out what type of printer this is, you
need to specify a PPD file in the [ppd] section of need to specify a PPD file in the [ppd] section of
<filename>~/.wine/config</filename>. Either use the shortcut <filename>~/.wine/config</filename>. Either use the shortcut
name and make the entry look like: name and make the entry look like:
...@@ -238,7 +237,7 @@ printer=on ...@@ -238,7 +237,7 @@ printer=on
</para> </para>
<para> <para>
Note that you need not set <literal>printer=on</literal> in Note that you need not set <literal>printer=on</literal> in
the [wine] section of <filename>wine.conf</filename>, this the [wine] section of the wine config file, this
enables printing via external printer drivers and does not enables printing via external printer drivers and does not
affect the builtin PostScript driver. affect the builtin PostScript driver.
</para> </para>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<sect2> <sect2>
<title>Registry structure</title> <title>Registry structure</title>
<para> <para>
The Windows registry is an elaborate tree structure, and not The Windows registry is an elaborate tree structure, and not
even most Windows programmers are fully aware of how the even most Windows programmers are fully aware of how the
...@@ -36,23 +36,23 @@ ...@@ -36,23 +36,23 @@
<term>HKEY_LOCAL_MACHINE</term> <term>HKEY_LOCAL_MACHINE</term>
<listitem> <listitem>
<para> <para>
This fundamental root key (in win9x, stored in the This fundamental root key (in win9x it's stored in the
hidden file <filename>system.dat</filename>) contains hidden file <filename>system.dat</filename>) contains
everything pertaining to the current Windows everything pertaining to the current Windows
installation. installation.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>HKEY_USERS</term> <term>HKEY_USERS</term>
<listitem> <listitem>
<para> <para>
This fundamental root key (in win9x, stored in the This fundamental root key (in win9x it's stored in the
hidden file <filename>user.dat</filename>) contains hidden file <filename>user.dat</filename>) contains
configuration data for every user of the installation. configuration data for every user of the installation.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>HKEY_CLASSES_ROOT</term> <term>HKEY_CLASSES_ROOT</term>
<listitem> <listitem>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
associations, OLE document handlers, and COM classes. associations, OLE document handlers, and COM classes.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>HKEY_CURRENT_USER</term> <term>HKEY_CURRENT_USER</term>
<listitem> <listitem>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<sect2> <sect2>
<title>Using a Windows registry</title> <title>Using a Windows registry</title>
<para> <para>
If you point Wine at an existing MS Windows installation (by If you point Wine at an existing MS Windows installation (by
setting the appropriate directories in setting the appropriate directories in
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<sect2> <sect2>
<title>Wine registry data files</title> <title>Wine registry data files</title>
<para> <para>
In the user's home directory, there is a subdirectory named In the user's home directory, there is a subdirectory named
<filename>.wine</filename>, where Wine will try to save its <filename>.wine</filename>, where Wine will try to save its
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
This file contains HKEY_LOCAL_MACHINE. This file contains HKEY_LOCAL_MACHINE.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><filename>user.reg</filename></term> <term><filename>user.reg</filename></term>
<listitem> <listitem>
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
This file contains HKEY_CURRENT_USER. This file contains HKEY_CURRENT_USER.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><filename>userdef.reg</filename></term> <term><filename>userdef.reg</filename></term>
<listitem> <listitem>
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
user settings). user settings).
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><filename>wine.userreg</filename></term> <term><filename>wine.userreg</filename></term>
<listitem> <listitem>
...@@ -149,9 +149,12 @@ ...@@ -149,9 +149,12 @@
<para> <para>
All of these files are human-readable text files, so unlike All of these files are human-readable text files, so unlike
Windows, you can actually use an ordinary text editor on them Windows, you can actually use an ordinary text editor on them
if you must. if you want (make sure you don't have Wine running when modifying
them, otherwise your changes will be discarded).
</para> </para>
<para> <para>
FIXME: global config currently not implemented.
In addition to these files, Wine can also optionally load from In addition to these files, Wine can also optionally load from
global registry files residing in the same directory as the global registry files residing in the same directory as the
global <filename>wine.conf</filename> (i.e. global <filename>wine.conf</filename> (i.e.
...@@ -177,7 +180,7 @@ ...@@ -177,7 +180,7 @@
<sect2> <sect2>
<title>System administration</title> <title>System administration</title>
<para> <para>
With the above file structure, it is possible for a system With the above file structure, it is possible for a system
administrator to configure the system so that a system Wine administrator to configure the system so that a system Wine
...@@ -247,8 +250,8 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg ...@@ -247,8 +250,8 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg
<title>The [registry] section</title> <title>The [registry] section</title>
<para> <para>
With the above information fresh in mind, let's look at the With the above information fresh in mind, let's look at the
<filename>wine.conf</filename>/<filename>~/.wine/config</filename> <filename>wine.conf</filename> / <filename>~/.wine/config</filename>
options for handling the registry. options for handling the registry.
</para> </para>
...@@ -295,12 +298,17 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg ...@@ -295,12 +298,17 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>UseNewFormat</term> <term>SaveOnlyUpdatedKeys</term>
<listitem> <listitem>
<para> <para>
This option is obsolete. Wine now always uses the new Controls whether the entire registry is saved to the
format; support for the old format was removed a while user's registry files, or only subkeys the user have
ago. actually changed. Considering that the user's registry
will override any global registry files and Windows
registry files, it usually makes sense to only save
user-modified subkeys; that way, changes to the rest of
the global or Windows registries will still affect the
user.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -316,17 +324,12 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg ...@@ -316,17 +324,12 @@ ln -sf /usr/local/etc/wine.userreg wine.userreg
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>SaveOnlyUpdatedKeys</term> <term>UseNewFormat</term>
<listitem> <listitem>
<para> <para>
Controls whether the entire registry is saved to the This option is obsolete. Wine now always uses the new
user's registry files, or only subkeys the user have format; support for the old format was removed a while
actually changed. Considering that the user's registry ago.
will override any global registry files and Windows
registry files, it usually makes sense to only save
user-modified subkeys; that way, changes to the rest of
the global or Windows registries will still affect the
user.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -53,7 +53,7 @@ Options: ...@@ -53,7 +53,7 @@ Options:
</para> </para>
<screen> <screen>
[wine] [wine]
"Path"="c:\windows;c:\windows\system;e:\;e:\test;f:\" "Path"="c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"
</screen> </screen>
<para> <para>
You could run the file You could run the file
...@@ -67,18 +67,20 @@ Options: ...@@ -67,18 +67,20 @@ Options:
<filename>c:\myapps\foo.exe</filename> with this command: <filename>c:\myapps\foo.exe</filename> with this command:
</para> </para>
<screen> <screen>
<prompt>$</prompt> <userinput>wine c:\myapps\foo.exe</userinput> <prompt>$</prompt> <userinput>wine c:\\myapps\\foo.exe</userinput>
</screen> </screen>
<para>
(note the backslash-escaped "\" !)
</para>
<para> <para>
If you want to run a console program (aka a CUI executable), use If you want to run a console program (aka a CUI executable), use
<command>wineconsole</command> instead of <command>wine</command> <command>wineconsole</command> instead of <command>wine</command>
to start it. It will display the program in a separate Window to start it. It will display the program in a separate Window
(this requires X11 to be run). If you don't, you'll still be able (this requires X11 to be run). If you don't, you'll still be able
to run able your program, in the Unix console were you're started to run your program directly in the Unix console where you started it,
your program, but with very limited capacities (so, your program but with very limited capacities (so your program might work,
might work, but your mileage may vary). This shall be improved but your mileage may vary). This shall be improved in the future.
in the future.
</para> </para>
</sect1> </sect1>
...@@ -89,7 +91,7 @@ Options: ...@@ -89,7 +91,7 @@ Options:
<title>--debugmsg [channels]</title> <title>--debugmsg [channels]</title>
<para> <para>
Wine isn't perfect, and many Windows applications still Wine isn't perfect, and many Windows applications still
don't run without bugs under Wine (but then, many of them don't run without bugs under Wine (but then, a lot of programs
don't run without bugs under native Windows either!). To don't run without bugs under native Windows either!). To
make it easier for people to track down the causes behind make it easier for people to track down the causes behind
each bug, Wine provides a number of <firstterm>debug each bug, Wine provides a number of <firstterm>debug
...@@ -155,7 +157,7 @@ Options: ...@@ -155,7 +157,7 @@ Options:
</screen> </screen>
<para> <para>
Here is a master list of all the debug channels and classes Here is a master list of all the debug channels and classes
in Wine. More channels might be added to (or subtracted in Wine. More channels will be added to (or subtracted
from) later versions. from) later versions.
</para> </para>
...@@ -245,21 +247,27 @@ winspool</><entry>wnet</><entry>x11</> ...@@ -245,21 +247,27 @@ winspool</><entry>wnet</><entry>x11</>
<sect2> <sect2>
<title>--dll</title> <title>--dll</title>
<para> <para>
Specifies whether to load the builtin or the native (if
available) version of a DLL.
Example:
<screen>
<prompt>$</prompt> <userinput>wine --dll setupx=n foo.exe</userinput>
</screen>
See the <link linkend="dlls">DLL chapter</link> for more details.
</para> </para>
</sect2> </sect2>
<sect2> <sect2>
<title>--help</title> <title>--help</title>
<para> <para>
Shows a small command line help page.
</para> </para>
</sect2> </sect2>
<sect2> <sect2>
<title>--version</title> <title>--version</title>
<para> <para>
Shows the Wine version string. Useful to verify your installation.
</para> </para>
</sect2> </sect2>
</sect1> </sect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment