* Shehu Dikko <
news....@gmx.net> [2021-05-22 17:59]:
> * Sven Guckes [2021-03-19] [gmane.comp.terminal-emulators.tmux.user]:
> > hi! has anyone made *another* BIG CLOCK yet?
> > possibly with seconds, showing for 5seconds?
>
https://github.com/xorg62/tty-clock
hey.. that's a nice clock! :-) see it here:
https://www.guckes.net/2021-05-23.tty-clock.png
while tty-clock is running you can move it about manually,
have it rebound (bounce off the walls of the terminal),
make it go back to center, change its color, toggle
the display of the date and a surrounding box.. nice! :)
you can also have it run on the consoles through inittab.
it's 228KB in my account now.. probably a lot more than
tmux's built-in clock.. but maybe this can be adapted?
> % tty-clock -csDC4 -d5s
> However, tmux freezes when that is called from a binding
> bind t run-shell "tty-clock -csDC4 -d5s"
> % tmux -V -> tmux next-3.3
> % uname -vo -> #1 SMP Debian 4.19.181-1 (2021-03-19) GNU/Linux
tried it here on tmux 2.3.. didnt work somehow.
went away to read something.. and returned to
find almost all of my processes gone as the RAM was
filled almost entirely by my run-away tmux. o_O
i used just a slight variation bound to 'T' with
an absolute path and minus the 5sec update delay:
bind T run-shell "~/bin/tty-clock -csDC4"
maybe i should try it again on my laptop with tmux next-3.3
to verify again.. but it's getting late again...
thanks to Shehu for the pointer. and
back to the maillist/newsgroup again..
ps: the irc channel is now on libera.chat!
Sven
--
$ apropos tmux -> tmux (1) - terminal multiplexer
man:
http://man.openbsd.org/OpenBSD-current/man1/tmux.1
code:
http://tmux.github.io/
tar:
https://github.com/tmux/tmux/releases/download/3.2/tmux-3.2.tar.gz
clog:
https://raw.githubusercontent.com/tmux/tmux/3.2/CHANGES
chat: old: irc://
irc.freenode.net/tmux
-> new: irc://irc.libera.chat/tmux
old webchat:
http://webchat.freenode.net/?channels=%23tmux&uio=d4