Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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.


OSUnderdog


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 ;-)

    /J\

      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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-30 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls