|_&&']['20/22.#4[x3/2.|*#!1050|*#`/. gnu/linux; *nix. c 1 9 being redirected to /dev/null. issues to null@altair.uni.cx. *alt*.serving./at/.`{altair,algol,antares,arcturus,aldebaran,spica,ceti,vega,fomalhaut,rigel,sirius}./dot/.uni./dot/.cx'. ---- this blog still exists only for historical evidence (to my embarrassment). some of the non-laughable "articles" can be read at altair.uni.cx/growl/. :wq.

Tuesday, December 30, 2008

.unix.christmas.-.console.christmas|tree.


we are going to install some perl modules, for a very line-oriented christmas.
% perl -MCPAN -e 'install IO:Tty'
% perl -MCPAN -e 'install Acme'
% perl -MCPAN -e 'install POE'
preferably as root.

want to have `Acme::POE::Tree', and execute
% perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'
meaning: `http://search.cpan.org/~rgiersig/IO-Tty-1.07/Tty.pm';
         `http://search.cpan.org/~ingy/Acme-1.11111/lib/Acme.pm';
         `http://search.cpan.org/~rcaputo/POE-1.003/lib/POE.pm';
finally: `http://search.cpan.org/~rcaputo/Acme-POE-Tree-1.01/lib/Acme/POE/Tree.pm'.

% wget http://search.cpan.org/CPAN/authors/id/R/RG/RGIERSIG/IO-Tty-1.07.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Acme-1.11111.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-1.003.tar.gz
% wget http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/Acme-POE-Tree-1.01.tar.gz

% perl Makefile.PL && make && make test && make install
for each mod.

or,
% perl -MCPAN -e 'install Acme::POE::Tree'
obviously, you'll have to set cpan first ($HOME/.cpan/Metadata).

% perl -MAcme::POE::Tree -e 'Acme::POE::Tree->new()->run()'
once you have it, play with it: modifying (the method) `star_delay', or `light_delay', etc.

p.s.: `IO::Tty' determines tty's properties, by importing constants. w00t!
p.p.s.: thanks to rocco for the geeky present.
        ^             !             ?
       /\            /\            /\
      / *\          /  \          /  \
     / * *\        /  * \        /    \
    /_*_*_*\      /_*__*_\      / ^^^^ \
      ^||^          /^^\           ||    .

p.s.s.: compression and a lot of solid-color areas, resulting a small image. note: this is a png; if it looks broken, get a browser that can view pngs =:: http://www.libpng.org/pub/png/pngapbr.html.
 .
..:

3 comments:

Ionut said...

where is the "follow this blog" button??? :) [i know this has no connection with this post of yours, but it's the only place on your blog i can seem to be able to add comment (well except the other posts lol)]

Ionuț Jula. said...

hey! all set.
% elinks ionutjula.blogspot.com | grep -ie "follow this blog" ; echo -e '\n\tw00t!'.

thanks for your interest.
happy hacking!

adrian ilarion ciobanu said...

neat :)

; about::fdd.

My Photo
twin peaks, 42 milky way, sol system, earth, United States
-----BEGIN GEEK CODE BLOCK----- GCS/E/IT/L/M/MU/P/S/TW/ dpu s:- a-- C++++(+++) UBHLSV++++ P---(P-) L+++++ E++(+++) W+++ N++++ o+++ K++++++ w O+ M-- V-- PS+++ PE/++ Y+++ PGP++++ t+++/* 5++>++++ X++++ R++@ !tv b++++ DI+++@ D++(+++) G+++++ e* h+>++ !r y**. ma+ k++ F3 X+++ ------END GEEK CODE BLOCK------

; blog.archive.

; labels.

Creative Commons Licence [Some Rights Reserved]Ionuț Jula :: licensed for reuse under this Creative Commons Licence.
                            Some rights reserved. | Creative Commons Attribution-Share Alike 3.0 Unported License.
 .
..: