Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Jumping Tux!

by wfsp (Abbot)
on Jul 18, 2004 at 15:54 UTC ( [id://375390]=note: print w/replies, xml ) Need Help??


in reply to Jumping Tux!

on winXP, activestate:
obfu.pl 80 24
produces...
'sleep' is not recognized as an internal of external command.
Plus a continuous scrolling of numbers. It may be good but it may need a health warning. When I get a 'proper' platform I'll try again!
Take care, wfsp

Replies are listed 'Best First'.
Re^2: Jumping Tux!
by superfrink (Curate) on Jul 18, 2004 at 23:41 UTC
    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.
      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://375390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found