morris@dms.UUCP (Jim Morris) (08/18/90)
Can someone point me at where I can find docs for the ptmx device driver and the various support routines like grantpt(), ptsname() and unlockpt(). I would like to understand how X11R4 is talking to its local server on a system configured for STREAMSCONN and att. Thanks Jim. -- Jim Morris. {motcsd|weitek}!dms!morris or morris@dms.UUCP Voice (408) 434-3798 Atari Games Corporation, 675 Sycamore Drive, Milpitas CA 95035 USA (Arcade Video Game Manufacturer, NOT Atari Corp. ST manufacturer).
randy@erik.UUCP (Randy Brown) (08/20/90)
>Can someone point me at where I can find docs for the ptmx device driver >and the various support routines like grantpt(), ptsname() and unlockpt(). I found some info in the Prentice-Hall System V Release 4 volume titled something like "Streams Programmer's Guide." This included some stuff on pushable modules for line disciplines as well as basic info on the pseudo-tty ptmx/pts* master-slave pairs. ... rb
guy@auspex.auspex.com (Guy Harris) (08/22/90)
>I found some info in the Prentice-Hall System V Release 4 volume titled >something like "Streams Programmer's Guide." This included some stuff on >pushable modules for line disciplines as well as basic info on the >pseudo-tty ptmx/pts* master-slave pairs. ... rb Note that not all the stuff mentioned in there exists in S5R3. (Also note that the reason this is used for client/server communication in X is "it's there" - i.e., it's being used as the closest replacement for UNIX-domain sockets. S5R4 has UNIX-domain sockets, as well as a "local transport" in TLI; I don't know which, if any, of those are going to be the "standard" mechanism used for connecting to a local X server. Then again, the standard programmatic interface to X in the ABI, if there is one, may be through a dynamically-linked library, so that the standard is "call XOpenDisplay, etc." rather than "make a connection using this mechanism.")