public inbox for cygwin-developers@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin-developers@cygwin.com
Cc: Takashi Yano <takashi.yano@nifty.ne.jp>
Subject: [PATCH v8 0/1] Pseudo console support in PTY (v8)
Date: Wed, 21 Aug 2019 15:43:00 -0000	[thread overview]
Message-ID: <20190821154239.9197-1-takashi.yano@nifty.ne.jp> (raw)

Changes from v7:
Make the programs work which call WIN32 APIs such as WriteConsole()
directly despite being linked with cygwin1.dll. This is realized
by hooking some WIN32 APIs and switching I/O to the pseudo console
if console access is detected.

Takashi Yano (1):
  Cygwin: pty: add pseudo console support.

 winsup/cygwin/dtable.cc               |   51 +
 winsup/cygwin/fhandler.h              |   43 +-
 winsup/cygwin/fhandler_console.cc     |   32 +
 winsup/cygwin/fhandler_tty.cc         | 1483 ++++++++++++++++++++++++-
 winsup/cygwin/fork.cc                 |   24 +
 winsup/cygwin/select.cc               |   22 +-
 winsup/cygwin/spawn.cc                |   55 +
 winsup/cygwin/strace.cc               |   24 +
 winsup/cygwin/tty.cc                  |    8 +
 winsup/cygwin/tty.h                   |   24 +-
 winsup/utils/cygwin-console-helper.cc |   14 +-
 11 files changed, 1731 insertions(+), 49 deletions(-)

-- 
2.21.0

             reply	other threads:[~2019-08-21 15:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-21 15:43 Takashi Yano [this message]
2019-08-21 15:43 ` [PATCH v8 1/1] Cygwin: pty: add pseudo console support Takashi Yano
2019-08-27  8:24   ` Corinna Vinschen
2019-08-27  8:39     ` Thomas Wolff
2019-08-27  8:47       ` Corinna Vinschen
2019-08-27 15:52         ` Takashi Yano
2019-08-27 15:58           ` Corinna Vinschen
2019-08-23 22:30 ` [PATCH v8 0/1] Pseudo console support in PTY (v8) Thomas Wolff
2019-08-24  6:18   ` Takashi Yano
2019-08-24 22:22     ` Thomas Wolff
2019-08-27 18:06       ` Takashi Yano
2019-08-29  6:49         ` Thomas Wolff
2019-08-29  8:05           ` Corinna Vinschen
2019-08-29 11:58             ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190821154239.9197-1-takashi.yano@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin-developers@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).