sleep with feedback
C Makefile Groff
Latest commit 359cd3c Mar 23, 2016 @clamiax Allow specifying fractions of units.
Removed buffer overflow in the process.

Thanks to ccxcz (https://github.com/ccxcz).
Permalink
Failed to load latest commit information.
LICENSE init Jan 22, 2016
Makefile Move "snore" to $APPNAME. Jan 30, 2016
README.md Remove the demo. No needs for it. Feb 20, 2016
config.mk Fix description. Jan 30, 2016
snore.1 Minor doc improvement. Jan 26, 2016
snore.c Allow specifying fractions of units. Mar 23, 2016

README.md

snore - sleep with feedback

SYNOPSIS

snore [-v] [NUMBER[SUFFIX]...]

snore pause for NUMBER seconds. SUFFIX may be 's' for seconds (default), 'm' for minutes, 'h' four hours or 'd' for days. Given two or more arguments, pause for the amount of time specified by the sum of their values. A visual feedback is given by printing the flowing of time in both ascending and descending order. If no arguments are given, snore pauses for 1d (one day).

SHORTCUTS

Enter  output the split time

Ctrl-s pause execution

Ctrl-q resume execution

Installation

Edit config.mk to match your local setup (snore is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install snore (if necessary as root):

make clean install