Updates and error message improvements.

This commit is contained in:
Andreas Mohr 2001-09-19 22:34:38 +00:00 committed by Alexandre Julliard
parent 26c4d6b3a4
commit 7bed696aa3
12 changed files with 85 additions and 67 deletions

View File

@ -58,7 +58,7 @@ Other DLLs:
msnet/ msnet/
msvcrt/ - C runtime library msvcrt/ - C runtime library
msvideo/ - 16 bit video manager msvideo/ - 16 bit video manager
ole32/ - 32 bit OLE 2.0 librairies ole32/ - 32 bit OLE 2.0 libraries
oleaut32/ - 32 bit OLE 2.0 automation oleaut32/ - 32 bit OLE 2.0 automation
olecli/ - 16 bit OLE client olecli/ - 16 bit OLE client
oledlg/ - OLE 2.0 user interface support oledlg/ - OLE 2.0 user interface support
@ -270,7 +270,7 @@ Debug channels
If you need to create a new debug channel, just add the If you need to create a new debug channel, just add the
DECLARE_DEBUG_CHANNEL to your .c file(s) and rerun DECLARE_DEBUG_CHANNEL to your .c file(s) and rerun
tools/make_debug. When sending out your patch, you don't need to tools/make_debug. When sending out your patch, you don't need to
provide nor ./configure nor the ./include/debugdefs.h diffs. Just provide neither ./configure nor the ./include/debugdefs.h diffs. Just
indicate that those files need to be regenerated. indicate that those files need to be regenerated.
Resources Resources

12
README
View File

@ -125,10 +125,10 @@ If you want to build the documentation, you can run "make" in the
documentation directory. documentation directory.
Wine requires a configuration file named named "config" in your Wine requires a configuration file named named "config" in your
~/.wine directory. The format of this file is explained in the man ~/.wine directory. The format of this file is explained in the config file
page. The file documentation/samples/config contains an example man page (documentation/wine.conf.man).
configuration file which has to be adapted and copied to the location The file documentation/samples/config contains an example configuration file
mentioned above. which has to be adapted and copied to the location mentioned above.
See http://www.winehq.com/support.shtml for further configuration hints. See http://www.winehq.com/support.shtml for further configuration hints.
@ -164,7 +164,9 @@ You should backup all your important files that you give Wine access
to, or use a special Wine copy of them, as there have been some cases to, or use a special Wine copy of them, as there have been some cases
of users reporting file corruption. Do NOT run Explorer, for instance, of users reporting file corruption. Do NOT run Explorer, for instance,
if you don't have a proper backup, as it renames/cripples several if you don't have a proper backup, as it renames/cripples several
directories sometimes. directories sometimes. Not even other MS apps such as e.g. Messenger are safe,
as they launch Explorer somehow. This particular corruption (!$!$!$!$.pfr)
can be fixed with http://home.nexgo.de/andi.mohr/download/decorrupt_explorer
7. GETTING MORE INFORMATION 7. GETTING MORE INFORMATION

View File

@ -76,9 +76,9 @@
</sect2> </sect2>
<sect2> <sect2>
<title>The Wineserver</title> <title>The Wine server</title>
<para> <para>
The Wineserver is among the most confusing concepts in Wine. The Wine server is among the most confusing concepts in Wine.
What is its function in Wine? Well, to be brief, it provides What is its function in Wine? Well, to be brief, it provides
Inter-Process Communication (IPC), synchronization, and Inter-Process Communication (IPC), synchronization, and
process/thread management. When the wineserver launches, it process/thread management. When the wineserver launches, it
@ -125,13 +125,13 @@
wineserver duplicates the file descriptor, transmits it to wineserver duplicates the file descriptor, transmits it to
the client, and leaves to the client to close the duplicate the client, and leaves to the client to close the duplicate
when it's done with it). when it's done with it).
</para> </para>
</sect2> </sect2>
<sect2> <sect2>
<title>The Service Thread</title> <title>The Service Thread</title>
<para> <para>
The Wineserver cannot do everything that needs to be done The Wine server cannot do everything that needs to be done
behind the application's back, considering that it's not behind the application's back, considering that it's not
threaded (so cannot do anything that would block or take any threaded (so cannot do anything that would block or take any
significant amount of time), nor does it share the address significant amount of time), nor does it share the address

View File

