From: bsa@kf8nh.wariat.org (Brandon S. Allbery) Subject: Re: The great serial device naming controversy.... Date: Tue, 1 Jun 1993 00:34:41 GMT
In article <1udvsdINN4an@senator-bedfellow.MIT.EDU> jfc@athena.mit.edu (John F Carr) writes:
>I like the AIX pty naming convention: if you want a pty, open /dev/ptc.
>This allocates a new pty master; you can find the name of the pty slave
>with a ttyname call. You get an effectively infinite number of ptys and
>the code to allocate them is simpler. The tty slave names are of the form
>/dev/pts/3. /dev/pt[sc] are special files, not directories; whatever is
>left in the pathname ("/3" for "/dev/pts/3" is passed to the kernel open
>routine).
Sounds like STREAMS ptys. Unfortunately, Linux doesn't have a STREAMS
implementation --- yet. I think someone said one was planned, but I wouldn't
expect one in the near future given that the revised sockets code is still in
alpha test and STREAMS is an alternative to sockets.
++Brandon
-- Brandon S. Allbery kf8nh@kf8nh.ampr.org bsa@kf8nh.wariat.orgIt's not too late to turn back from the "Gates" of Hell... Linux: the free 32-bit operating system, available NOW. Why waaaaaait for NT?