I feel totally stupid asking this but but I'm new to programming so here goes...
When you run the Ruby ri command from an OS X term window to look at documentation for a particular command, how do you "quit" the documentation? At the end of the document, an (END) is displayed but I don't see how to quit this. I've tried CTRL-C, CTRL-D, Esc, etc. and I can't find the right key combination. I've searched online and apparently this is so obvious that no one's bothered to document.