| Main index | Section 1 | 日本語 | Options |
The first terminal device in the sequence of devices associated with standard input, standard output and standard error is affected.
The following options are available:
| n | Disallow messages. |
| y | Permit messages to be displayed. |
If no arguments are given, mesg displays the present message status to the standard output.
| 0 | |
| Messages are allowed. | |
| 1 | |
| Messages are not allowed. | |
| >1 | An error has occurred. |
mesg n
Allow messages from other users to ttyp1 (assuming you are also logged in on that terminal):
mesg y </dev/ttyp1
| MESG (1) | May 5, 2002 |
| Main index | Section 1 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |