Avoid using tok_str and linking to libedit and libncurses just to split according to IFS