{ # clear the screen print "\ec"; # draw your clock # wait and redo sleep 1; redo }