@ -93,11 +93,6 @@
<entry>recmd</entry> <entry>recmd</entry>
<entry>Overides defaults for DLL loading</entry> <entry>Overides defaults for DLL loading</entry>
</row> </row>
<row>
<entry>[options]</entry>
<entry>no</entry>
<entry>No one seems to know</entry>
</row>
<row> <row>
<entry>[fonts]</entry> <entry>[fonts]</entry>
<entry>yes</entry> <entry>yes</entry>
@ -292,9 +287,9 @@ And here is a setup for Drive X, a generic floppy drive:
<sect3> <sect3>
<title>The [wine] Section </title> <title>The [wine] Section </title>
<para> <para>
The [wine] section of the configuration file contains The [wine] section of the configuration file contains all kinds
information wine uses for directories. When specifying the of general settings for Wine. When specifying the directories
directories for the settings, make them as they would for the directory related settings, make them as they would
appear in wine. If your drive <medialabel>C</medialabel> appear in wine. If your drive <medialabel>C</medialabel>
has a path of <filename>/dos</filename>, and your has a path of <filename>/dos</filename>, and your
<filename>windows</filename> directory is located in <filename>windows</filename> directory is located in
@ -336,22 +331,49 @@ And here is a setup for Drive X, a generic floppy drive:
system directory (For this setup, it must have system directory (For this setup, it must have
<filename>"c:\\windows;c:\\windows\\system"</filename>). <filename>"c:\\windows;c:\\windows\\system"</filename>).
</para> </para>
<para>
<programlisting>"GraphicsDriver" = "x11drv|ttydrv"</programlisting>
Sets the graphics driver to use for Wine output.
x11drv is for X11 output, ttydrv is for text console output.
WARNING: if you use ttydrv here, then you won't be able to run
any Windows GUI programs. Thus this option is mainly interesting
for e.g. embedded use of Wine in web server scripts.
</para>
<para>
<programlisting>"Printer" = "off|on"</programlisting> Tells wine
whether to allow printing via printer drivers to work.
This option isn't needed for our builtin psdrv printer driver
at all.
Using these things are pretty alpha, so you might want to
watch out. Some people might find it useful, however. If
you're not planning on working on printing via windows printer
drivers, don't even add this to your wine config file
(It probably isn't already in it).
Check out the [spooler] and [parallelports] sections too.
</para>
<para>
<programlisting>"ShellLinker" = "wineshelllink"</programlisting>
This setting specifies the shell linker script to use for setting
up Windows icons in e.g. KDE or Gnome that are given by programs
making use of appropriate shell32.dll functionality to create
icons on the desktop/start menu during installation.
</para>
<para>
<programlisting>"ShowDirSymlinks" = "1"</programlisting>
Wine doesn't pass directory symlinks to Windows programs by
default, as doing so may crash some programs that do
recursive lookups of whole subdirectory trees
whenever a directory symlink points back to itself or one of its
parent directories.
That's why we disallowed the use of directory symlinks
and added this setting to reenable ("1") this functionality.
</para>
<para> <para>
<programlisting>"SymbolTableFile" = "wine.sym"</programlisting> <programlisting>"SymbolTableFile" = "wine.sym"</programlisting>
Sets up the symbol table file for the wine debugger. You Sets up the symbol table file for the wine debugger. You
probably don't need to fiddle with this. May be useful if probably don't need to fiddle with this. May be useful if
your wine is stripped. your wine is stripped.
</para> </para>
<para>
<programlisting>"printer" = "off|on"</programlisting> Tells wine
whether to allow printer drivers and printing to work.
Using these things are pretty alpha, so you might want to
watch out. Some people might find it useful, however. If
you're not planning on working on printing, don't even add
this to your <filename>~/.wine/config</filename> (It probably
isn't already in it). Check out the [spooler] and
[parallelports] sections too.
</para>
</sect3> </sect3>
<sect3> <sect3>
@ -475,10 +497,10 @@ And here is a setup for Drive X, a generic floppy drive:
<programlisting>"DefaultLoadOrder" =" native, so, builtin"</programlisting> <programlisting>"DefaultLoadOrder" =" native, so, builtin"</programlisting>
</para> </para>
<para> <para>
This setting is a comma-delimited list of which order to This setting is a comma-delimited list of the order in
attempt loading DLL's. If the first option fails, it will which to attempt loading DLLs. If the first option fails,
try the second, and so on. The order specified above is it will try the second, and so on. The order specified
probably the best in most conditions. above is probably the best in most conditions.
</para> </para>
</sect3> </sect3>
@ -576,19 +598,6 @@ And here is a setup for Drive X, a generic floppy drive:
</note> </note>
</sect3> </sect3>
<sect3>
<title>The [options] Section</title>
<para>
No one seems to know what this section is...
</para>
<para>
<programlisting>
"AllocSystemColors" = "100"
</programlisting>
System colors to allocate? Just leave it at 100.
</para>
</sect3>
<sect3> <sect3>
<title>The [fonts] Section</title> <title>The [fonts] Section</title>
<para> <para>
@ -1274,7 +1283,7 @@ OPTIONAL:
<row> <row>
<entry>ISO9660</entry> <entry>ISO9660</entry>
<entry>cdrom</entry> <entry>cdrom</entry>
<entry>reads labels only</entry> <entry>reads labels and serial numbers (not mixed-mode CDs yet !)</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>

View File

@ -1822,7 +1822,7 @@ die folgenden Programme und Dateien installiert sein:
erstellen, falls dies noch nicht geschehen ist. Danach können die erstellen, falls dies noch nicht geschehen ist. Danach können die
erforderlichen Daten mit dem folgenden Befehl importiert werden: erforderlichen Daten mit dem folgenden Befehl importiert werden:
./regapi setValue ../../winedefault.reg ./regapi setValue < ../../winedefault.reg
8 Aufruf von WINE und Kommandozeilenoptionen 8 Aufruf von WINE und Kommandozeilenoptionen

View File

@ -1,5 +1,5 @@
.\" -*- nroff -*- .\" -*- nroff -*-
.TH WINE.CONF 5 "August 5, 2001" "Version 20010731" "Wine Configuration File" .TH WINE.CONF 5 "September 1, 2001" "Version 20010824" "Wine Configuration File"
.SH NAME .SH NAME
wine.conf \- Wine configuration file wine.conf \- Wine configuration file
.SH DESCRIPTION .SH DESCRIPTION
@ -31,11 +31,13 @@ are listed below.
.PP .PP
.B [Drive X] .B [Drive X]
.br .br
This section is used to specify the root directory and type of each This section is used to specify the root directory and type of each emulated
.B DOS .B DOS
drive, since most Windows applications require a DOS/MS-Windows based drive, since most Windows applications require a DOS/MS-Windows based
disk drive & directory scheme. There is one such section for every disk drive & directory scheme, which is either provided by a real
drive you want to configure. DOS partition mounted somewhere or by some carefully crafted directory layout
on a Unix file system ("no-windows fake installation").
There is one such section for every drive you want to configure.
.PP .PP
.I format: """Path""=""<rootdirectory>""" .I format: """Path""=""<rootdirectory>"""
.br .br
@ -44,11 +46,11 @@ default: none
If you mounted your dos partition as If you mounted your dos partition as
.I /dos .I /dos
and installed Microsoft Windows in and installed Microsoft Windows in
C:\\WINDOWS then you should specify C:\\WINDOWS (thus it shows up as /dos/WINDOWS), then you should specify
.I """Path""=""/dos""" .I """Path""=""/dos"""
in the in the
.I [Drive C] .I [Drive C]
section. section in order to configure /dos as the drive root of drive C:.
.PP .PP
.I format: """Type""=""<type>""" .I format: """Type""=""<type>"""
.br .br
@ -82,12 +84,12 @@ Supported types are "msdos" (or "fat"), "win95" (or "vfat"), "unix".
.br .br
Recommended: Recommended:
.br .br
"win95" for ext2fs, VFAT and FAT32 "win95" for ext2fs, ReiserFS, ..., VFAT and FAT32
.br .br
"msdos" for FAT16 (ugly) "msdos" for FAT16 file systems (ugly, 8.3 naming)
.br .br
You definitely do not want to use "unix" unless you intend to port You definitely do not want to use "unix" unless you intend to port
programs using Winelib. Always try to avoid using FAT16. Use the programs using Winelib. Always try to avoid using a FAT16 FS. Use the
VFAT/FAT32 OS file system driver instead. VFAT/FAT32 OS file system driver instead.
.PP .PP
.I format: """FailReadOnly""=""<boolean>""" .I format: """FailReadOnly""=""<boolean>"""
@ -104,13 +106,16 @@ default: "C:\\\\WINDOWS"
.br .br
Used to specify a different Windows directory; make sure to double the Used to specify a different Windows directory; make sure to double the
backslashes. backslashes.
So if you previously configured drive C: to be at /dos, this now means that
the windows directory should be at /dos/WINDOWS.
.PP .PP
.I format: """system""=""<directory>""" .I format: """system""=""<directory>"""
.br .br
default: "C:\\\\WINDOWS\\\\SYSTEM" default: "C:\\\\WINDOWS\\\\System"
.br .br
Used to specify a different system directory; make sure to double the Used to specify a different system directory; make sure to double the
backslashes. backslashes.
Again, given a drive C: at /dos, this would be at /dos/WINDOWS/System.
.PP .PP
.I format: """temp""=""<directory>""" .I format: """temp""=""<directory>"""
.br .br
@ -133,14 +138,14 @@ a native NT or a native win95 directory with per-user settings.
default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM" default: "C:\\\\WINDOWS;C:\\\\WINDOWS\\\\SYSTEM"
.br .br
Used to specify the path which will be used to find executables and Used to specify the path which will be used to find executables and
dlls. Make sure to double all the backslashes. dlls. Make sure to double the backslashes.
.PP .PP
.B [DllOverrides] .B [DllOverrides]
.br .br
.I format: """modulename""=""native,so,builtin""" .I format: """modulename""=""native,so,builtin"""
.br .br
.I modulename .I modulename
can be any valid module name, without extension. The specified value can be any valid DLL module name, without extension. The specified value
is a comma separated list of module-types to try to load in that is a comma separated list of module-types to try to load in that
specific order. Case is not important and only the first letter of specific order. Case is not important and only the first letter of
each type is enough to identify the type n[ative], s[o], each type is enough to identify the type n[ative], s[o],
@ -171,6 +176,7 @@ use native versions for these libraries.
Always make sure that you have some kind of strategy in mind when you start Always make sure that you have some kind of strategy in mind when you start
fiddling with the current defaults and needless to say that you must know fiddling with the current defaults and needless to say that you must know
what you are doing. what you are doing.
--debugmsg +loaddll might come in handy for experimenting with that stuff.
.PP .PP
.B [serialports] .B [serialports]
.br .br

View File

@ -820,7 +820,7 @@ static int DOSFS_GetPathDrive( const char **name )
{ {
if ((drive = DRIVE_FindDriveRoot( name )) == -1) if ((drive = DRIVE_FindDriveRoot( name )) == -1)
{ {
MESSAGE("Warning: %s not accessible from a DOS drive\n", *name ); MESSAGE("Warning: %s not accessible from a configured DOS drive\n", *name );
/* Assume it really was a DOS name */ /* Assume it really was a DOS name */
drive = DRIVE_GetCurrentDrive(); drive = DRIVE_GetCurrentDrive();
} }

View File

@ -1,5 +1,5 @@
/* /*
* This test program was copied from documentation/cdrom-label * This test program was copied from the former file documentation/cdrom-label
*/ */
#include <windows.h> #include <windows.h>
#include <stdio.h> #include <stdio.h>

View File

@ -47,7 +47,7 @@ void WINAPI INT_Int25Handler( CONTEXT86 *context )
"count %ld, buffer %p\n", "count %ld, buffer %p\n",
LOBYTE(context->Eax), begin, length, dataptr); LOBYTE(context->Eax), begin, length, dataptr);
DRIVE_RawRead(LOBYTE(context->Eax), begin, length, dataptr, TRUE); DRIVE_RawRead(LOBYTE(context->Eax), begin, length, dataptr, TRUE);
RESET_CFLAG(context); RESET_CFLAG(context);
} }

