Documented the new wine command line and the environment variable
WINEPREFIX.
This commit is contained in:
parent
330cd693b0
commit
48320f744f
|
@ -3,7 +3,7 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wine \- run Windows programs on Unix
|
wine \- run Windows programs on Unix
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BI "wine " "[wine_options] " "program1 " "[program2 ... ]"
|
.BI "wine " "[wine_options] " "program " "[arguments ... ]"
|
||||||
.PP
|
.PP
|
||||||
For instructions on passing arguments to Windows programs, please see the
|
For instructions on passing arguments to Windows programs, please see the
|
||||||
.B
|
.B
|
||||||
|
@ -240,28 +240,88 @@ or in Unix format (
|
||||||
). The program being executed may be passed arguments by adding them on
|
). The program being executed may be passed arguments by adding them on
|
||||||
to the end of the command line invoking
|
to the end of the command line invoking
|
||||||
.B wine
|
.B wine
|
||||||
(such as: wine "notepad C:\\TEMP\\README.TXT"). Note that
|
(such as: wine notepad C:\\TEMP\\README.TXT). Command line processing goes as
|
||||||
the program name and its arguments
|
follows: first
|
||||||
.I must
|
.B wine
|
||||||
be passed as a single parameter, which is usually accomplished by placing
|
checks, if one or more of the above mentioned
|
||||||
them together in quotation marks. Multiple applications may be started
|
|
||||||
by placing all of them on the command line (such as:
|
|
||||||
.B wine
|
.B wine
|
||||||
notepad clock).
|
options have been specified. These
|
||||||
|
are removed from the command line, which is passed to the windows program. You can use
|
||||||
|
the Parameter
|
||||||
|
.I --
|
||||||
|
to indicate, that
|
||||||
|
.B wine
|
||||||
|
should stop command line processing. This is needed, if a windows program understands
|
||||||
|
a option, which is usually interpreted (and thus removed from the command line)
|
||||||
|
by
|
||||||
|
.B wine.
|
||||||
|
For example, if you want to execute
|
||||||
|
.B wine
|
||||||
|
with the options
|
||||||
|
.I --managed --config myapp.winerc
|
||||||
|
and if
|
||||||
|
.B wine
|
||||||
|
should run the program
|
||||||
|
.I myapp.exe
|
||||||
|
with the arguments
|
||||||
|
.I --config my.ini somefile
|
||||||
|
, then you could use the following command line to invoke
|
||||||
|
.B wine:
|
||||||
|
.PP
|
||||||
|
.I wine --managed --config myapp.winerc -- myapp.exe --config my.ini somefile
|
||||||
|
.PP
|
||||||
|
Note that in contrast to previous versions of
|
||||||
|
.B wine,
|
||||||
|
you must not pass
|
||||||
|
program name and program option in one argument to
|
||||||
|
.B wine.
|
||||||
|
To run more
|
||||||
|
that one windows program, just execute
|
||||||
|
.B wine
|
||||||
|
once with the name
|
||||||
|
of each program as argument.
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
.B wine
|
.B wine
|
||||||
makes the environment variables of the shell from which
|
makes the environment variables of the shell from which
|
||||||
.B wine
|
.B wine
|
||||||
is started accessible to the windows/dos processes started. So use the
|
is started accessible to the windows/dos processes started. So use the
|
||||||
appropriate syntax for your shell to enter environment variables you need.
|
appropriate syntax for your shell to enter environment variables you need.
|
||||||
|
.TP
|
||||||
|
.I WINEPREFIX
|
||||||
|
If set, the content of this variable is taken as the name of the directory, where
|
||||||
|
.B wine
|
||||||
|
stores its data (usually
|
||||||
|
.I $HOME/.wine
|
||||||
|
). This directory contains also the socket, which is used to communicate with the
|
||||||
|
.I wineserver.
|
||||||
|
All
|
||||||
|
.B wine
|
||||||
|
processes, using the same
|
||||||
|
.B wineserver
|
||||||
|
share certain things like registry and shared memory. By setting
|
||||||
|
.I WINEPREFIX
|
||||||
|
to different values for different
|
||||||
|
.B wine
|
||||||
|
processes, it is possible to run a number of truly independent
|
||||||
|
.B wine
|
||||||
|
processes.
|
||||||
|
|
||||||
.SH CONFIGURATION FILE
|
.SH CONFIGURATION FILE
|
||||||
.B wine
|
.B wine
|
||||||
expects a configuration file (
|
expects a configuration file (
|
||||||
.I @sysconfdir@/wine.conf
|
.I @sysconfdir@/wine.conf
|
||||||
), which must conform to the format specified in the
|
), which must conform to the format specified in the
|
||||||
.BR wine.conf (5)
|
.BR wine.conf (5)
|
||||||
man page. A sample configuration file is wine.ini in the home directory of the
|
man page. A sample configuration file is wine.ini in the base directory of the
|
||||||
.B wine source archive.
|
.B wine
|
||||||
|
source archive. Alternatively a configuration file with the name
|
||||||
|
.I winerc
|
||||||
|
in the home directory of the user running
|
||||||
|
.B wine
|
||||||
|
can be used. The third option is to specify the name of the
|
||||||
|
configuration file with the
|
||||||
|
.B --config
|
||||||
|
option.
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
.B wine
|
.B wine
|
||||||
is available thanks to the work of many developers. For a listing
|
is available thanks to the work of many developers. For a listing
|
||||||
|
@ -289,7 +349,7 @@ The most recent public version of
|
||||||
.B wine
|
.B wine
|
||||||
can be obtained via FTP from metalab.unc.edu or tsx-11.mit.edu in the
|
can be obtained via FTP from metalab.unc.edu or tsx-11.mit.edu in the
|
||||||
/pub/linux/ALPHA/Wine/development directory. The releases are in the
|
/pub/linux/ALPHA/Wine/development directory. The releases are in the
|
||||||
format 'Wine-yymmdd.tar.gz', or 'Wine-yymmdd.diff.gz' for the diff's
|
format 'Wine-yyyymmdd.tar.gz', or 'Wine-yyyymmdd.diff.gz' for the diff's
|
||||||
from the previous release.
|
from the previous release.
|
||||||
.PP
|
.PP
|
||||||
The latest snapshot of the code may be obtained via CVS. For information
|
The latest snapshot of the code may be obtained via CVS. For information
|
||||||
|
|
Loading…
Reference in New Issue