X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <p.fedin@samsung.com>
To: jaltman@openafs.org
Cc: cygwin@cygwin.com
References: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g@mail.gmail.com> <519A2341.5030708@openafs.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


