dosrun can use three type of configuartion settings :

* command line options
* /etc/dosrun.conf
* ~/.dosrunrc


Format of /etc/dosrun.conf and ~/.dosrunrc are the same. Dosrun first
checks for /etc/dosrun.conf and these will be the default values. Users
can be override these with an own ~/.dosrunrc or command line options, excluding 
options marked ! at /etc/dosrun.conf as the first character of the line. Paths
starting with `~' be modified : `~' will be changed to user's home directory.
Only /etc/dosrun.conf can contaion option for enable one user for override
ALL of the options : freeuser <user>.

Configuration lines starting with `#' and remain of lines staring with hash
are marked as comments.

configutation options (at command line use -- before option) :

cpu <num>              <num>={86|186|286|386|486}
                       (This parameter only passed to vm86())
hma <num>              enable HMA with minimum request size of <num>
                       (HMA allocating will fail with lesser size.)
ver <num>              emulated DOS version [eg : 6.22]
                       (this is used to report this version number when DOS
		       application asks from us. MUST be a string in A.B
		       format)
chdir <path>           change root directory after loading binary
                       (warning, if executable is outside chdir'ed path, there
		       will be problems when DOS appilcations try to open itself
		       for overlay, or opening files at the same dir where binary
		       is, etc)
ro                     read only access for filesystem
                       (DOS applications won't open files for writing, renaming,
		       creating or deleting files)
rw <path>              r/w access for a file/directory and sets all other to r/o
                       (implies ro, but give access to certain file or directory)
roexec                 files with switched on executables can't be deleted or opened with r/w
xms <num1,num2>        enable emulationg XMS memory with <num1> kilobytes and <num2> handles
env <str1=str2>        modify environment str1=str2
                       (`str1=' means clear str1
		       `str1=%' means pass str1 from Linux environment, this is
		       usefull when you use noenv to pass only certain environment
		       strings)
timer                  enable emulation of int 8
                       (uses threading and libpthread to implement this feature !)
noenv                  does not pass the Linux environment to DOS application
                       (by default, dosrun pass Linux's environment for DOS.
		       this changes it)

dosrun --cpu 386 --hma 16384 --ver 6.22 --chdir ~ --rw ~/tmp --xms 256,32 /usr/local/dos/command.com

the FIRST command line parameter staring with ather than `--' are known as
runnable DOS application by dosrun. Since file name can be started with
`--' you can use the following format as well :

dosrun --cpu 386 -- --sily.com   ,

where `--sily.com' is an executable with file name starting with `--'.
In this case an empty `--' marks the remain of command line as the program
name to run and its paramters passed to DOS mode.
[or trick with ./--sily.com or similar :)]

Some [only] command line options :

--conf <path>            read user config file <path> instead of ~/.dosrunrc
-h or --help             print deatiled help
-v or --version          get version information

Example configuration file :

# /etc/dosrun.conf
cpu 486
hma 16384
ver 6.22
chdir ~
rw ~/tmp
roexec
xms 512,64
timer
