MESG(1)

NAME
megs - allow/disallow others to write to ones terminal

SYNOPSIS
mesg [ n | y ]

DESCRIPTION
Without argument mesg prints 'mesg is y' if others are allowed to write to ones terminal with, for example, write(1). It prints 'mesg is n' otherwise. The command mesg y changes the status of the current tty to allow others to write to it. Likewise, the command mesg n changes the status of the current tty to disallow other from writing to one.

FILES
/dev/tty

SEE ALSO
chmod(1), tty(1).

AUTHOR
Peter Orbaek <poe@daimi.aau.dk>