This program uses weather data supplied by the Weather::Underground module to create an ASCII animation that simulates the weather. There is also a large number of random creatures and objects that walk across this screen.
Install the prerequisites if you haven't already done (for CentOS distro as usual):
cpan install Term::Animation yum install -y perl-CursesInstall WeatherSpect:
cd /downloads/ wget http://robobunny.com/projects/weatherspect/weatherspect.tar.gz tar -xvzf weatherspect.tar.gz cd weatherspect_v1.9/ chmod 755 weatherspect cp weatherspect /usr/bin/ cd ~Generate config file:
[root@ygwane ~]$ weatherspect -c
Accepted formats for location:
Zipcode
City
City, State
State
City, Country
Country
Your Location: Apt, France
Temperature ( (C)elsius, (F)ahrenheit, (B)oth ) [B] C
Wind Speed ( (K)PH, (M)PH, (B)oth ) [B] K
Creating config file in /root/.weatherspect...
It's possible to change your location (and some others features) by editing the config file /root/.weatherspect ... Now have fun ! (press 'q' for quit)
weatherspectWe can have a weather report by pressing 'w' (press again 'w' to close the report)
Screenshot:
Website: http://robobunny.com/projects/weatherspect/html/

Aucun commentaire:
Enregistrer un commentaire