ptsname() support (new ptys)

C. Scott Ananian (cananian@lcs.mit.edu)
Wed, 14 Jan 1998 16:08:56 -0500 (EST)


I have started the implementation of Unix98-style ptys for Linux. It's
not terribly difficult; just another ioctl for ptsname, and /dev/ptmx is
handled the same way /dev/tty and /dev/tty0 are (ie, device number rewrite
on open).

Here are my questions:
1) Who do I talk to write the ptsname function is glibc? [kernel support
is only half the implementation.] I don't know who the glibc
development team is, or where they hang out. =)
2) Where should the device number for /dev/ptmx go?
I'd like to keep it with the other tty stuff, so I'm leaning towards
an allocation in character device major 5...
3) Lastly -- has this already been done? Should I bother?

--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian