24 lines
472 B
Bash
Executable File
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 "[P7[1000000A[1000000C[19D[35;107m${when}8Q"
|
|
#stty ${old}
|
|
done
|