|
|
1.1 ! root 1: .\" Copyright (c) 1987 Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted ! 5: .\" provided that the above copyright notice and this paragraph are ! 6: .\" duplicated in all such forms and that any documentation, ! 7: .\" advertising materials, and other materials related to such ! 8: .\" distribution and use acknowledge that the software was developed ! 9: .\" by the University of California, Berkeley. The name of the ! 10: .\" University may not be used to endorse or promote products derived ! 11: .\" from this software without specific prior written permission. ! 12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 14: .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 15: .\" ! 16: .\" @(#)mesg.1 6.3 (Berkeley) 7/9/88 ! 17: .\" ! 18: .TH MESG 1 "July 9, 1988" ! 19: .AT 3 ! 20: .SH NAME ! 21: mesg \- permit or deny messages ! 22: .SH SYNOPSIS ! 23: .B mesg ! 24: [ ! 25: .B n ! 26: ] [ ! 27: .B y ! 28: ] ! 29: .SH DESCRIPTION ! 30: \fIMesg\fP with argument \fBn\fP forbids messages via \fIwrite\fP ! 31: and \fItalk\fP by revoking non-user write permission on the user's ! 32: terminal. \fIMesg\fP with argument \fBy\fP reinstates permission. ! 33: \fIMesg\fP without arguments reports the current state without ! 34: changing it. ! 35: .SH FILES ! 36: /dev/tty* ! 37: .SH "SEE ALSO" ! 38: write(1), talk(1) ! 39: .SH DIAGNOSTICS ! 40: Exit status is 0 if messages are receivable, 1 if not, -1 on error.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.