Index | Thread | Search

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

Download raw body.

Thread
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?