[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elusive failure in tests/stty/basic-1 on HP-UX
From: |
Bob Proulx |
Subject: |
Re: elusive failure in tests/stty/basic-1 on HP-UX |
Date: |
Fri, 30 Jun 2006 18:18:52 -0600 |
User-agent: |
Mutt/1.5.9i |
Bob Proulx wrote:
> Jim Meyering wrote:
> > Not impossible, just the result of stty thinking the console is
> > very narrow. You can reproduce the problem by running this:
> >
> > stty columns 1; stty -a; stty columns 80
>
> Ah! Now I see. Yes, that looks like it.
Here is some more background for the mail archive. I can periodically
detect that on HP-UX sometimes the rows and columns are reported as
both zero from the tty driver with stty -a. If I resize the terminal
then this resets them to normal values. If I run "eval `resize`" then
it restores them to normal values.
This does not happen very often but very infrequently I notice this
problem when creating a new xterm terminal window. I think that it is
in one of those cases where rows = 0; columns = 0; that it was causing
the tests to fail, as you describe.
> > Thanks a lot for tracking that down.
> > With all of your analysis, I think we can fix it now.
> > I've made this change:
>
> That works for me. Thanks!
Thanks again,
Bob