Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

write(1)

MESG(1)  —  UNIX Programmer’s Manual

NAME

mesg − permit or deny messages

SYNOPSIS

mesg [ n ] [ y ] [ m ]

DESCRIPTION

Mesg with argument n forbids messages via write(1) by revoking non-user write permission on the user’s terminal. Mesg with argument y reinstates permission.  Mesg with argument m allows messages from group only.  Entered alone, mesg reports the current state without changing its contents. 

FILES

/dev/tty\(**

SEE ALSO

write(1)

DIAGNOSTICS

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

October 27, 1983  —  %W%%Q%%Y%

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