From mint-bounce@lists.fishpool.fi Mon Sep 20 03:59:19 2010 Message-ID: <29D9FD6F22F54A54984BF351B63F5C98@mercatus.local> From: "Jo Even Skarstein" To: References: <150037.444287108-sendEmail@descaro> In-Reply-To: <150037.444287108-sendEmail@descaro> Subject: Re: [MiNT] Ctrl+Alt+Q deactivated Date: Mon, 20 Sep 2010 09:57:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: -------------------------------------------------- From: "Helmut Karlowski" Sent: Monday, September 20, 2010 9:38 AM To: Cc: Subject: Re: [MiNT] Ctrl+Alt+Q deactivated >> Ahh... I see a weakness here. If $SDMASTER is set but point to a >> non-existing program, nothing will happen. I should take the return >> value of create_process into consideration, and fall back to the old >> shutdown if create_process fails. Will fix this tomorrow. > > You could also add the special SDMASTER=="XaAES" to also use the old > shutdown. Hmm... I'm not so sure. Then other programs that evaluates this variable won't work properly. I think it's better to fall back to the old shutdown when SDMASTER isn't set, or when create_process fails. Btw. is there an easy way to display an alert from within XaAES? I think it would be useful to display an alert before shutdown or exiting all apps (Ctrl+Alt+A) to prevent accidental use of these shortcuts. Jo Even