View File

@ -46,6 +46,6 @@ void WINAPI INT_Int26Handler( CONTEXT86 *context )
"count %ld, buffer %p\n", "count %ld, buffer %p\n",
AL_reg(context), begin, length, dataptr ); AL_reg(context), begin, length, dataptr );
DRIVE_RawWrite(LOBYTE(context->Eax), begin, length, dataptr, TRUE); DRIVE_RawWrite(LOBYTE(context->Eax), begin, length, dataptr, TRUE);
RESET_CFLAG(context); RESET_CFLAG(context);
} }

View File

@ -46,7 +46,8 @@ my $indent = 0;
my ($level, $reason, $advice); my ($level, $reason, $advice);
my $advice_chmod = "Use chmod as root to fix it (\"man chmod\")"; my $advice_chmod = "If your user account is supposed to be able to access
it properly, use chmod as root to fix it (\"man chmod\")";
my $advice_fs = "The Filesystem option indicates the filesystem behaviour Wine is supposed to *emulate*, not the filesystem which is there"; my $advice_fs = "The Filesystem option indicates the filesystem behaviour Wine is supposed to *emulate*, not the filesystem which is there";
my $dev_read = 1; my $dev_read = 1;

View File

@ -44,8 +44,8 @@
"DragFullWindows"="0" "DragFullWindows"="0"
# #
# Overwrite default load address of BDE # Override default load address of BDE (Borland database engine),
# (Borland database engine) # since it's not available on Linux
# #
[HKEY_LOCAL_MACHINE\Software\Borland\Database Engine\Settings\SYSTEM\INIT] [HKEY_LOCAL_MACHINE\Software\Borland\Database Engine\Settings\SYSTEM\INIT]