delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/20/09:21:46

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding
:reply-to; q=dns; s=default; b=oaD+I9NaS/klu3Lig4m/msBzKebRLQ6WH
sxbXmUeedogsMYQBLZklQ61NTspv1OuIh/tB+W0uL71vJrsd4znpY5keA2mhHFxx
dUZ0aPN7s+GODR+fId2Ivp4PcvdxQx2IkB/NJ3Ox5+onhzqUdQ8KWqAV10XRro8g
+qMVmTMS5U=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding
:reply-to; s=default; bh=aSvUDQDmcLFjrthziFGZy95oBOo=; b=iUveyhV
fxBfyNEYeBbN4O511xfdpGMToJ4rpBpknfkOKxbUZcijarm5QD//VQXickTN5VKw
b5TLUH3ZymuBPEVnZaLUc4Mjwmz4+j2G3XChZ6X1zX+S+yGuLjgONuGH5ACtBAA9
JQoF74MF/4HxoSm5Ca4PFZIipm0DXmCWIXWM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.1
X-MDAV-Result: clean
X-MDAV-Processed: mail.secure-endpoints.com, Mon, 20 May 2013 09:21:08 -0400
X-Spam-Processed: mail.secure-endpoints.com, Mon, 20 May 2013 09:21:07 -0400 (not processed: message from trusted or authenticated source)
X-Return-Path: jaltman AT openafs DOT org
X-Envelope-From: jaltman AT openafs DOT org
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com
Message-ID: <519A2341.5030708@openafs.org>
Date: Mon, 20 May 2013 09:21:05 -0400
From: Jeffrey Altman <jaltman AT openafs DOT org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Patch for shutdown
References: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g AT mail DOT gmail DOT com>
In-Reply-To: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g@mail.gmail.com>
Reply-To: jaltman AT openafs DOT org

Frank,

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.

Thank you.

Jeffrey Altman





On 5/20/2013 7:40 AM, Frank Fesevur wrote:
> Hi Corinna,
> 
> Since nobody made real objections about changing the short flag for
> hibernate from -h to -b to make room for -h for halt [1], I created a
> patch to change the shutdown program. The patch was created back in
> March, but with all your work being done on cygwin64, your holiday and
> myself being very busy with life it was held back.
> 
> There were no change to the shutdown CVS since then so here is that
> patch, including a changelog.
> 
> Note that I didn't change the programs version number in this patch. I
> don't know if changing an existing option would require/justify to
> change the version from 1.9 to 2.0 instead of simply to 1.10?
> 
> Regards,
> Frank
> 
> [1] http://cygwin.com/ml/cygwin/2013-03/msg00354.html
> 
> 
> 
> --
> 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
> 


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019