X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=N22vDR/zTQmsAzhxPrzM+ghnHCcdNUZCazWn9vyVDML YX7ZUDyzGgKs5/FyzAd2AVC89gcJUey1noLx+L2sXBLW+BBNgNk1YJWLF1OOxR5m tQIH1gfy2On1j1/A8yXADa25GDk5Y7YuAMaqCOv5GUUF6XN4s+1lFPepe43WglQs = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=VLJeI1aS9kYQD/bv/Sf3QPUM1yY=; b=UaKcUQO4MgnTFN5S/ cmZR5f9khnNwxZLrfMURS5OWvLdEAOR3iBCciW3vokYQ9kcWFWvomykWX7l+1354 OsYUvnASjFRrxc9NinTnBbc4jugvwG+hfsE9k9QYnfFGvgSgO8ucWQuIiXr3aNhF prEmMsaeDAtCgdXdNReZyQP/0k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 From: Fedin Pavel

To: jaltman AT openafs DOT org Cc: cygwin AT cygwin DOT com References: <519A2341 DOT 5030708 AT openafs DOT org> In-reply-to: <519A2341.5030708@openafs.org> Subject: RE: Patch for shutdown Date: Mon, 20 May 2013 17:59:42 +0400 Message-id: <002401ce5562$47768a30$d6639e90$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r4KDxw8j008543 > I would be unhappy with this proposed change. The Windows > "shutdown.exe" uses: > > 'h' for hibernate > 'l' for logoff > 's' for shutdown and halt > 'r' for shutdown and restart > 'g' for shutdown and restart including registered applications > > 'a' for abort shutdown > > with the following modifiers: > > 'f' for force > 'p' for 'no warning > 'e' document the reason > 'i' display GUI > 'm' specify target computer > 't' specify timeout > 'c' specify comment > 'd' shutdown reason code > > I believe it is very important that the Cygwin shutdown not alter the > meaning of command line parameters such that they are different from > the > Windows native version. The various options are already too confusing > to remember. Typing the right option value into wrong shell should not > result in the wrong behavior if we can help it. At the other hand, IMHO, Windows .bat scripts are never run from wihin bash, and vice versa, UNIX .sh scripts are never run from within cmd.exe... And following the same logic we would need to teach our find.exe (already mentioned on this list) to understand Windows options instead of UNIX options... Even further, in terminal case, why have Cygwin at all ? It is different from Windows command line and this is confusing... Kind regards. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple