A warning for BSD pseudo terminal users
[Posted February 10, 2004 by corbet]
H. Peter Anvin
wants to know if anybody is
still using the old BSD pseudo terminal ("pty") interface. These devices
show up on most systems as
/dev/ptyXX; they were once used for
applications like network logins. Most applications on most Linux systems
have not used BSD ptys for some years now; instead, the newer
/dev/pts devices are used.
Peter is asking because he has plans for the pseudo terminal subsystem;
he'd like to clean it up, make it more dynamic, and make use of the larger
device numbers available in 2.6. The need to maintain compatibility with
the BSD interface is, it seems, interfering with that work. So Peter would
like to remove the BSD pty interface if possible.
There have been a few complaints. The bootlogd utility used by
some distributions apparently uses BSD terminals in some cases. Truly old
systems may still use the old interface for network logins or terminal
emulator windows; this is not functionality that one breaks lightly. Peter
may yet find a way to maintain BSD pty support while making his other
changes. Even
so, the BSD pty interface may be headed toward the end of its life sometime
in the 2.7 development series.
(
Log in to post comments)