From mint-bounce@lists.fishpool.fi Tue Mar 2 17:54:04 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=LPV/UmosoNHPiNyeMrEPSrrmf+W22CIPBclZHYpy7xo=; b=UuO6WAd7+/mVAIT3T0HhKyWULYPBg9BBMRxEaqHzaxRtkQTuG6cS0mhUXPYRGiC7AT 4ndmLcdHU3ns0vaO4wZiWOXTD0LRj/IkMZURQYCcu2ek+B9DPCbUpOHa7gVz9AEaDfMC b1kxQNFUZ7xVodUFAQOWETk1aseWRGs76Ej4I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ntZbRUy21YpyNoHftN/4WhnJVoAIeXJ1Qf6gLiKLou5oySF9W0ibkU7/gDwMWIXHQm siSxBf4qgbJb6j76bFWpf8kLzBSu5aE40d7Px5lhyvujm8VU4jUmYBBL1W1xxZ9vWIHI x216qtB0jOmvQPcIySjBcPKY53sxO/uV5NxIQ= MIME-Version: 1.0 In-Reply-To: <201538AE-CDC2-4A56-8346-3A7F035079CA@gmail.com> References: <72454075-6FA5-46CA-A174-A3AE573771A6@gmail.com> <20100301222525.bcb94ec5.mandin.patrice@orange.fr> <5398E197-FA46-43CA-98B9-714944936DEE@gmail.com> <201538AE-CDC2-4A56-8346-3A7F035079CA@gmail.com> Date: Tue, 2 Mar 2010 16:51:20 -0600 Message-ID: <11a6f2b11003021451xeb71979t99723ab357f8223d@mail.gmail.com> Subject: Re: [MiNT] Patch for xaloader.prg From: Paul Wratt To: mint Content-Type: text/plain; charset=ISO-8859-1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: paul.wratt@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o22Ms3qQ031750 On Tue, Mar 2, 2010 at 9:06 AM, Peter Persson wrote: > > On 2 mar 2010, at 15.51, Jo Even Skarstein wrote: > >> That's true, but when using a boot manager it's a lot easier to do this than editing configuration-files which I would have to do if I started everything from mint.cnf. But there's no problem in creating a boot-manager that works by manipulating mint.cnf or perhaps a startup-script run from mint.cnf. It could also (de)activate the correct device drivers for the current hardware. > > I'd much rather have a conditional application launcher which checks cookies etc and launches the binary if the specified criteria is met. > > Example (mint.cnf) > > exec cload "_MCH==0x0004000" 68882.prg > > Another approach could be to extend the mint.cnf parser to handle conditionals with variables based on cookies and other system properties. > > But either way - I'm fully aware of the fact that my proposed loader doesn't cure cancer, but that wasn't the scope either. If someone else would like to implement what you're proposing that's just great, but personally I have no need for it at the moment. > > -- PeP > Is it work adding some IF COOKIE= to the cnf parser then. This might be useful for XaAES as well (which also uses mint cnf parser) I think it has potential Paul