I'm looking for a way (preferrably other than using /dev/ptmx with
/dev/styxx) to use virtual terminals, similarly to how rlogin uses
them. The source code to rlogind from BSD386 won't compile, and
the virtual terminal manager screen.tar.Z is hopelessly convoluted.
Does anyone have any idea how to use the master/slave setup with
/dev/ttyXY and /dev/ptyXY?
SysVR4 has a very simple suite of function calls to use virtual
And voila! fd is the master File descriptor for the server application
and slavefd is stdin, stdout, and stderr of the newly spawned
If I just open /dev/ptyXY as the slave, and /dev/ttyXY as the master
under SCO, output to /dev/ttyXY shows up as input from /dev/ptyXY,
but output to /dev/ptyXY goes nowhere. What gives?
Anyone have any clues?