Files
cshenv/bin/term_clock.sh

24 lines
472 B
Bash
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

. ~/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