[comp.windows.x] Re; xdaemon

randy@erik.UUCP (Randy Brown) (10/09/90)

>machine include directories.  ptsname and grantpt are two of them.

Don't forget unlock().

>Naturally, these calls result in unresolved refrences at link time.
>
>Does anyone know what these calls are and where thier prototypes
>and lib entries are?

These functions are in /usr/lib/libpt.a (on System V/386 Release 3.2);
they are streams pseudo-tty functions.  The only documentation I found
on them was in the System V Release 4 Network Programmer's stuff.  The
guide gave a clear explanation of what they do and how to use them.
Unfortunately, I didn't buy the book, just browsed it, so I can't quote
it to you.  Ditto on the prototypes.

The X11R4 stuff also references some streams modules for the
pseudo-ttys which seem only to be documented in SVR4, and at least one
(consem, in xterm), that is only included in SVR4.  There's an
environment variable you can define to prevent the push being
attempted (CONSEM, I think).

Also, after you make install, unset the setuid bit on xterm (and on the
other program whose name escapes me...)

Randy Brown (uunet!erik!rbrown)