delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/01/10:38:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cgf-no-personal-reply-please AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019