------------------------------------------------------------
[SUBJECT] move input to function
[AUTHOR]  tfurrows [at] gmail.com
[DATE]    Mon May 9 7:13:57 MDT 2016
------------------------------------------------------------
There is probably enough going on with command input to put it in
a function. Mostly, I need to make sure that I'm catching timeouts
on the stream everywhere I'm waiting for stdin. the multi-line editor
(if you can call it that) might have to handle it's own stuff.
------------------------------------------------------------
