This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: IPC over PTY
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 1 Jul 2004 10:37:53 -0400
- Subject: Re: IPC over PTY
- References: <00a401c45f54$d23fbaa0$24c8a8c0@sraz.dkts.co.yu>
- Reply-to: cygwin at cygwin dot com
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/