#!/bin/csh -f
# demo <host>
if (x$1 == x) then
  set hostname = `hostname`
else
  set hostname = $1
endif
set username = `whoami`
echo "systemdict /UserName /$username put" | psh
mail-popup $hostname /$username 2000 < MESSAGE
