Importing usr.bin/mesg
Replaces commands/mesg. No Minix-specific changes needed. Change-Id: Ief22ad7f050f8083d0b43a4ea90b348c504d99a2
This commit is contained in:
@@ -10,7 +10,7 @@ MAN= ash.1 at.1 \
|
||||
isodir.1 isoinfo.1 isoread.1 \
|
||||
last.1 loadfont.1 loadkeys.1 logger.1 \
|
||||
look.1 lp.1 lspci.1 mail.1 \
|
||||
mesg.1 mixer.1 \
|
||||
mixer.1 \
|
||||
mkproto.1 mount.1 mt.1 od.1 \
|
||||
paste.1 ping.1 playwave.1 prep.1 \
|
||||
profile.1 ps.1 rcp.1 recwave.1 \
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
.\" @(#)mesg.1 6.1 (Berkeley) 4/29/85
|
||||
.\"
|
||||
.TH MESG 1 "April 29, 1985"
|
||||
.AT 3
|
||||
.SH NAME
|
||||
mesg \- permit or deny messages
|
||||
.SH SYNOPSIS
|
||||
.B mesg
|
||||
[
|
||||
.B n
|
||||
] [
|
||||
.B y
|
||||
]
|
||||
.SH DESCRIPTION
|
||||
.B Mesg
|
||||
with argument
|
||||
.B n
|
||||
forbids messages via
|
||||
.B write
|
||||
and
|
||||
.BR talk (1)
|
||||
by revoking non-user
|
||||
write permission on the user's terminal.
|
||||
.B Mesg
|
||||
with argument
|
||||
.B y
|
||||
reinstates permission.
|
||||
All by itself,
|
||||
.B mesg
|
||||
reports the current state without changing it.
|
||||
.SH FILES
|
||||
/dev/tty*
|
||||
.SH "SEE ALSO"
|
||||
.BR write (1),
|
||||
.BR talk (1).
|
||||
.SH DIAGNOSTICS
|
||||
Exit status is 0 if messages are receivable,
|
||||
1 if not, 2 on error.
|
||||
Reference in New Issue
Block a user