diff options
author | наб <nabijaczleweli@nabijaczleweli.xyz> | 2023-05-15 01:19:58 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2023-05-17 13:53:45 +0200 |
commit | 03a8f430c53a4bd6f8ac7d633efdb7216c3a6185 (patch) | |
tree | 8a080ccaeff47025244edd3a199ccab48340280f | |
parent | a82df27f5d900c5e905fa2d6bb55751cfdff7c9a (diff) | |
download | util-linux-03a8f430c53a4bd6f8ac7d633efdb7216c3a6185.tar.gz |
First hunk: grammar.
Second hunk: (a) mentioning BSD ptys and not UNIX98 ones is odd,
(b) mentioning /only/ ptys is odder still.
Third hunk: mesg is found in the UNIX Programmer's Manual;
it takes its modern form in V7
(it's unclear to me why V6 specifically is mentioned,
since it's still default-invert + always-report-"was X").
-rw-r--r-- | term-utils/mesg.1.adoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/term-utils/mesg.1.adoc b/term-utils/mesg.1.adoc index 5ccef7288..81af64c71 100644 --- a/term-utils/mesg.1.adoc +++ b/term-utils/mesg.1.adoc @@ -54,7 +54,7 @@ The *mesg* utility is invoked by a user to control write access others have to t Traditionally, write access is allowed by default. However, as users become more conscious of various security risks, there is a trend to remove write access by default, at least for the primary login shell. To make sure your ttys are set the way you want them to be set, *mesg* should be executed in your login scripts. -The *mesg* utility silently exits with error status 2 if not executed on terminal. In this case execute *mesg* is pointless. The command line option *--verbose* forces mesg to print a warning in this situation. This behaviour has been introduced in version 2.33. +The *mesg* utility silently exits with error status 2 if not executed on a terminal. In this case executing *mesg* is pointless. The command line option *--verbose* forces *mesg* to print a warning in this situation. This behaviour has been introduced in version 2.33. == ARGUMENTS @@ -86,11 +86,12 @@ An error has occurred. == FILES -_/dev/[pt]ty[pq]?_ +_/dev/[pt]ty*_, _/dev/pts/[0-9]*_ == HISTORY -A *mesg* command appeared in Version 6 AT&T UNIX. +*mesg* (I) appears in the UNIX Programmer's Manual. +It used to invert the current state with no argument before Version 7 AT&T UNIX. == SEE ALSO |