Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mesg(1) — UTek W2.3

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 10/17/86                                                1





































































%%index%%
na:72,66;
sy:138,122;
de:260,488;
op:748,192;
ex:940,186;
fi:1126,67;
rv:1193,551;
se:1744,78;
%%index%%000000000128

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