Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 1 Jul 2004 10:37:53 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: IPC over PTY Message-ID: <20040701143753.GC8243@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <00a401c45f54$d23fbaa0$24c8a8c0 AT sraz DOT dkts DOT co DOT 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/