http://qs1969.pair.com?node_id=375439


in reply to Re: Jumping Tux!
in thread Jumping Tux!

The perl code is calling the "sleep" command (ie command line program). I'm guessing WinXP doesn't have a program with that name.

On my Slackware box though I get a message that says the argument is invalid because sleep(man 1) requires an integer number of seconds or minutes or hours or days.

Changing the sleep command on line 121 from:
sleep&0.05");}sub&limits&{print&"\e[3;2H";for($i=0;$
to
sleep&1");}sub&limits&{print&"\e[3;2H";for($i=0;$
lets the program run but it runs at one frame per second.

Kind of reminds me of the old FreeBSD console screen saver.

Replies are listed 'Best First'.
Re^3: Jumping Tux!
by X-3mE (Acolyte) on Jul 19, 2004 at 07:14 UTC
    Mmm, I've got Slackware too, but it doesn't give me problems at all. It just runs displayin' that jumping tux (and it jumps very fast!)

    X-3mE'89
    "Considerate la vostra semenza:
        Fatti non foste a viver come bruti,     Ma per seguir virtute e canoscenza"
    Divina Commedia, Inverno, Canto XXVI

      I read sleep's documentation, and it says that older versions of sleep didn't accept floating point numbers.

      X-3mE'89
      "Considerate la vostra semenza:
          Fatti non foste a viver come bruti,
          Ma per seguir virtute e canoscenza"
      Divina Commedia, Inverno, Canto XXVI