Very cute! Note that the following line in the nroff version will take care of a default (in this case, 5): . if \nr=0 .rn r 5 I've posted a pretty curses version of hanoi to net.sources. Animation and all! Gary Perlman/Wang Institute/Tyng Road/Tyngsboro, MA/01879/(617) 649-9731