Help: test-terminal-size
Not logged in
Rob's wiki on web ...

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.