Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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]
[james28909]: oh nevermind, i see one of the users in the list of connected users now. thanks!
erix could you an extra bit of cloud too
[erix]: heh I wrote 'you' instead of 'use' - dumb sound-typing
[GotToBTru]: i prefer clear skies to the cloud

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-07-27 14:51 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (416 votes). Check out past polls.