in reply to Fun with ANSI

I'm not getting any ansi color from this on linux.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Fun with ANSI
by truedfx (Monk) on Aug 10, 2005 at 17:12 UTC
    Pipe the output through cat -v and it should be clear what's happening. You're not supposed to see any special colours.
Re^2: Fun with ANSI
by phroggy (Monk) on Aug 14, 2005 at 00:28 UTC
    It uses ANSI escape sequences to control cursor movement, not to display different colors. Change ;print}print to ;print;sleep 1}print to see it more clearly.
    perl -e '($,,@_)=("er",",\n","l Hack"," P","Just anoth"); print reverse @_;'