From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julius Schwartzenberg Subject: Re: Problems with configuration files Date: Sat, 10 Apr 2004 22:47:06 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <40785D4A.6050901@zgod.cjb.net> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Bart Oldeman schreef: > On Sat, 10 Apr 2004, Julius Schwartzenberg wrote: > > >>I'm trying to get Dosemu to use only my own configuration files. >>I've have set config_script=/etc/dosemu/simple-dosemu-config in >>dosemu.users. When I run Dosemu, I still get the following output though: >>CONF: config variable c_user set >>CONF: Parsing built-in dosemu.conf file. >>CONF: config variable version_3_style_used set >>CONF: Parsing built-in global.conf file. >>Shouldn't the config_script setting in my dosemu.users prevent Dosemu >>from using the built-in configuration? > > > No. The built-in configuration is necessary for initialization and parses > the built-in dosemu.conf; without it dosemu is in an inconsistent state. > This way we enforce that what is commented out in the default dosemu.conf > actually corresponds to the reald default settings (because the built-in > one is parsed without the #'s). > > But you can completely overwrite the config afterwards in any way you > like. "config_script" provides a way to let your own "global.conf" do > things on top of the default configuration, perhaps ignoring any real > dosemu.conf -- without a "config_script" or -F setting the builtin > global.conf will: > 1. parse builtin dosemu.conf > 2. parse real dosemu.conf > 3. parse ~/.dosemurc > With -F or "config_script" steps 2 and 3 are up to what you supply. > With -n step 2 is skipped for a /etc independent configuration. Does the builtin dosemu.conf also contain $_hdimage = "drives/*"? The biggest problem I have, is that when I specify several disks, Dosemu always also adds those to it. When I specify two disks for example, they both get c: and d:, but drives/c also gets e:. If the builtin dosemu.conf indeed does contain drives/*, is there any way to fully override that? Julius