Article View: cam.sug
Article #492Re: Need keyboard emulation for Sun Sparc 2
From: Andrew Aitchison
Date: Mon, 13 Jan 1997 00:00
Date: Mon, 13 Jan 1997 00:00
34 lines
2111 bytes
2111 bytes
Matthew Carse wrote: > Can anyone help - we are running a Sparc 2 and want to be able to > emulate keyboard presses in order to control an application unattended. > > We are not able to get into the application directly and wondered > whether anyone was aware of devices or techniques which can produce key > strokes either through an inline box or via the serial port or other > method > While browsing the net I came across a list of keyboards for disabled people and/or to avoid RSI. As well as mentioning products for Sun machines, it mentioned a system which used a PC and whatever keyboard you like. You plug one end into the PC and the other end into the keyboard socket of the Sun; whatever you type on the PC appears on the Sun. You might be able to get into this system and make the PC send the keycodes you require. Are you running the application under X-Windows (aka OpenLook on a Sparc 2) ? If so, you can probably find a program to run under X-Windows, which sends events, and which the application will think are keyboard presses. However, if the application is listening directly to the keyboard, this will not work. If you are running under X Windows, there is a new extension - RECORD - which you might find useful since it allows you to make the keypresses. mouse movements etc., record them in a file, and it will then replay them to order. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge A.C.Aitchison@dpmms.cam.ac.uk http://www.dpmms.cam.ac.uk/~werdna
Technical Details
Message-ID:
<32DA61BC.167EB0E7@dpmms.cam.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<32D3E4B1.420C@idsukltd.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fbee8,3065f23c38008728 X-Google-Attributes: gidfbee8,public From: Andrew Aitchison <werdna@dpmms.cam.ac.uk> Subject: Re: Need keyboard emulation for Sun Sparc 2 Date: 1997/01/13 Message-ID: <32DA61BC.167EB0E7@dpmms.cam.ac.uk> X-Deja-AN: 209540384 references: <32D3E4B1.420C@idsukltd.demon.co.uk> to: mat@idsukltd.demon.co.uk content-type: text/plain; charset=us-ascii organization: DPMMS, University of Cambridge mime-version: 1.0 newsgroups: cam.sug x-mailer: Mozilla 3.01Gold (X11; I; SunOS 4.1.4 sun4m)