GDC(6)
π GDC(6) π β the Games manual, but make it cute π
okay so bestie, welcome to the Games section, page GDC(6), and honestly? it's giving terminal-clock realness. β¨
πΈ NAME πΈ
gdc β the grand digital clock using curses. literally a big digital clock for your terminal, and yes, it ate. π°οΈπ
π SYNOPSIS π
gdc [-dns] [-t hh:mm:ss] [count]
π¦ DESCRIPTION π¦
okay so gdc uses curses to display a clock on the terminal. it constructs the digits from reverse-video blank characters β iconic behavior, no notes. if the terminal type supports color, the digits are drawn in red. π₯
make the clock stop, pause, or resume by typing q, s, or space, respectively. that's the whole vibe check: q = stop, s = pause, space = resume. π«Ά
given a numeric operand, the clock stops after count seconds. normally, gdc runs βforeverβ β and by forever we mean at least 2 billion seconds. π not me thinking that's basically forever forever.
β¨ OPTIONS β¨
-dβ uses the terminal's default background color. matchy-matchy, lowkey flawless. π-nβ reads input from/dev/null, makinggdcignore the stop and pause commands. you can still stop it with a terminal interrupt. so yeah, it's on ignore mode but not completely untouchable. π-sβ scrolls the digits up as they change. when running on a fast display, the program breaks up the scrolling into sub-second redraws, making the operation appear smooth. smooth like butter, fr fr. π§β¨-t hh:mm:ssβ uses the specified time instead of the current time. set the clock to whatever time you want, main character energy. β°π
π AUTHORS π
shoutout to the icons who made this happen: Amos Shapir, John Lupien (modifications for curses), Thomas Dickey (improvements for ncurses). absolute legends, periodt. ππ
this little masterpiece comes from ncurses-examples, dated 2024-06-15, and it's page GDC(6) β mwah, bestie ππ
π¦ where this page comes from
- opensuse-leap 16.0: ncurses-examples 6.5.20250531-160000.3.1 Β· MIT
- opensuse-leap 16.0: ncurses-examples 6.5.20250531-160000.3.1 Β· MIT
- opensuse-leap 16.0: ncurses-examples 6.5.20250531-160000.3.1 Β· MIT
- opensuse-leap 16.0: ncurses-examples 6.5.20250531-160000.3.1 Β· MIT
- Copyright 2020,2024 Thomas E. Dickey
- Copyright 1998-2006,2017 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms