mesg: split util-linux and POSIX pages (#12167)

pull/23/head
Vitor Henrique 2024-02-04 12:31:28 -03:00 committed by GitHub
parent 9c9cbcbb0f
commit 40c5a68946
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 5 deletions

View File

@ -1,17 +1,17 @@
# mesg
> Check or set a terminal's ability to receive messages from other users, usually from the write command.
> See also `write`.
> More information: <https://manned.org/mesg>.
> Check or set a terminal's ability to receive messages from other users, usually from the `write` command.
> See also `write`, `talk`.
> More information: <https://manned.org/mesg.1p>.
- Check terminal's openness to write messages:
`mesg`
- Disable receiving messages from the write command:
- Disallow receiving messages from the write command:
`mesg n`
- Enable receiving messages from the write command:
- Allow receiving messages from the write command:
`mesg y`

21
pages/linux/mesg.md Normal file
View File

@ -0,0 +1,21 @@
# mesg
> Check or set a terminal's ability to receive messages from other users, usually from the `write` command.
> See also `write`, `talk`.
> More information: <https://manned.org/mesg.1>.
- Check terminal's openness to write messages:
`mesg`
- Disallow receiving messages from other users:
`mesg n`
- Allow receiving messages from other users:
`mesg y`
- Enable [v]erbose mode, printing a warning if the command is not executed from a terminal:
`mesg --verbose`