From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a54bee1aa4a01d14,start X-Google-Attributes: gidfee84,public From: curts@compgen.com (Curt Smith) Subject: ??/dev/pts/N are NOT full duplex like SVR4?? Date: 1996/09/27 Message-ID: <52gc5m$l86@metro.atlanta.com>#1/1 X-Deja-AN: 185627300 organization: Internet Atlanta newsgroups: comp.unix.osf.osf1 I need full duplex pseudodevices that can be written to from both ends and selected() from both ends like SVR4 stream based ptys. The following code on DUX does not result in pty device path, that another task can open and select() on input: fd = open(/dev/ptmx, O_RDWR); grantpt(fd) unlockpt(fd); pttypath = ptsname(fd); Then pttypath is sent to another task, who opens pttypath and select()s on that fd. This select will never return for input. This works fine on SVR4 pttys. Is there a ptty on DUX that is selectable on both ends. I'm aware of the DUX proprietary (not in Spec 1170) call of: openpty(). Is the path name returned, open'able by another task and then select'able? Thanks. Curt Smith curts@compgen.com