I would probably use 'spacebar' myself. But that means it's easier to whack the thing on accident, of course. (I use spacebar because I often play melee and want to wait for melee monsters to walk into my range.)
In NetHack, "rest on spacebar" is an optional setting, with period as default. So the period key works well!