getwindowsize
($lines, $columns) = getwindowsize(void);
($lines, $columns) = getwindowsize
$columns = getwindowsize(void);
$columns = getwindowsize
This functions returns the current size of the window (in characters), in terms of lines and columns. It can return both dimensions, or just the number of columns.
getversion
getworld