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

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.


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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2018-06-20 18:16 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.