public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
To: cygwin-apps@cygwin.com
Subject: Re: [ITP] nosleep 0.1.3-1
Date: Tue, 11 Oct 2011 15:02:00 -0000	[thread overview]
Message-ID: <o6l8975krk33bn0c4gmoo0p33u112ff8ao@4ax.com> (raw)
In-Reply-To: <CAHiT=DEvpa9ZCx5QOLEdnzTtRvgCRw--+fY=4o50kritOneqbg@mail.gmail.com>

> >> On 9/25/2011 6:15 AM, Andrew Schulman wrote:
> >> > nosleep has been written originally for Cygwin, so it's not available
> >> > in any Linux distros and needs to be voted on.
> 
> And now I'd really need it for MacOSX.
> Let's see if I'll have enough tuits next week.

I have no experience with OS X, so I can't directly comment on that.  But
if there's a Cocoa or Darwin API that allows you to do things like check
whether AC power is on and keep the computer from going into idle sleep,
then it might be quite easy to port nosleep to OS X.  It's a small program.

For details please see the nosleep project page [1].  I'd like to see
nosleep ported to other platforms, and would be glad to discuss that with
you - maybe in the bug tracker for nosleep, since this is OT here.

A caution:  Being a Linux user, I looked into how one would implement
nosleep in Linux.  From what I can tell, chaos reigns there.  Although ACPI
would seem to be a likely API for it, the way people have been doing it in
practice is desktop-specific with a lot of ugly special cases.  I'm
thinking of Caffeine [2] in particular.  In OS X though, I'd expect things
to be more orderly.

[1] https://launchpad.net/nosleep
[2] https://launchpad.net/caffeine

  reply	other threads:[~2011-10-11 15:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-25 10:15 Andrew Schulman
2011-09-27 18:33 ` Christopher Faylor
2011-09-27 19:05   ` Reini Urban
2011-09-27 19:18 ` Charles Wilson
2011-09-28 13:53   ` Buchbinder, Barry (NIH/NIAID) [E]
2011-09-28 16:27     ` Andrew Schulman
2011-10-09 19:46       ` Reini Urban
2011-10-11 15:02         ` Andrew Schulman [this message]
2011-09-27 21:16 ` Chris Sutcliffe
2011-09-28 15:31 ` Christian Franke
2011-09-30 10:01 ` [ITP] nosleep 0.1.3-1 (needs GTG) Andrew Schulman
2011-09-30 14:00   ` Charles Wilson
2011-09-30 15:57     ` Andrew Schulman
2011-09-30 17:13       ` Reini Urban
2011-09-30 19:57         ` Andrew Schulman

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=o6l8975krk33bn0c4gmoo0p33u112ff8ao@4ax.com \
    --to=schulman.andrew@epamail.epa.gov \
    --cc=cygwin-apps@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).