Research V3 release
[unix-history] / man / man1 / mesg.1
.pa 1
.he 'MESG (I)'3/15/72'MESG (I)'
.ti 0
NAME mesg -- permit or deny messages
.sp
.ti 0
SYNOPSIS mesg\b\b\b\b____ [ n\b_ ][ y\b_ ]
.sp
.ti 0
DESCRIPTION mesg\b\b\b\b____ n\b_
forbids messages via write\b\b\b\b\b_____ by revoking non-user
write permission on the user's typewriter.
mesg\b\b\b\b____ y\b_ reinstates permission.
mesg\b\b\b\b____ with no argument reverses the current permission.
In all cases the previous state is reported.
.sp
.ti 0
FILES /dev/tty?
.sp
.ti 0
SEE ALSO write(I)
.sp
.ti 0
DIAGNOSTICS "?" if the standard input file is not a typewriter
.sp
.ti 0
BUGS --