DragonFly BSD
DragonFly submit List (threaded) for 2004-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: grdc(6) (was Re: pcvt(4)-related)


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Tue, 23 Mar 2004 12:03:14 -0800

On Mon, 22 Mar 2004 20:18:18 -0800
Chris Pressey <cpressey@xxxxxxxxxxxxxxx> wrote:

> Yet more: grdc.diff, cleans up grdc(6).  One day, maybe slightly less,
> considering how critical a system component it is :)

OK, now that that's done, here's why I did it: to pave the way for some
improvements to grdc(6).

The clock is now displayed centered on the terminal.  grdc(6) will fail
to start if your terminal is too small (like smaller than 61x9 or so)

The scroll option, which nowadays goes by far too quickly to be
appreciated (or even seen) on syscons or xterm, now defaults to having a
120 millisecond duration.

The scroll delay can be adjusted with a new option, -d.

A bug was also fixed where the clock really does run forever now if no
optional seconds argument is given.  (It would have stopped after
about 32,768 seconds due to wraparound, before.)

Patch is at:

  http://catseye.webhop.net/DragonFlyBSD/patch/grdc.diff

Technically this should wait three days, but considering it's in games/,
I'll be happy to speed it up to two days if everyone's OK with that.

-Chris



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]