Node readline stuff.