spwrite(8) write messages

SYNOPSIS

spwrite user [ ... ]

DESCRIPTION

Spwrite sends messages to users' terminals in response to the "-w" and "-A" options of gspl-pr(1). It is used in preference to the write(1) command as this picks just one (and usually the wrong one!) of the terminals at which the user may be logged in, and does not display a suitable name for the originator of messages.

Spwrite takes a list of one or more users as arguments. It sends the text on standard input to each user's terminal. The message is mailed to users who cannot be reached. This facility is available for use in your own software if you wish.

FILES

int-config message file

ENVIRONMENT

SPHELPDIR
alternative location for help file directory.

COPYRIGHT

Copyright (c) 2009 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.

AUTHOR

John M Collins, Xi Software Ltd.