drop the linenoise library

Closes #5038