summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-11-25 16:41:56 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-11-25 16:41:56 +0000
commitefa7f80a8e26aa5abb117e8d1a417472e5287c7d (patch)
tree2b557087e8694ae4bc6433f52dc7c92c90b1b4f7
parent28e37fa2a659dc59d6d08a82f73f9063bc7c1330 (diff)
update FILES;
fixes pr #3998; diff from frank denis, though slightly different fix committed; help and ok millert@
-rw-r--r--lib/libutil/openpty.310
-rw-r--r--share/man/man4/pty.48
2 files changed, 11 insertions, 7 deletions
diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3
index 1856654f969..31b1f1cb5b8 100644
--- a/lib/libutil/openpty.3
+++ b/lib/libutil/openpty.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openpty.3,v 1.13 2004/02/21 13:47:41 espie Exp $
+.\" $OpenBSD: openpty.3,v 1.14 2004/11/25 16:41:55 jmc Exp $
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -148,9 +148,13 @@ return 0, and the parent process of
.Fn forkpty
returns the process ID of the child process.
.Sh FILES
-.Bl -tag -width /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef] -compact
-.It Pa /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef]
+.Bl -tag -width /dev/tty[p-zP-T][0-9a-zA-Z]x -compact
+.It Pa /dev/pty[p-zP-T][0-9a-zA-Z]
+master pseudo terminals
+.It Pa /dev/tty[p-zP-T][0-9a-zA-Z]
+slave pseudo terminals
.It Pa /dev/ptm
+pseudo terminal management device
.El
.Sh ERRORS
.Fn openpty
diff --git a/share/man/man4/pty.4 b/share/man/man4/pty.4
index b01635d0dc6..c949b70bab4 100644
--- a/share/man/man4/pty.4
+++ b/share/man/man4/pty.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pty.4,v 1.15 2004/06/20 17:37:15 aaron Exp $
+.\" $OpenBSD: pty.4,v 1.16 2004/11/25 16:41:55 jmc Exp $
.\" $NetBSD: pty.4,v 1.4 1998/03/21 03:14:30 fair Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -256,10 +256,10 @@ and
.Va sn
fields are the file names of the controlling and slave devices.
.Sh FILES
-.Bl -tag -width /dev/tty[p-zP-T][0-9a-f]x -compact
-.It Pa /dev/pty[p-zP-T][0-9a-f]
+.Bl -tag -width /dev/tty[p-zP-T][0-9a-zA-Z]x -compact
+.It Pa /dev/pty[p-zP-T][0-9a-zA-Z]
master pseudo terminals
-.It Pa /dev/tty[p-zP-T][0-9a-f]
+.It Pa /dev/tty[p-zP-T][0-9a-zA-Z]
slave pseudo terminals
.It Pa /dev/ptm
pseudo terminal management device