From: Michael Kerrisk Date: Wed, 29 Jul 2020 07:15:27 +0000 (+0200) Subject: pty.7: Explicitly mention CONFIG_LEGACY_PTYS X-Git-Tag: man-pages-5.08~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e232754c1a30df1ef1a696efeec0e1edcb376d7;p=thirdparty%2Fman-pages.git pty.7: Explicitly mention CONFIG_LEGACY_PTYS Explicitly mention CONFIG_LEGACY_PTYS, and note that it is disabled by default since Linux 2.6.30. Signed-off-by: Michael Kerrisk --- diff --git a/man7/pty.7 b/man7/pty.7 index f321b9395d..ecc1a6bec6 100644 --- a/man7/pty.7 +++ b/man7/pty.7 @@ -66,8 +66,13 @@ Linux provides both BSD-style and (standardized) System V-style pseudoterminals. System V-style terminals are commonly called UNIX 98 pseudoterminals on Linux systems. -Since kernel 2.6.4, BSD-style pseudoterminals are considered deprecated -(they can be disabled when configuring the kernel); +.PP +Since kernel 2.6.4, BSD-style pseudoterminals are considered deprecated: +support can be disabled when building the kernel by disabling the +.B CONFIG_LEGACY_PTYS +option. +(Starting with Linux 2.6.30, +that option is disabled by default in the mainline kernel.) UNIX 98 pseudoterminals should be used in new applications. .SS UNIX 98 pseudoterminals An unused UNIX 98 pseudoterminal master is opened by calling