From owner-freebsd-hackers Thu Oct 22 08:55:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13858 for freebsd-hackers-outgoing; Thu, 22 Oct 1998 08:55:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA13846 for ; Thu, 22 Oct 1998 08:55:45 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zWN4v-0001vM-00; Thu, 22 Oct 1998 09:55:09 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id JAA12071; Thu, 22 Oct 1998 09:55:35 -0600 (MDT) Message-Id: <199810221555.JAA12071@harmony.village.org> To: hungry hacker Subject: Re: mouse/keyboard simulation Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 21 Oct 1998 15:40:10 GMT." <199810211540.PAA08326@neutron.neutron.org> References: <199810211540.PAA08326@neutron.neutron.org> Date: Thu, 22 Oct 1998 09:55:35 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199810211540.PAA08326@neutron.neutron.org> hungry hacker writes: : 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? What is it that you are trying to accomplish, exactly? There are many programs that will load up the select buffer with text, leaving you to trigger the paste event by some other means. Alternatively, 'muble-foo | sh' will execute the output of the mumble-foo command as a shell script... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message