Sunday, March 6, 2011

Fun with perl-- Terminal Animation

Here's some fun for you. Want to turn you terminal to a live aquarium with sharks and ships roaming around?? Here's what you need to do:
1. Install Term-Animation from here
2. Extract the package using tar -xvf filename
3. cd to the directory formed after extraction and run :
perl Makefile.PL && make && make test
4. sudo make install
5. Install AsciiAquarium from here.
6. cd to the directory and type sudo cp asciiquarium /usr/local/bin
7. sudo chmod 0755 /usr/local/bin/asciiquarium
8. Now to test the application , type:
perl /usr/local/bin/asciiquarium
Here's a screenshot of the animation:

That't it hope you enjoy!
P.S Source: nixcraft

No comments:

Post a Comment