author | John Sonnenschein <johns@joyent.com> |
Wed, 11 Apr 2012 17:48:11 -0400 | |
changeset 13664 | 739954258cbb |
parent 13476 | 5b2854ecc12d |
permissions | -rw-r--r-- |
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
1 |
'\" te |
13664
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
2 |
.\" Copyright (c) 2012 Joyent, Inc. All Rights Reserved. |
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
3 |
.\" Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
4 |
.\" Copyright 1989 AT&T |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
5 |
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
6 |
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
7 |
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] |
13476
5b2854ecc12d
1502 Remove conversion cruft from manpages
Yuri Pankov <yuri.pankov@nexenta.com>
parents:
13304
diff
changeset
|
8 |
.TH WALL 1M "Jul 13, 1994" |
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
9 |
.SH NAME |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
10 |
wall \- write to all users |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
11 |
.SH SYNOPSIS |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
12 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
13 |
.nf |
13664
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
14 |
\fB/usr/sbin/wall\fR [\fB-a\fR] [\fB-g\fR \fIgrpname\fR] [\fB-z\fR \fIzonename\fR] [\fB-Z\fR] [\fIfilename\fR] |
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
15 |
.fi |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
16 |
|
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
17 |
.SH DESCRIPTION |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
18 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
19 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
20 |
\fBwall\fR reads its standard input until an end-of-file. It then sends this |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
21 |
message to all currently logged-in users preceded by: |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
22 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
23 |
.in +2 |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
24 |
.nf |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
25 |
Broadcast Message from .\|.\|. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
26 |
.fi |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
27 |
.in -2 |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
28 |
|
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
29 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
30 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
31 |
If \fIfilename\fR is given, then the message is read in from that file. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
32 |
Normally, pseudo-terminals that do not correspond to rlogin sessions are |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
33 |
ignored. Thus, when using a window system, the message appears only on the |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
34 |
console window. However, \fB-a\fR will send the message even to such |
13664
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
35 |
pseudo-terminals. Normally, \fBwall\fR sends messages to the current zone |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
36 |
only, from the global zone \fB-Z\fR will send messages to all nonglobal zones, |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
37 |
and \fB-z\fR will send messages to a specified nonglobal zone |
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
38 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
39 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
40 |
It is used to warn all users, typically prior to shutting down the system. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
41 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
42 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
43 |
The sender must be superuser to override any protections the users may have |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
44 |
invoked See \fBmesg\fR(1). |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
45 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
46 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
47 |
\fBwall\fR runs \fBsetgid()\fR to the group \fBID\fR \fBtty\fR, in order to |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
48 |
have write permissions on other user's terminals. See \fBsetuid\fR(2). |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
49 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
50 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
51 |
\fBwall\fR will detect non-printable characters before sending them to the |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
52 |
user's terminal. Control characters will appear as a "\fB ^ \fR" followed by |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
53 |
the appropriate \fBASCII\fR character; characters with the high-order bit set |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
54 |
will appear in "meta" notation. For example, `\fB\e003\fR\&' is displayed as |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
55 |
`\fB^C\fR' and `\fB\e372\fR\&' as `\fBM\(miz\fR'. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
56 |
.SH OPTIONS |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
57 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
58 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
59 |
The following options are supported: |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
60 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
61 |
.ne 2 |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
62 |
.na |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
63 |
\fB\fB-a\fR\fR |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
64 |
.ad |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
65 |
.RS 14n |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
66 |
Broadcast message to the console and pseudo-terminals. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
67 |
.RE |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
68 |
|
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
69 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
70 |
.ne 2 |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
71 |
.na |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
72 |
\fB\fB-\fR\fBg\fR \fIgrpname\fR\fR |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
73 |
.ad |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
74 |
.RS 14n |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
75 |
Broadcast to the users in a specified group only, per the group database (see |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
76 |
\fBgroup\fR(4)). |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
77 |
.RE |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
78 |
|
13664
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
79 |
.sp |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
80 |
.ne 2 |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
81 |
.na |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
82 |
\fB\fB-\fR\fBz\fR \fIzonename\fR\fR |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
83 |
.ad |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
84 |
.RS 14n |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
85 |
Broadcast to the users in a specified zone only |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
86 |
.RE |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
87 |
|
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
88 |
|
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
89 |
.sp |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
90 |
.ne 2 |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
91 |
.na |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
92 |
\fB\fB-Z\fR\fR |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
93 |
.ad |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
94 |
.RS 14n |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
95 |
Broadcast message to the console and pseudo-terminals of all zones. |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
96 |
.RE |
739954258cbb
2443 wall(1) needs zones support
John Sonnenschein <johns@joyent.com>
parents:
13476
diff
changeset
|
97 |
|
13304
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
98 |
.SH ENVIRONMENT VARIABLES |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
99 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
100 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
101 |
If the \fBLC_*\fR variables (\fBLC_CTYPE\fR, \fBLC_TIME\fR, \fBLC_COLLATE\fR, |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
102 |
\fBLC_NUMERIC\fR, and \fBLC_MONETARY\fR) are not set in the environment, the |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
103 |
operational behavior of \fBwall\fR for each corresponding locale category is |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
104 |
determined by the value of the \fBLANG\fR environment variable. See |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
105 |
\fBenviron\fR(5). If \fBLC_ALL\fR is set, its contents are used to override |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
106 |
both the \fBLANG\fR and the other \fBLC_*\fR variables. If none of the above |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
107 |
variables are set in the environment, the "C" (U.S. style) locale determines |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
108 |
how \fBwall\fR behaves. |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
109 |
.SH FILES |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
110 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
111 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
112 |
\fB/dev/tty*\fR |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
113 |
.SH SEE ALSO |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
114 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
115 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
116 |
\fBmesg\fR(1), \fBwrite\fR(1), \fBsetuid\fR(2), \fBattributes\fR(5), |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
117 |
\fBenviron\fR(5) |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
118 |
.SH NOTES |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
119 |
.sp |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
120 |
.LP |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
121 |
\fBwall\fR displays ``Cannot send to \|.\|.\|.'' when the open on a user's |
b54231762cfa
243 system manual pages should live with the software
Richard Lowe <richlowe@richlowe.net>
parents:
diff
changeset
|
122 |
\fBtty\fR file fails. |