Re: A trick: how to move a pointer remotely

From: Michele Andreoli (
Date: Wed Jan 09 2002 - 12:20:06 CET

On Wed, Jan 09, 2002 at 09:02:06AM +0100, Frank Galikowski nicely wrote:
> Hi Michele,
> being at work I cannot check your trick , but I think you mixed the sending
> and receiving part of nc in your two lines of coding. This has already been a
> subject on the list.
> Maybe you can correct this in your help, section unixtips.eng .
> The sending machine A adresses the receiving machine B with
> # dd if=/dev/mouse bs=1c | nc machine_B_address 5555
> receiving machine B is listening at the port 5555 with
> # nc -lp 5555 | dd of=/dev/mouse bs=1c

I think, the two are equivalents, in the sense that they works both.
In your implementation, B is the server, A is the client. In the mine,
B is the client, A is the server.
Anyway, your imp. is more logical, because machine B, where the pointer
live, acts as mouse server; so, it is better if it will act also
as tcp server.

> Hint for newbies like me:
> Prerequisite for nc is a running connection between A and B.

True, or that should be a sense-less experiment, based on the
ESP protocol. But to use an ethernet cable in order to attach
a mouse on a computer is very exotic :-)


I keep trying to locate a meeting of Quantum Physicists. But everytime
they set a meeting time, the location changes. And vice versa -- Anonymous
To unsubscribe, e-mail:
For additional commands, e-mail:

This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:21 CET