Re: HOWTO for PTY98 out there?

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
17 Aug 1998 13:57:09 +0200


Michael Driscoll <fenris@ulf.edgemail.com> writes:

|> >Is there any preliminary HOWTO for PTY98 out there yet?
|> >
|> >I have created the /dev/ptmx device and the /dev/pts directory.
|> >How do I correctly mount it?
|>
|> I have the following in my /etc/fstab (as per hpa's suggestion):
|>
|> none /dev/pts devpts gid=5,mode=0620 1 2
|>
|> Then I have the following:
|>
|> avatar@ulf:~[0 ls -l /dev/ptmx
|> crw-rw-rw- 1 avatar bofh 5, 2 Aug 8 04:37 /dev/ptmx
|>
|> and:
|>
|> avatar@ulf:~[0 ls -ld /dev/pts/
|> drwxr-xr-x 2 avatar bofh 0 Aug 16 13:55 /dev/pts//
|>
|> So far nothing seems to be using it, I'm on a glibc system but
|> I think I just don't have anything that uses them yet.

UNIX98 ptys require a new API: grantpt/unlockpt/ptsname. This is not yet
implemented in GNU libc 2.0. The implementation in GNU libc 2.1 is
transparent in the way that it will fall back to BSD ptys if UNIX98 ptys
are not available. One program that knows about UNIX98 ptys is expect
(must be reconfigured/recompiled to take advantage of it).

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html