write on a remote host

Burkhard Burow burow at physics.utoronto.ca
Wed Feb 21 01:53:56 AEST 1990


I'd like to be able to do the remote equivalent of the local command:

>echo hello | write burow

Mesage from burow at helios.physics on ttyp1 at 9:43 ...
hello
EOF
>

One can't simply rsh this since write, for its header, tries to find 
the terminal executing the command, and of course there is none on the
remote machine.

I don't want to use mail, since in my application I'll be sending this 
command to every machine that the recipient is logged on.

talk, doesn't work since the std i/o has to be a terminal.


e-mail comments, solutions, etc. please and I'll post what works.

thank you

burk



More information about the Comp.unix.questions mailing list