Four new features and a bugfix.
authorChris Pressey <cpressey@dragonflybsd.org>
Thu, 25 Mar 2004 23:55:13 +0000 (23:55 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Thu, 25 Mar 2004 23:55:13 +0000 (23:55 +0000)
commit180ac9b350b95a1695bfc05094d4d8a026827ba2
tree59216589ea5779b06845ab3758d6f504b87bc9db
parent3d03122a9a07c182c42bf8a0ce0aa786535ca772
Four new features and a bugfix.

- Center the clock on the user's terminal.
- Check that the terminal is sufficiently large to fully display the
  clock (about 61x9.)  If not, exit immediately with an error.
- Introduce a short delay in the scrolling when -s is given, so that
  it can be better appreciated on syscons(4) and local xterm(1).  The
  default delay is 120 milliseconds.
- Add a new option, -d, to allow changing the scroll delay to any
  duration from 0 to 5000 milliseconds.  The -d option implies -s.
- Make it so that, when the optional argument is omitted, the clock
  really does run forever.  (Before this, it would have stopped after
  about 65536 seconds due to wraparound.)
games/grdc/grdc.6
games/grdc/grdc.c