summaryrefslogtreecommitdiffstats
path: root/term-utils/mesg.1
Commit message (Collapse)AuthorAgeFilesLines
* mesg: avoid 'ttyname failed: Success' messageKarel Zak2019-05-271-2/+2
| | | | | | | | | | | | | The ttyname(3) can fail to access /dev/ path, and that will cause function to fail without setting errno value with result of rather confusing error message. Lets start setting stdin permission via /proc when this happens as a go-around, with hope kernel following symlink does not fail. Ok, noted, that hopes of symlink follow working are pretty slim. Based on patch from Sami Kerola <kerolasa@iki.fi>. Reference: https://github.com/lxc/lxd/issues/1724 Signed-off-by: Karel Zak <kzak@redhat.com>
* mesg: do not print 'ttyname failed' message unless --verbose requestedSami Kerola2018-08-031-0/+9
| | | | | | | | | | | | | | | Lots of people are confused why mesg(1) is priting this message. Usual cause seems to be an uninteractive shell trying to turn running 'mesg n' from a /root/.profile where command invocation is by default on debian based systems. This might be rare case when failing silently is better. [kzak@redhat.com: - add note to the man page - fix if(isatty()) logic] Reference: https://www.google.com/search?q=mesg+ttyname+failed Review: https://marc.info/?l=util-linux-ng&m=153319988631233&w=2 Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-1/+1
| | | | | | | | | | | | This patch does only the following: * Order SEE ALSO entries first by section name, then alphabetically within section * Adds one or two missing commas in SEE ALSO lists * Removes one or two periods that were (inconsistently) used at the end of SEE ALSO lists. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* docs: bring a few more man pages closer to standard formattingBenno Schulenberg2014-07-161-23/+20Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-2/+2
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: fix all man page groff warningsSami Kerola2012-06-021-1/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* mesg: man page clean wqupKarel Zak2011-04-141-5/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mesg: new --verbose optionSami Kerola2011-04-141-0/+3
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* mesg: add long options to the man pageSami Kerola2011-04-141-1/+10
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move mesg to term-utils/Karel Zak2011-03-021-0/+103
Signed-off-by: Karel Zak <kzak@redhat.com>