add command line editting support