From owner-freebsd-questions@FreeBSD.ORG Wed Oct 12 09:01:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A371E16A41F for ; Wed, 12 Oct 2005 09:01:30 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from speechpro.com (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A735443D6D for ; Wed, 12 Oct 2005 09:01:28 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from sysadm.stc ([192.168.2.26]) by s1.stc with esmtp (Exim 4.52 (FreeBSD)) id 1EPcUI-000NNl-H6; Wed, 12 Oct 2005 13:01:26 +0400 Message-ID: <434CD0CE.1050108@speechpro.com> Date: Wed, 12 Oct 2005 13:01:02 +0400 From: Igor Robul User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050518) X-Accept-Language: en-us, en MIME-Version: 1.0 To: guru@Sisis.de, freebsd-questions@freebsd.org References: <20051011130633.GA9485@rebelion.Sisis.de> In-Reply-To: <20051011130633.GA9485@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archived: Yes Cc: Subject: Re: X-application for sending keystrokes, xse? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 09:01:30 -0000 guru@Sisis.de wrote: >Hello, > >I've some X-application (only in binary form) written in >Java which presents the official Spanish dictionary; having >it up&running it says about itself the below attached 'xprop' >output and if someone wants to see a small screen shoot it is >here: http://www.sisis.de/~guru/drae.jpg > >In the small input field one can type Spanish words and the >X-application presents the page from the dictionary for the word; > >my idea is to connect this to my editor 'vi' with a small >key macro to send over the actual word where the cursor is to this >application as it was typed in in the input field; like this: > >map "xywo"xp:.,.w !xsendkeys `cat` > /dev/null 2>/dev/null ; ^Mu" > >Is there some 'xsendkeys' in FreeBSD which can send the keys 'hablar' >to the X-application calling > > http://pag.csail.mit.edu/~adonovan/hacks/xsendkey.c