Support some linenoise functions