rlwrap: error: My terminal reports width=0 (is it emacs?) I can't handle this, sorry!

solutions:


sleep 0.1 && rlwrap -r ...

just sleep a little time before call rlwrap.