Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mesg(1) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

write(1)



MESG(1)                 COMMAND REFERENCE                 MESG(1)



NAME
     mesg - permit or deny messages

SYNOPSIS
     mesg [ [-]{ny} ]

DESCRIPTION
     Mesg with argument n or -n forbids messages via write(1) by
     revoking non-user write permission on the user's terminal.
     Mesg with argument y or -y reinstates permission.  Mesg with
     no arguments reports the current state of standard input
     (stdin) without changing it.

OPTIONS
     -n Forbid messages.

     n  Forbid messages.

     -y Allow messages.

     y  Allow messages.

EXAMPLES
     The following invocation will tell the user what the message
     permission currently is on their tty.

          mesg

FILES
     /dev/tty*

RETURN VALUE
     [0]            Messages are receivable

     [1]            Messages are not receivable

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

SEE ALSO
     write(1).







Printed 5/12/88                                                 1





































































%%index%%
na:240,82;
sy:322,182;
de:504,604;
op:1108,240;
ex:1348,215;
fi:1563,86;
rv:1649,595;
se:2244,110;
%%index%%000000000132

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