emulation: Don't depend on terminfo for autowrap and a few other capabilities