Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Jumping Tux!

by superfrink (Curate)
on Jul 18, 2004 at 23:41 UTC ( [id://375439]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://375439]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found