[PATCH 0/1] Fix console again (Re: Pseudo console support in PTY)

Takashi Yano takashi.yano@nifty.ne.jp
Wed Apr 3 16:26:00 GMT 2019


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



More information about the Cygwin-patches mailing list