summaryrefslogtreecommitdiff
path: root/bin/stty
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-05-29 06:28:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-05-29 06:28:10 +0000
commit329506d2f66bec3097c4c4f9383b458e3679ab8c (patch)
tree56723fdbecf711f9e1bea63b703d4043ddfba67f /bin/stty
parent701cf06105aebe04240ee41228e11ac33d604864 (diff)
for -a and -g, do not say "as per posix": it adds no value to the user, and
STANDARDS already notes these flags are compliant; it also stops us looking redundant referring to older posix revs; for -g, also note that output can safely be used by the shell; while here, zap some unneeded Fl i missed in previous;
Diffstat (limited to 'bin/stty')
-rw-r--r--bin/stty/stty.113
1 files changed, 6 insertions, 7 deletions
diff --git a/bin/stty/stty.1 b/bin/stty/stty.1
index 0c1adc77fe3..c444a5d0cfe 100644
--- a/bin/stty/stty.1
+++ b/bin/stty/stty.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stty.1,v 1.41 2014/05/29 06:19:34 jmc Exp $
+.\" $OpenBSD: stty.1,v 1.42 2014/05/29 06:28:09 jmc Exp $
.\" $NetBSD: stty.1,v 1.10 1995/09/07 06:57:14 jtc Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -41,7 +41,7 @@
.Nd set the options for a terminal device interface
.Sh SYNOPSIS
.Nm stty
-.Op Fl a | Fl e | Fl g
+.Op Fl a | e | g
.Op Fl f Ar file
.Op Ar operands
.Sh DESCRIPTION
@@ -60,9 +60,7 @@ exclusive on some terminal types.
The options are as follows:
.Bl -tag -width Ds
.It Fl a
-Display all the current settings for the terminal to standard output
-as per
-.St -p1003.2 .
+Display all the current settings for the terminal to standard output.
.It Fl e
Display all the current settings for the terminal to standard output
in the traditional
@@ -86,8 +84,9 @@ block on the open.
Display all the current settings for the terminal to standard output
in a form that may be used as an argument to a subsequent invocation of
.Nm
-to restore the current terminal state as per
-.St -p1003.2 .
+to restore the current terminal state.
+The output does not contain any characters that require quoting,
+to avoid word expansion by the shell.
.El
.Pp
The following arguments are available to set the terminal