This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IPC over PTY


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]