Le 01/01/06, jipe <[EMAIL PROTECTED]> a écrit :
> bonne année à tous et pour que vos xterms en profitent aussi, une
> petite minute de neige ...
>
> tput civis; SECONDS=1; set -- \* x X .; clear; while ((SECONDS%60));
> do num=$((RANDOM%$#+1)); echo -e
> "\e[$((RANDOM%LINES));$((RANDOM%COLUMNS+1))H"${!num}; sleep 0.1;
> done; tput cnorm; clear
Hé hé, merci Jipe :) En plus, j'apprends un truc que je ne connaissais
pas :
http://abs.traduc.org/abs-3.7-fr/bashver2.html#EX78
Sans parler d'aller chercher civis et cnorm au fin fond du man de
terminfo...
--
Christophe Gaubert
http://perso.wanadoo.fr/christophe.gaubert
Mail posté depuis un système libre GNU/Linux
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________