| 1 | MESG(1) UNIX Reference Manual MESG(1) |
| 2 | |
| 3 | N\bNA\bAM\bME\bE |
| 4 | m\bme\bes\bsg\bg - Display (do not display) messages from other users |
| 5 | |
| 6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS |
| 7 | m\bme\bes\bsg\bg [n\bn | y\by] |
| 8 | |
| 9 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN |
| 10 | The m\bme\bes\bsg\bg utility allows a user to decide if other users may write mes- |
| 11 | sages to his or her screen. Programs such as talk(1), write(1) and |
| 12 | echo(1) are social and display a message on the target user's terminal. |
| 13 | Sometimes this is inconvenient. |
| 14 | |
| 15 | Options: |
| 16 | |
| 17 | n\bn Disallow messages, providing peace, and informing the contacting |
| 18 | party that `Your party is refusing messages'. |
| 19 | |
| 20 | y\by Allow messages to be displayed. |
| 21 | |
| 22 | If no arguments are given, m\bme\bes\bsg\bg displays the present message status. |
| 23 | |
| 24 | The m\bme\bes\bsg\bg utility exits with one of the following values: |
| 25 | |
| 26 | 0 messages are allowed |
| 27 | 1 messages are not allowed |
| 28 | -1 An error has occurred. |
| 29 | |
| 30 | |
| 31 | F\bFI\bIL\bLE\bES\bS |
| 32 | /_\bd_\be_\bv/[_\bp_\bt]_\bt_\by[_\bp_\bq]? |
| 33 | |
| 34 | |
| 35 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO |
| 36 | write(1), talk(1), echo(1), biff(1) |
| 37 | |
| 38 | H\bHI\bIS\bST\bTO\bOR\bRY\bY |
| 39 | A m\bme\bes\bsg\bg command appeared in Version 6 AT&T Unix. |