[comp.unix.programmer] SCO UNIX: Pseudo terminals question

sldty@cc.usu.edu (06/13/91)

	On our version of SCO UNIX, there are two kinds of pseudo terminals.
	Those used by TCP/IP and those used by mscreen.  make that 3, those
	used by shl (shell layers).  My question is, except those used by shl,
	how do I use the /dev/ttyp* devices for my own use.  I cant find any
	documentation on them.  I tried to write my own mscreen (multi screen)
	but I cant make the controlling terminal a pseudo-terminal.  Is there
	some example software that I could reference, or does anyone know
	where some documentation is?

Thanks
jerry
Spillman Data Systems
Logan, Ut

john@jwt.UUCP (John Temples) (06/13/91)

In article <1991Jun12.170627.48079@cc.usu.edu> sldty@cc.usu.edu writes:
>	how do I use the /dev/ttyp* devices for my own use.  I cant find any
>	documentation on them.

I've been playing around with SVR3.2 STREAMS ptys this week after
seeing someone on the net mention them.  I picked up a copy of the SVR4
STREAMS Programmer's Guide, and the code examples in there worked fine
under 3.2.  I got a little two shell split-screen program working
without too much difficulty.

I would assume SCO has STREAMS ptys -- look for /dev/ptmx and /dev/pts###.
-- 
John W. Temples -- john@jwt.UUCP (uunet!jwt!john)