Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by veyron on Saturday July 28, 2012 @10:15AM
(#4305555)
`caffeinate' seems to be a command-line ripoff of http://www.lightheadsw.com/caffeine/
[ Parent
| on HN ]
Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by DrJokepu on Saturday July 28, 2012 @10:33AM
(#4305605)
There isn't much to rip off, the whole thing is a few dozen lines long, trivial utility. The program name is probably a bona fide reference to the app.
The source code of caffeinate(8) is available at http://opensource.apple.com/source/PowerManagement/PowerMana...
Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by djhworld on Saturday July 28, 2012 @12:51PM
(#4305874)
Hmm, never heard of that, but I can see myself using this caffeinate command quite often.
Sometimes I leave command line programs running overnight then get annoyed when I find that my Mac went to sleep after an hour because I'd forgotten to adjust the power saving settings.
So running caffeinate -u <my command> will be very handy indeed
Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by fredsted on Saturday July 28, 2012 @10:23AM
(#4305573)
Quite obvious ripoff, too. Apple could at least have named it "nosleep" or something like that.
Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by smashing on Saturday July 28, 2012 @10:26AM
(#4305586)
Nosleep would be a ripoff of this project: https://code.google.com/p/macosx-nosleep-extension/
Re:Interesting new Unix commands/binaries in OS X Mountain Lion
by heretohelp on Saturday July 28, 2012 @07:02PM
(#4306851)
More importantly, it'll make these utilities easier to write.