issues for ncurses with clang, but readline is fine on mac so I will go with that for now, testing on linux next