part01 input-edit - C input functions for line editing with history, Part01/01