allow setwinsize() to fail