user
Determine the height and width of the terminal, and store this information into variables for subsequent use.
assistant
(formerly Perl 6)
Using *stty* just for the heck of it.

```
my $stty = qx[stty -a];
my $lines = $stty.match(/ 'rows '    <( \d+/);
my $cols  = $stty.match(/ 'columns ' <( \d+/);
say "$lines $cols";

```