SPWRITE(8)

NAME
spwrite - write messages

SYNOPSIS
spwrite user [ ... ]

DESCRIPTION
Spwrite sends messages to users' terminals in response to the "-w" and "-A" options of spr(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.

SEE ALSO
dosspwrite(8), spmdisp(8).

AUTHOR
John M Collins, Xi Software Ltd.