X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=quoZrbX qU+2aJhqsvti3Z+RLrCBYuwSXsmiMJ4EfsRbq/okRjXy1chiOYcxIJ8L31CfHxzK CLpjN/YWJsu6OrHr1XQsWas//NOQjMpInqHcPYUFYAh8Gii+A/vIeG6ws25qeI3R CYdrqDDkrz/VwlLoUHBlYMw3ggY0mKqGMWFw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=T7TyJFRkXBVzl zY3rMIairJiUBI=; b=CsbWKlD3GyJNWXHL27AP3lyMI5/aNAJl1dplrKQ+xjPnx K7KgocZOdkrqswJdi+LpmKrZC0WmCX+li1dVnDKQrVVbwvi00TFhUCJ48hFEdqwy dq+aG2FJOVhVVkiy9COGKzPUmb53by4JYGspnJm/uvXt4XdaEjf1vjfmT6n1zs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Received:sk:t20mr58, HX-Received:8794, H*c:alternative X-HELO: mail-io1-f51.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=nwgA80ydGWdvqNscJJsQs4Zi9dCUXfYs15PZxIpPF/8=; b=Wm3BDTPcJaIixGzcgCDn6p4MoIkTnMWtNImcGleJ2wPzLp53wBLfIX1J20XlqbJWjy rVD8TOraj6YnAD7cQeig5ZNaRnIDr7dfl7t08Sr/cNn3sC2QdjEp8fY9DpvMvRr46tK1 haqV+UTra6ZFF0PAU3HJPi7rL+hxNH6m8V6BPutPjeOyBXZEPo4rkVgjOuDmb57ur+Pu pVx6/9GQYM8TjRdea7EKpInWsL5fhJ5H+TU0kloiGH2FiyYEA5+IJC0XdUE/gL6dcvcE 7ZEJlean/OG2Ze6Ii2cg4fqCGcacPaDpnVlHiRz3ECUQe84mvvjAnyqRWeWKAC6iI9H4 /zZw== MIME-Version: 1.0 In-Reply-To: <20190831032003.d19fb7060c632bb51777c0de@nifty.ne.jp> References: <20190830075523 DOT GB27273 AT calimero DOT vinschen DOT de> <20190831032003 DOT d19fb7060c632bb51777c0de AT nifty DOT ne DOT jp> From: Biswapriyo Nath Date: Sat, 31 Aug 2019 02:51:34 +0530 Message-ID: Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3 To: "cygwin AT cygwin DOT com" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Friday, August 30, 2019, Takashi Yano wrote: > If ioctl(TIOCSWINSZ, ...) is called from other process, it fails. The HPCON isn't a handle. It's a pointer of a struct of three handles. In my opinion, I think it's consistent with pty functions in libc. Like in forkpty(2) the pid is returned in master side, here HPCON is same. Q: From which process do you want to access it? To know more about the ConPTY internals here are two of my sample program: * XConPty: https://github.com/Biswa96/XConPty * wslbridge2: https://github.com/Biswa96/wslbridge2/tree/master/rawpty ** Do not use that code in cygwin. It's undocumented. ** Thank you <3 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple