preparations for a very simple line-editing user interface