GRDC(6)
π GRDC(6) β the grand digital clock (curses) π
okay bestie, so this is grdc, the grand digital clock β a curses-era icon that draws a clock out of reverse-video blanks on your terminal. yes, blanks. reverse-video blanks. it's giving minimalism, it's giving 1990s, it's giving main character energy π
β¨ SYNOPSIS β¨
grdc [-st] [n]
grdc -c n
π°οΈ DESCRIPTION π°οΈ
grdc runs a digital clock made of reverse-video blanks on a curses compatible VDU screen. that's the whole vibe. no tiny fonts, no graphics, just vibes and inverse video π¦
nβ an optional numeric argument. pass it and the clock stops afternseconds (default never, i.e. it just keeps going forever like your group chat at 2am π)
the clock can also act as a countdown timer with the -c flag β n then specifies the number of seconds to time for β³
-sβ optional flag that makes digits scroll as they change β¨-tβ optional flag that tellsgrdcto output the time in a 12-hour format π-cβ countdown timer mode, withnbeing the number of seconds to time for π₯
ngl, there's a heads-up in this curses mode implementation: the scrolling option has trouble keeping up π like it's trying its best but it's lowkey falling behind. iconic behavior honestly.
πΈ ENVIRONMENT πΈ
TZβ the time zone to use for displaying the time. it's normally specified as a pathname relative to/usr/share/zoneinfo, though seetzset(3)for more information π if this variable is not set, the time zone is determined based on/etc/localtimeπ«Ά
β οΈ NOTES β οΈ
in countdown timer mode, specifying -n > 360000 seconds (that's 100 hours, bestie, a whole situation) will lead to the counter displaying incorrect remaining time π
BUT β and this is the slay part β it will time correctly, and it displays correctly when the remaining time becomes less than 100 hours π so like. it's fine. it recovers. it's giving comeback arc.
π AUTHORS π
- Amos Shapir
- modified for curses by John Lupien
- countdown timer mode by Gavin Atkinson
legends, all of them, fr fr π«Ά
Debian Β· January 15, 2023 Β· GRDC(6) β and that's the page, bestie! go set a countdown and watch those reverse-video blanks do their thing π
β¨π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms