This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation

The "test-terminal-size" command:

Show the size of the terminal window from which the command is launched as two integers, the width in characters and the height in lines.

If the size cannot be determined, two zeros are shown.