[gpm]remote mouse

Alessandro Rubini rubini@gnu.org
Mon, 3 Dec 2001 09:51:30 +0100


Hello.

> Is it possible to use a tcp connection as gpm's mouse device?

I personally use UDP. My problem is with the laptop and external
keyboard/mouse (IBM keyboard takes PS2, modem takes serial, too lazy
to setup USB).

> Is that possible with gpm?

I set up gpm  to read two mice: /dev/psaux (internal touchpad) and
/dev/gpmfifo. The latter is made with mkfifo.

On the remote computer I run
	udp-send 3456 < /dev/psaux 
on the laptop I run
	udp-get 3456 > /dev/gpmfifo

Using UDP I can reboot the other computer without restarting gpm locally,
TCP wouldn't allow that.

upd-send and udp-get are part of my netlogger package, at
ftp://arcana.linux.it/pub/netlogger/ (also http://)

/alessandro