# MODULE write
# Write a notification to a user
#
# Written 1996 by Darko Krizic
#
write()
{
	for user in $data
	do
		log "write $user"
		if [ -z "$name" ]
		then
			name=$id
		fi
		echo "New fax from $name ($pages pages)" | /usr/bin/write $user \
			2>/dev/null
	done
}

