Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mesg(1) — HP-UX 9.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

write(1)

mesg(1)

NAME

mesg − permit or deny messages to terminal

SYNOPSIS

mesg n
mesg y
mesg

DESCRIPTION

The command form mesg n forbids messages via write by revoking non-user write permission on the user’s terminal (see write(1)). mesg y reinstates permission.  mesg without any other argument reports the current state without changing it. 

FILES

/dev/tty*

RETURN VALUE

mesg returns the following values:

0 Messages are receivable. 

1 Messages are not receivable. 

2 An error occurred. 

SEE ALSO

write(1). 

STANDARDS CONFORMANCE

mesg: SVID2, XPG2, XPG3

Hewlett-Packard Company  —  HP-UX Release 9.03: April 1994

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