[PATCH] mesg.1 cleanups/updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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").
---
Based on 2.39-rc3 tarball.

diff -u -r util-linux-2.39-rc3.orig/term-utils/mesg.1.adoc util-linux-2.39-rc3/term-utils/mesg.1.adoc
--- util-linux-2.39-rc3.orig/term-utils/mesg.1.adoc	2023-05-15 00:57:54.747355121 +0200
+++ util-linux-2.39-rc3/term-utils/mesg.1.adoc	2023-05-15 01:15:55.971205532 +0200
@@ -54,7 +54,7 @@
 
 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 @@
 
 == 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
 

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux