mesg.1 (a866e170777b42fd7921eadd6e7e664f3a031d60) | mesg.1 (6c7216df785592bb069469113f556dfd1946ed5d) |
---|---|
1.\" Copyright (c) 1987, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 52 unchanged lines hidden (view full) --- 61Disallow messages. 62.It Cm y 63Permit messages to be displayed. 64.El 65.Pp 66If no arguments are given, 67.Nm 68displays the present message status to the standard output. | 1.\" Copyright (c) 1987, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 52 unchanged lines hidden (view full) --- 61Disallow messages. 62.It Cm y 63Permit messages to be displayed. 64.El 65.Pp 66If no arguments are given, 67.Nm 68displays the present message status to the standard output. |
69.Sh EXAMPLES 70Disallow messages from other users to the current terminal: 71.Pp 72.Dl "mesg n" 73.Pp 74Allow messages from other users to 75.Pa ttyp1 76(assuming you are also logged in on that terminal): 77.Pp 78.Dl "mesg y </dev/ttyp1" | |
79.Sh EXIT STATUS 80The 81.Nm 82utility exits with one of the following values: 83.Bl -tag -width flag -compact -offset indent 84.Pp 85.It Li "\ 0" 86Messages are allowed. 87.It Li "\ 1" 88Messages are not allowed. 89.It Li ">1" 90An error has occurred. 91.El | 69.Sh EXIT STATUS 70The 71.Nm 72utility exits with one of the following values: 73.Bl -tag -width flag -compact -offset indent 74.Pp 75.It Li "\ 0" 76Messages are allowed. 77.It Li "\ 1" 78Messages are not allowed. 79.It Li ">1" 80An error has occurred. 81.El |
82.Sh EXAMPLES 83Disallow messages from other users to the current terminal: 84.Pp 85.Dl "mesg n" 86.Pp 87Allow messages from other users to 88.Pa ttyp1 89(assuming you are also logged in on that terminal): 90.Pp 91.Dl "mesg y </dev/ttyp1" |
|
92.Sh COMPATIBILITY 93Previous versions of the 94.Nm 95utility wrote the message status to the standard error output and 96affected the terminal attached to standard error without first trying the 97standard input or output devices. 98.Sh SEE ALSO 99.Xr biff 1 , --- 13 unchanged lines hidden --- | 92.Sh COMPATIBILITY 93Previous versions of the 94.Nm 95utility wrote the message status to the standard error output and 96affected the terminal attached to standard error without first trying the 97standard input or output devices. 98.Sh SEE ALSO 99.Xr biff 1 , --- 13 unchanged lines hidden --- |