Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/./man/man1/mesg.1
Real path: /usr/share/man/man1/mesg.1
Zurück
'\" te .\" Copyright (c) 1989, AT&T. All rights reserved. .\" Copyright (c) 1992, The X/Open Company Ltd. All rights reserved. .\" Portions Copyright (c) 1995, Oracle and/or its affiliates. All rights reserved. .\" Oracle gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. This notice shall appear on any product containing this material. .TH mesg 1 "31 Oct 1997" "Oracle Solaris 11.4" "User Commands" .SH NAME mesg \- permit or deny messages .SH SYNOPSIS .LP .nf \fBmesg\fR [\fB-n\fR | \fB-y\fR | n | y] .fi .SH DESCRIPTION .sp .LP The \fBmesg\fR utility will control whether other users are allowed to send messages via \fBwrite\fR(1), \fBtalk\fR(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 arguments, \fBmesg\fR reports the current state without changing it. Processes with appropriate privileges may be able to send messages to the terminal independent of the current state. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-n\fR|\fBn\fR \fR .ad .RS 8n .rt Denies permission to other users to send message to the terminal. See \fBwrite\fR(1). .RE .sp .ne 2 .mk .na \fB\fB-y\fR|\fBy\fR \fR .ad .RS 8n .rt Grants permission to other users to send messages to the terminal. .RE .SH ENVIRONMENT VARIABLES .sp .LP See \fBenviron\fR(7) for descriptions of the following environment variables that affect the execution of \fBmesg\fR: \fBLANG\fR, \fBLC_ALL\fR, \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR. .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR \fR .ad .RS 5n .rt if messages are receivable. .RE .sp .ne 2 .mk .na \fB\fB1\fR \fR .ad .RS 5n .rt if messages are not receivable. .RE .sp .ne 2 .mk .na \fB\fB2\fR \fR .ad .RS 5n .rt on error. .RE .SH FILES .sp .ne 2 .mk .na \fB\fB/dev/tty*\fR \fR .ad .RS 14n .rt terminal devices .RE .sp .ne 2 .mk .na \fB\fB/dev/pts/*\fR \fR .ad .RS 14n .rt terminal devices .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability system/core-os _ Interface Stability Committed _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBtalk\fR(1), \fBwrite\fR(1), \fBattributes\fR(7), \fBenviron\fR(7), \fBstandards\fR(7)