readline support
implement get and put commands