PATCH01.      input-edit - C input functions for line editing with history, Patch01