Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Hanoi

by one4k4 (Hermit)
on Jun 06, 2003 at 18:40 UTC ( #263814=note: print w/ replies, xml ) Need Help??


in reply to Hanoi

I'm ++'ing because it seems like it worked, I just don't get it..

[3;3H| [4;7H| [3;7H| [4;10H--- [3;11H-
What's happening here? I know what the game is, and I think I'm just missing the graphical representation that's going on.. Thoughts?

One4k4 - perlmonks@poorheart.com (www.poorheart.com)


Comment on Re: Hanoi
Download Code
Re: Re: Hanoi
by educated_foo (Vicar) on Jun 06, 2003 at 18:59 UTC
    You need a better VT100 terminal emulator (it looks fine in both xterm and OS X's Terminal.app).

    /s

Re: Re: Hanoi
by daeve (Deacon) on Jun 07, 2003 at 20:18 UTC
    It works fine on my redhat 8.x box but I get the same type of output that one4k4 gets when I run it in a dos window while under WinME. Just though to try cygwin on the ME machine and still get the same as under dos. FWIW I'm running perl 5.8.0 on redhat and 5.6.1 built for MSWin32-x86 on ME.

    Daeve

      under win32 did you try it under rxvt?
      that usually solves my terminal needs.
        Didn't have rxvt installed. Used the standard Cgywin window. I noticed that there was an update to Cygwin and am downloading it now. After seeing your question I checked for rxvt but hadn't installed it. I now have it in the list of items to download and install. I did log into my Mandrake 8.1 box that has perl 5.6.1 and tried Hanoi.pl there and it runs properly. Will try it using rxvt under WinME as soon as the download finishes (56k connection for the LAN so is taking a while) and see how it goes.

        FWIW... I just downloaded and installed MacPerl on my old Power Computing PowerCenter 120 running MacOS9.1. I grabbed the Hanoi.pl code and ran it and am getting the same type of output as when running it under Windoze that one4k4 shows above.

        Daeve

        Update: Got rxvt installed in cygwin and Hanoi.pl displays fine in it. Still displaying as above in in straight bash shell window.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-10-25 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (147 votes), past polls