This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 0/1] Fix console again (Re: Pseudo console support in PTY)
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin-patches at cygwin dot com
- Cc: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- Date: Thu, 4 Apr 2019 01:25:30 +0900
- Subject: [PATCH 0/1] Fix console again (Re: Pseudo console support in PTY)
- Dkim-filter: OpenDKIM Filter v2.10.3 conuserg-03.nifty.com x33GPxpn019653
- References: <20190403072758.GR3337@calimero.vinschen.de>
Hi Corinna,
I have made a patch for the issue reported in cygwin-developers
mailing list as follows.
Could you please check?
On Wed, 3 Apr 2019 09:27:58 +0200 Corinna Vinschen wrote:
> On Apr 3 09:18, Thomas Wolff wrote:
> > > - cmd history works
> > In the cygwin console, it does not, echos the cursor-up escape sequence
>
> Oh, right, ...
>
> > instead. See my previous comment that I think ConPTY should only be applied
> > if running at a pty. (And for other reasons only when starting a non-cygwin
> > app.)
>
> but you got that wrong. The conpty stuff *is* only applied for ptys.
>
> The above appears to be a fallout of the console changes to support
> the Windows console changes to emulate an xterm-256color,
> https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=bd627864ab41
>
> Takashi, can you take a look?
Takashi Yano (1):
Cygwin: console: fix key input for native console application
winsup/cygwin/fhandler_console.cc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
--
2.17.0