def _environ_cols_tput(*args):
    """ cygwin xterm (windows) """
    try:
        import subprocess
        import shlex
        cols = int(subprocess.check_call(shlex.split('tput cols')))
        return cols
    except Exception:
        pass
    return None
