$OpenBSD: patch-pandas_io_formats_terminal_py,v 1.1.1.1 2018/09/14 08:09:05 sthen Exp $

Index: pandas/io/formats/terminal.py
--- pandas/io/formats/terminal.py.orig
+++ pandas/io/formats/terminal.py
@@ -42,7 +42,8 @@ def get_terminal_size():
             # needed for window's python in cygwin's xterm!
     if current_os == 'Linux' or \
         current_os == 'Darwin' or \
-            current_os.startswith('CYGWIN'):
+            current_os == 'OpenBSD' or \
+                current_os.startswith('CYGWIN'):
         tuple_xy = _get_terminal_size_linux()
     if tuple_xy is None:
         tuple_xy = (80, 25)      # default value
