mesg man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MESG(1)								       MESG(1)

NAME
       mesg - permit or deny messages

SYNOPSIS
       mesg [-n | -y | n | y]

DESCRIPTION
       The  mesg  utility will control whether other users are allowed to send
       messages via write(1),  talk(1),	 or  other  utilities  to  a  terminal
       device. The terminal device affected is determined by searching for the
       first terminal in the sequence  of  devices  associated	with  standard
       input, standard output, and standard error, respectively. With no argu‐
       ments, mesg reports the current state without  changing	it.  Processes
       with  appropriate privileges may be able to send messages to the termi‐
       nal independent of the current state.

OPTIONS
       The following options are supported:

       -n|n
		Denies permission to other users to send message to the termi‐
		nal. See write(1).

       -y|y
		Grants	permission to other users to send messages to the ter‐
		minal.

ENVIRONMENT VARIABLES
       See environ(5) for descriptions of the following environment  variables
       that affect the execution of mesg: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES,
       and NLSPATH.

EXIT STATUS
       The following exit values are returned:

       0
	     if messages are receivable.

       1
	     if messages are not receivable.

       2
	     on error.

FILES
       /dev/tty*
		      terminal devices

       /dev/pts/*
		      terminal devices

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Standard	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       talk(1), write(1), attributes(5), environ(5), standards(5)

				 Oct 31, 1997			       MESG(1)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net