nmm@mcquaig.UUCP (Neil M. McQuaig) (09/18/90)
I've seen various references in streams literature and pseudo tty literature to clone devices. In System V it seems that the streams clone device is supposed to be /dev/spx and the pty device /dev/ptmx. I understand the BSD does not have these things and that one must just try all of them until two free devices are found. Is this the case in Xenix. Does SCO streams have such a clone device that does not require us to open a particular minor device? If so what is it called? Thanks. -- Neil M. McQuaig 344 Millicent Way, Shreveport, LA 71106 VOICE: (318)868-5611 UUCP: mcquaig!nmm (318)861-1051 or uunet!mcquaig!nmm
zaz@jersey (Todd Koeckeritz) (09/19/90)
In article <746@mcquaig.UUCP> nmm@mcquaig.UUCP (Neil M. McQuaig) writes: >I've seen various references in streams literature and pseudo tty >literature to clone devices. In System V it seems that the streams >clone device is supposed to be /dev/spx and the pty device /dev/ptmx. > >I understand the BSD does not have these things and that one must >just try all of them until two free devices are found. Is this the >case in Xenix. Does SCO streams have such a clone device that does >not require us to open a particular minor device? If so what is it >called? > A clone device under streams is a device that will open another device at the next free minor device number of the "child" device. For instance my clone device installed under Xenix 2.3.2 as a major device of 50. If I write a device and call it a /dev/fred and want to have a clonable fred device with a minor device of 51 I must create an inode in a file system for a device with a major number of 50 and a minor number of 51. An ls -l of the device would be similar to the following: crw-r--r-- 1 root root 50, 51 Aug 19 09:52 /dev/fred I am assuming that part of the problem you may be having is that you purchased the SCO streams package and found that you had absolutely nothing that was of any use without actually writing your own device driver. I also assume that if SCO has a psuedo tty streams device that it must come with their TCP/IP package. BTW, are you trying to port X ? -- +-----------------------------------------------------------------------------+ | Todd Koeckeritz zaz@jersey (crash!orbit!jersey!zaz) | | Euler Solutions, Inc., Minneapolis, MN, USA H:(612)537-4264 W:(612)635-0088| +-----------------------------------------------------------------------------+