def run_for_instance(self, _, instance):
        height = 20
        try:
            process = popen("stty", "size", stdin=sys.stdin)
        except __HOLE__:
            pass
        else:
            stdout, _ = process.communicate()
            if process.returncode == 0:
                try:
                    height = max(int(stdout.split()[0]) - 2, 0)
                except ValueError:
                    pass
        yield instance.follow(lines=height)
dataset/ETHPy150Open abusesa/abusehelper/abusehelper/tools/botnet/commands.py/Follow.run_for_instance