Remove legacy terminfo support