make it usable on additional platforms

Platforms like plan9, windows and solaris don't support SYS_IOCTL.

This change will default to a terminal size of **80x24** on these platforms and circumvent the missing feature.