Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

OT: Towers of Hanoi: emacs

by osunderdog (Deacon)
on Oct 20, 2004 at 15:54 UTC ( #400900=note: print w/ replies, xml ) Need Help??

in reply to Recursion: The Towers of Hanoi problem

For those of you that run emacs, you can see the Towers of Hanoi by typing:

<M>-x hanoi <ret>

"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


Comment on OT: Towers of Hanoi: emacs
Download Code
Replies are listed 'Best First'.
Re: OT: Towers of Hanoi: emacs
by gellyfish (Monsignor) on Oct 20, 2004 at 16:01 UTC

    And for those that might use vim you can type:

    :so /usr/share/vim/macros/hanoi/hanoi.vim <ret> g
    But to be honest it is a bit fast to be interesting ;-)


      if you have vim version 61 they changed the default share directory: /usr/share/vim/vim61/macros/hanoi/hanoi.vim, regardless locate hanoi (or window find hanoi) should reveal it's location. So that's:

      :so /usr/share/vim/vim61/macros/hanoi/hanoi.vim g

      "Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce

      Can't open file /usr/share/vim/macros/hanoi/hanoi.vim
      Guess not for every vim.

      PICO RULZ!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400900]
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: (9)
As of 2015-11-27 13:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (729 votes), past polls