STREAMS on Solaris
A STREAMS implementation of The Towers of Hanoi. A STREAMS module is pushed on the terminal. It waits for the user to type hanoi N, and then spews out the list of moves on the terminal in a very unceremonious manner!