Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mesg(C) — Xenix 2.3.4g

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

write(C)



     MESG(C)                  XENIX System V                   MESG(C)



     Name
          mesg - Permits or denies messages sent to a terminal.

     Syntax
          mesg [ n ] [ y ]

     Description
          mesg with argument n forbids messages via write(C) by
          revoking nonuser write permission on the user's terminal.
          mesg with argument y reinstates permission.  All by itself,
          mesg reports the current state without changing it.

     Files
          /dev/tty*

     See Also
          write(C)

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


































     Page 1                                           (printed 8/7/87)



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