Current Delay Feature
-d delay is cool if you want increments other than the default 1sec.
Only downside
- If you want to achieve e.g. increments in 5secs that are nicely "aligned" on the 5 number series, e.g.
22:17:00, 22:17:05, 22:17:10, … you have to achieve this by starting at the right time. Not so easy to get that right manually.
- If you start it regardless of that it simply takes the current time and increments, so e.g.
22:17:02, 22:17:07, 22:17:12.
I propose an "aligned delay" mode
- It creates a number series:
0, delay, delay*2, delay*3, … until number generation hits 60.
- When you start
tty-clock into that "aligned delay mode" and is yet "unaligned" (e.g. 22:17:02) the clock instead starts with 22:17:0_ with the _ part denoting that it waits for the next "clean entry point".
- As soon as it reaches any number in the desired number series, it starts there, so e.g.
22:17:05 and from then on "runs aligned".
Would love to see that feature!
Flag ideally would be -D delay
- As a modified version of
-d
- But sadly
-D is already takes for "Hide Date".
- Maybe you want to break backwards compatibility.
- Maybe an extra "aligned" flag. But -a is also already taken. So maybe
-A. Or something else.
Current Delay Feature
-d delayis cool if you want increments other than the default 1sec.Only downside
22:17:00, 22:17:05, 22:17:10, …you have to achieve this by starting at the right time. Not so easy to get that right manually.22:17:02, 22:17:07, 22:17:12.I propose an "aligned delay" mode
0, delay, delay*2, delay*3, …until number generation hits 60.tty-clockinto that "aligned delay mode" and is yet "unaligned" (e.g.22:17:02) the clock instead starts with22:17:0_with the_part denoting that it waits for the next "clean entry point".22:17:05and from then on "runs aligned".Would love to see that feature!
Flag ideally would be
-D delay-d-Dis already takes for "Hide Date".-A. Or something else.