Index | Thread | Search

From:
Philip Guenther <guenther@gmail.com>
Subject:
Re: Implement tcgetwinsize and tcsetwinsize
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
enh <enh@google.com>, finxx <me@finxx.xyz>, tech@openbsd.org
Date:
Sun, 23 Feb 2025 20:16:05 -0800

Download raw body.

Thread
On Sun, Feb 23, 2025 at 7:51 PM Theo de Raadt <deraadt@openbsd.org> wrote:
>
> Philip Guenther <guenther@gmail.com> wrote:
>
> > and then there's the hard part: verify
> > the window size is reset on first open for all the terminal drivers.
>
> I believe all drivers are forced to go through ttyopen(), which clears
> them.  Even the pty code, right?

I don't know.  I wasn't convinced when I looked before but when I
tested the console serial on the hppa in my closet they were being
reset, so, uh, maybe?



Philip