On Mon, 07 Dec 2009 00:30:05 +0000, Pádraig Brady <p...@draigbrady.com> wrote:

> The stty-row-col test is getting EINVAL from the system.
> Can you try running this is a terminal to see if it does the same?
> 
>   stty rows 40 columns 80

OK, I think I understand now.

$ stty size
25 80
$ stty rows 25 columns 80
$
$ stty rows 26 columns 80
stty: standard input: Invalid argument

So, I think the test is making an invalid assumption that the terminal
is always capable of displaying 40 lines.

I'll guess at a potential solution of using the currently installed
'stty' to query the size first, then using those values to test the
new version?

Thanks,

Matt.



Reply via email to