kliment/Printrun — pull request #314 by colah (2013-01-12 18:55:41+00:00)
Title: Fix Ctr-C and Ctr-D behavior.

We replace the cmdloop function with a slightly modified version
to achieve standard unix shell behavior on keyboard interupts and EOF.