From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121046 invoked by alias); 30 Aug 2019 21:21:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 121038 invoked by uid 89); 30 Aug 2019 21:21:38 -0000 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 Received: from mail-io1-f51.google.com (HELO mail-io1-f51.google.com) (209.85.166.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Aug 2019 21:21:36 +0000 Received: by mail-io1-f51.google.com with SMTP id j5so16888239ioj.8 for ; Fri, 30 Aug 2019 14:21:36 -0700 (PDT) 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 Received: by 2002:a92:d686:0:0:0:0:0 with HTTP; Fri, 30 Aug 2019 14:21:34 -0700 (PDT) In-Reply-To: <20190831032003.d19fb7060c632bb51777c0de@nifty.ne.jp> References: <20190830075523.GB27273@calimero.vinschen.de> <20190831032003.d19fb7060c632bb51777c0de@nifty.ne.jp> From: Biswapriyo Nath Date: Sat, 31 Aug 2019 03:58:00 -0000 Message-ID: Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.1.0-0.3 To: "cygwin@cygwin.com" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00436.txt.bz2 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