From 6c9e1a22ef4e7e06fdb7fb0126180b9ceb5aa17e Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sat, 20 Jun 2009 16:30:32 +0000 Subject: [PATCH] Improve sentence and add reference to openpty(3). Add missing newlines. --- share/man/man4/pts.4 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/share/man/man4/pts.4 b/share/man/man4/pts.4 index 294f1ef02174..dc13a90014f4 100644 --- a/share/man/man4/pts.4 +++ b/share/man/man4/pts.4 @@ -148,11 +148,14 @@ pseudo-terminals implementation are: .Pp .Bl -tag -width ".Pa /dev/pts/[num]" .It Pa /dev/ptmx -Control device, returns a file descriptor to a new master pseudo-terminal -when opened. This device should not be opened directly. It's only -available for binary compatibility. New devices should only be created -though -.Xr posix_openpt 2 . +Control device, returns a file descriptor to a new master +pseudo-terminal when opened. +This device should not be opened directly. +It's only available for binary compatibility. +New devices should only be allocated with +.Xr posix_openpt 2 +and +.Xr openpty 3 . .It Pa /dev/pts/[num] Pseudo-terminal slave devices. .El