Subject: Re: Linux pseudo pty
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: Christoph Hellwig <hch@lst.de>
List: tech-kern
Date: 02/14/2001 22:07:38
On Wed, Feb 14, 2001 at 09:08:32PM +0100, Emmanuel Dreyfus wrote:
> What is the /dev/ptmx exactly for, and how svr4_net.c could help?

/dev/ptmx is the cloning device for UNIX98 ttys.
svr4_net.c contains (whyever) the emulation for the solaris pty support,
that uses the same scheme.

> 
> There is another strange error later. xterm run utempter (I don't know
> what this binary is for, there is no man page about it), and it fails
> with this:
> 
>    676 utempter GIO   fd 2 wrote 45 bytes
>        "fd 3 is not a master pty device (it is 4, 3)
>        "
> 
> I assume this 4,3 is major and minor?

major 4, minor 3 would be /dev/tty3 (the 3rd virtual console) on linux.

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.