Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

talk(1)

write(1)

mesg(1)

Name

mesg − allow or disallow messages

Syntax

mesg [n] [y]

Description

The mesg command with argument n forbids messages via write and talk by revoking non-user write permission on the user’s terminal. The mesg command with argument y reinstates permission.  All by itself, mesg reports the current state without changing it.

Diagnostics

Exit status is 0 if messages are receivable, 1 if not, 2 on error. 

Files

/dev/tty*

See Also

talk(1), write(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026