Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 15:54:15 -0700
From:      Mike Smith <mike@smith.net.au>
To:        hungry hacker <hackers@neutron.neutron.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: mouse/keyboard simulation 
Message-ID:  <199810212254.PAA02613@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 21 Oct 1998 15:40:10 GMT." <199810211540.PAA08326@neutron.neutron.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> dear hackers
> i only post to this list after trying to hack out a simple 
> shell command to "cut a line" in xterm. ie, how hard is it
> to simulate three mouse clicks with (say) xsendevent (xse).
> (answer, harder than it looks).
> question: i am just about ready to kluge a gate on my mouse
> to do it (arrghh). can anyone tell me where how to hack the
> X mouse driver to do it? i just have mouse --> /dev/cuaa0
> what is the program that deals with the raw mouse?

You're doing the wrong thing.   Terminals are *abstract*, and you can't 
expect to talk to them like that.

If you want something that a previous program has output, parse its 
output.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810212254.PAA02613>