public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jeffrey Altman <jaltman@openafs.org>
To: cygwin@cygwin.com
Subject: Re: Patch for shutdown
Date: Mon, 20 May 2013 13:21:00 -0000	[thread overview]
Message-ID: <519A2341.5030708@openafs.org> (raw)
In-Reply-To: <CAKf2h5QYs69d8RL647Fysji=fFCrEsg2HOMNenkjjcfd0fTJ6g@mail.gmail.com>

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

  reply	other threads:[~2013-05-20 13:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 11:41 Frank Fesevur
2013-05-20 13:21 ` Jeffrey Altman [this message]
2013-05-20 13:59   ` Fedin Pavel
2013-05-20 14:07     ` Earnie Boyd
2013-05-20 14:23     ` Jeffrey Altman
2013-05-20 17:50     ` Andrey Repin
2013-05-21 13:01     ` Buchbinder, Barry (NIH/NIAID) [E]
2013-05-20 20:32   ` Frank Fesevur
2013-05-21  9:42 ` Corinna Vinschen
2013-05-21 15:20   ` Frank Fesevur
2013-05-21 16:05     ` Corinna Vinschen
2013-05-21 20:00       ` Frank Fesevur
2013-05-22  8:18         ` Corinna Vinschen
2013-06-06 12:22           ` Frank Fesevur
2013-06-06 14:29             ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519A2341.5030708@openafs.org \
    --to=jaltman@openafs.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).