Added, update information about AppDefault.

This commit is contained in:
Stefan Leichter 2002-01-14 19:44:30 +00:00 committed by Alexandre Julliard
parent 700f5abe4c
commit 64cf1f6f58
2 changed files with 64 additions and 4 deletions

View File

@ -93,6 +93,11 @@
<entry>recmd</entry> <entry>recmd</entry>
<entry>Overides defaults for DLL loading</entry> <entry>Overides defaults for DLL loading</entry>
</row> </row>
<row>
<entry>[x11drv]</entry>
<entry>recmd</entry>
<entry>Graphic driver settings</entry>
</row>
<row> <row>
<entry>[fonts]</entry> <entry>[fonts]</entry>
<entry>yes</entry> <entry>yes</entry>
@ -108,6 +113,11 @@
<entry>no</entry> <entry>no</entry>
<entry>LPT ports seen by wine</entry> <entry>LPT ports seen by wine</entry>
</row> </row>
<row>
<entry>[ppdev]</entry>
<entry>no</entry>
<entry>Parallelport emulation</entry>
</row>
<row> <row>
<entry>[spooler]</entry> <entry>[spooler]</entry>
<entry>no</entry> <entry>no</entry>
@ -143,11 +153,26 @@
<entry>no</entry> <entry>no</entry>
<entry>Console settings</entry> <entry>Console settings</entry>
</row> </row>
<row>
<entry>[Clipboard]</entry>
<entry>no</entry>
<entry>Interaction for wine and X11 clipboard</entry>
</row>
<row>
<entry>[afmdirs]</entry>
<entry>no</entry>
<entry>Postscript driver settings</entry>
</row>
<row> <row>
<entry>[WinMM]</entry> <entry>[WinMM]</entry>
<entry>yes</entry> <entry>yes</entry>
<entry>Multimedia settings</entry> <entry>Multimedia settings</entry>
</row> </row>
<row>
<entry>[AppDefaults]</entry>
<entry>no</entry>
<entry>Overwrite the settings of previous sections for special programs</entry>
</row>
</tbody> </tbody>
</tgroup> </tgroup>
</informaltable> </informaltable>
@ -835,6 +860,39 @@ OPTIONAL:
</itemizedlist> </itemizedlist>
</para> </para>
</sect3> </sect3>
<sect3>
<title>The [AppDefaults] Section</title>
<para>
The section is used to overwrite the setting of this file for a
special program with different settings.
[AppDefaults] is not the real name of the section. The real name
consists of the leading word AppDefaults followed by the name
of the executable the section is valid for. The end of the section
name is the name of the section of the configuration file its
values should be overwritten with different settings. The three
parts of the section name are separated by two backslashes.
</para>
<para>
Currently wine supports only overwriting the sections
[DllOverrides] and [x11drv].
</para>
<para>
Here is an example that overwrites the normal settings for a
program:
<programlisting>
;; default settings
[x11drv]
"Managed" = "Y"
"Desktop" = "N"
;; run install in desktop mode
[AppDefaults\\install.exe\\x11drv]
"Managed" = "N"
"Desktop" = "800x600"
</programlisting>
</para>
</sect3>
</sect2> </sect2>
<sect2> <sect2>
@ -946,7 +1004,7 @@ OPTIONAL:
Written by &name-ove-kaaven; <email>&email-ove-kaaven;</email> Written by &name-ove-kaaven; <email>&email-ove-kaaven;</email>
</para> </para>
<para> <para>
(Extracted from <filename>wine/documentation/cdrom-labels</filename>) (Extracted from <filename>wine/documentation/x11drv</filename>)
</para> </para>
<para> <para>

View File

@ -258,9 +258,11 @@ the general
.I DllOverrides .I DllOverrides
section. section.
.br .br
The only section that supports application-specific information at the The only sections that support application-specific information at the
moment is moment are
.I DllOverrides. .I DllOverrides
and
.I x11drv.
.br .br
Make sure to use double backslashes in the section name. Make sure to use double backslashes in the section name.
.PP .PP