Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 1 Jul 2004 10:37:53 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: IPC over PTY
Message-ID: <20040701143753.GC8243@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <00a401c45f54$d23fbaa0$24c8a8c0@sraz.dkts.co.yu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00a401c45f54$d23fbaa0$24c8a8c0@sraz.dkts.co.yu>
User-Agent: Mutt/1.4.1i

On Thu, Jul 01, 2004 at 12:18:58PM +0200, Branko on dkts wrote:
>I would be most grateful for your help.
>
>I am having trouble transferring data between two processes over pseudo
>terminal (PTY) master/slave connection. I send data from the slave process
>to the master process with no problem. However, when I try to send data in
>the opposite direction, the data sent from the master process ends up in the
>receiver thread of the master process while the slave receiver thread
>remains blocked. I found one of the earlier discussions on pseudo terminals
>(http://www.cygwin.com/ml/cygwin/2003-07/msg01270.html), but I didn't find
>any replies to this question.
>
>I would appreciate it very much if someone could say something on this
>problem or send a code example of a working master/slave PTY connection.

Cygwin comes with many examples of successful uses of ptys.  telnet,
ssh, rxvt, xterm spring to mind.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

