Status of pty and console pathces

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 30 08:39:28 GMT 2026


Johannes,

any chance you could review these patches as well?


Thanks,
Corinna


On Mar 29 09:53, Takashi Yano wrote:
> [New feature]
> ===== OpenConsole [v6] ====
> Cygwin: console: Fix master thread for OpenConsole.exe
> Cygwin: pty: Handle CSIc in pcon_start phase (*)
> Cygwin: pty: Use OpenConsole.exe if available (*)
> ===========================
> 
> [Bug fixes]
> Cygwin: pty: Make pcon_start handling more multi thread durable
> Cygwin: pty: Fix write data handling in pcon_start phase
> 
> Cygwin: pty: Make Ctrl-C work for non-cygwin app in GDB  [v2] (*)
> Cygwin: pty: Restore nat handles in all PTY-slave instances in GDB [v2]
> 
> (*) means the patch reviewed once and revised.
> 
> 
> On Wed, 25 Mar 2026 22:43:43 +0900
> Takashi Yano wrote:
> > I currently am proposing the following patches that is waiting for review.
> > 
> > Many of bugs are uncovered by Johannes's reproducer:
> > https://cygwin.com/pipermail/cygwin-patches/2026q1/014714.html
> > I really appreciate for providing such a reproducer.
> > 
> > 
> > [New feature]
> > ===== OpenConsole (v6) ====
> > Cygwin: console: Fix master thread for OpenConsole.exe
> > Cygwin: pty: Handle CSIc in pcon_start phase (*)
> > Cygwin: pty: Use OpenConsole.exe if available (*)
> > ===========================
> > 
> > 
> > [Bug fixes]
> > Cygwin: pty: Make pcon_start handling more multi thread durable
> > Cygwin: pty: Fix write data handling in pcon_start phase
> > 
> > Cygwin: pty: Clear discard_input flag on master write()
> > Cygwin: console: Release pipe_sw_mutex in pcon_hand_over_proc()
> > 
> > ====== out-of-order patch (v7) ====
> > Cygwin: pty: Drop nat_fg() check from to_be_read_from_nat_pipe()
> > Cygwin: pty: Guard to_be_read_from_nat_pipe() by pipe_sw_mutex
> > Cygwin: pty: Guard get_winpid_to_hand_over() with attach_mutex
> > Cygwin: pty: Apply line_edit() for transferred input to to_cyg
> > Cygwin: console: Use input_mutex in the parent PTY in master thread
> > Cygwin: pty: Add workaround for handling of backspace when pcon enabled (*)
> > Cygwin: console: Fix master thread
> > ===================================
> > 
> > Cygwin: pty: Omit CSI?1004h/l from pseudo console output
> > Cygwin: pty: Fix input transfer when multiple non-cygwin apps exist
> > 
> > Cygwin: pty: Make Ctrl-C work for non-cygwin app in GDB (*)
> > Cygwin: pty: Restore nat handles in all PTY-slave instances in GDB
> > 
> > 
> > (*) means the patch reviewed once and revised.
> > 
> > -- 
> > Takashi Yano <takashi.yano@nifty.ne.jp>
> 
> 
> -- 
> Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-patches mailing list