from scratch, thought I was going to add a flag
[unix-history] / usr / src / usr.bin / wall / wall.1
index fef9699..425117f 100644 (file)
@@ -1,31 +1,36 @@
-.\" Copyright (c) 1980 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1989 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)wall.1      4.1 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms are permitted
+.\" provided that the above copyright notice and this paragraph are
+.\" duplicated in all such forms and that any documentation,
+.\" advertising materials, and other materials related to such
+.\" distribution and use acknowledge that the software was developed
+.\" by the University of California, Berkeley.  The name of the
+.\" University may not be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
 .\"
-.TH WALL 1
+.\"    @(#)wall.1      6.3 (Berkeley) %G%
+.\"
+.UC 7
+.TH WALL 1 ""
 .UC 4
 .SH NAME
 .UC 4
 .SH NAME
-wall \- write to all users
+wall \- write a message to users
 .SH SYNOPSIS
 .B wall
 .SH SYNOPSIS
 .B wall
+[ file ]
 .SH DESCRIPTION
 .I Wall
 .SH DESCRIPTION
 .I Wall
-reads its standard input until an end-of-file.
-It then sends this message,
-preceded by
-`Broadcast Message ...',
-to all logged in users.
+displays the contents of
+.I file
+or, by default, its standard input, on the terminals of all
+currently logged in users.
 .PP
 .PP
-The sender should be super-user to override
-any protections the users may have invoked.
-.SH FILES
-/dev/tty?
-.br
-/etc/utmp
+Appropriate permissions are often required to override protections
+user's place on their terminals.
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-mesg(1), write(1)
-.SH DIAGNOSTICS
-`Cannot send to ...' when the open on
-a user's tty file fails.
+mesg(1), talk(1), write(1), shutdown(8)