This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH 0/3] Some fixes for PTY with pseudo console support (3)
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin-patches at cygwin dot com" <cygwin-patches at cygwin dot com>
- Date: Sun, 15 Sep 2019 15:36:40 +0000
- Subject: Re: [PATCH 0/3] Some fixes for PTY with pseudo console support (3)
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iJy8OOgb3x3hpaSYGoO9psjjem4vpxtNVbd+FjZpwTg=; b=PYkA+NcoS69Yi3iDDvqOxr0VI2tTLMh0EWFNWx68LfA7hubrINXcnRwB91WJNOfFWFA3NfU+iXW2Y3/iQye77cOa+MBEAKl0YrX7eVBzGOSwvZCJpyIoYYjj897S12N+80Uo8hKs7qvzfIH90ZGCQqOIp6p6r9/hZArufFtEMQ1QWV4DKRy8GxS9E7AOdJvaTy3zR7uJ2JGz1JT4urd6O1ESYxULrxHt9IudN+VK7JxAzg6Kg8yMIsUVzTSfnP1iQNS2JqImDZMXnPQX84n5Ms990WXEjBPoN9vZGT59fScr2qkSPsI8+plevopMUfyr7C4ch2U4wcnl0CGI/uDFIg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQpseIbvg129jYkMAQ9kPkfBr/VtisK8vtd9CEV33ZlNfZ950mojQ4ZX+PXXKuI99ivxedl0Ac+JWo1pLpigxM5vSpYTE5vaJsNhkhAVkm1tekSVXogt3lSKRQ282GYs6bHsMrKhh3mdxHezAUXvhDoZw3SXsQ6CPywG+T7DJmYubYgX0quZAB98aJwEByQZyWzkPc71o5AJLWMzW7IuK9rWl7CemPVFmsIuMNwUztpP1Gp93145Df/L7VIspSjhML27mBL78+gbR47YdEDDWL061v/HB5bNHqwTzHv397zLBDE4grHAa+akLIx+rXPq8UipifTmqM+1NYyS9S/jqA==
- References: <20190915040553.849-1-takashi.yano@nifty.ne.jp>
On 9/15/2019 12:05 AM, Takashi Yano wrote:
> [PATCH 1/3] Fix bad file descriptor error in some environment.
> The bad file descriptor problem reported in:
> https://cygwin.com/ml/cygwin-patches/2019-q3/msg00104.html
> was recurring. Fixed again.
>
> [PATCH 2/3] Use system NLS function instead of PTY's own one.
> Since calling system __loadlocale() caused execution error,
> PTY used its own NLS function. The cause of the error has been
> found, the corresponding code has been rewritten using system
> function.
>
> [PATCH 3/3] Change the timing of clearing screen.
> The code which clears screen is moved from reset_switch_to_pcon()
> to fixup_after_exec() because it seems not too early even at this
> timing.
>
> Takashi Yano (3):
> Cygwin: pty: Fix bad file descriptor error in some environment.
> Cygwin: pty: Use system NLS function instead of PTY's own one.
> Cygwin: pty: Change the timing of clearing screen.
>
> winsup/cygwin/fhandler.h | 1 +
> winsup/cygwin/fhandler_tty.cc | 527 ++++++++--------------------------
> winsup/cygwin/tty.cc | 2 +-
> winsup/cygwin/tty.h | 2 +-
> 4 files changed, 120 insertions(+), 412 deletions(-)
Pushed. Thanks.
Ken