[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stty & stty-row-col test failures

From: Matthew Burgess
Subject: Re: stty & stty-row-col test failures
Date: Mon, 7 Dec 2009 11:43:33 -0700
User-agent: RoundCube Webmail/0.1b

On Mon, 07 Dec 2009 00:30:05 +0000, Pádraig Brady <address@hidden> 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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]