in reply to the ghost of xmas past.

Agree, very nice! ++

I confess I destroyed it a little bit, to get the ANSI colour effects even on windows with

use Win32::Console::ANSI;

Update: ANSI is long since I used it last, but shouldn't the middle part of the first line read:

... for(1..10){print"\e[2J ...

instead of

... for(1..10){print"\ec ...

???

And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
(Terry Pratchett, Small Gods)

Replies are listed 'Best First'.
Re^2: the ghost of xmas past.
by teamster_jr (Curate) on Dec 21, 2004 at 17:56 UTC
    hmm
    yes you can use \e[2J (erase screen and return home), although \ec (reset device) does basically the same thing, and is 2 (obv) chars cheaper.

    you can find more here

    al