import and adopt rlwrap
import and adopt ledit