Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41465102.2AE971EC@dessent.net> Date: Mon, 13 Sep 2004 19:01:38 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: HELP: How to disable killing of Bash Shell window with mouse? References: <1qoebilxzdy1c$.dlg AT thorstenkampe DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Thorsten Kampe wrote: > > * Pekka Niiranen (2004-09-13 18:19 +0200) > > Killing Cygwin Shell Window with mouse leaves bash.exe running. > > which can be seen from W2K task manager. How can I disable > > X -button from the Shell Windows so that the user is forced > > to TYPE "exit" on command prompt? Recompiling? > > Recompile what? Cmd exe? Bash is a shell and knows nothing about the > Windows Console "X" button. > > Show them [Ctrl-d] which is anyway faster than grabbing the mouse. If > they still do it - hit 'em on the head with a stick and let them write > a thousand time "I won't ever try to close a shell with my mouse". Configure rxvt to look like cmd.exe and use that instead. Good luck trying to modify the behavior of cmd.exe. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/