Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* ??/dev/pts/N are NOT full duplex like SVR4??
@ 1996-09-27  4:00 Curt Smith
  0 siblings, 0 replies; only message in thread
From: Curt Smith @ 1996-09-27  4:00 UTC (permalink / raw)



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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-09-27  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-27  4:00 ??/dev/pts/N are NOT full duplex like SVR4?? Curt Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox