Files
cshenv/bin/term_clock.sh
2025-07-23 16:59:51 -04:00

24 lines
472 B
Bash
Executable File

. ~/cshenv/lib/vulgar.sh
#get_terminal_size rows cols
#echo "Terminal is ${rows} rows and ${cols} cols"
when=`date +"%F %R:%S"`
write_string "${when}" 1 120 107 35
while true
do
sleep 0.25
when=`date +"%R:%S"`
write_string "${when}" 1 131 107 35
#fill_block_attributes 1 90 1 115 47
#fill_block_attributes 1 90 1 115 35
#old=`stty -g`
#stty -echo #-icanon
#stty -echo #-icanon
#echo -n "7${when}8Q"
#stty ${old}
done