Article View: comp.windows.x
Article #25049xterm and ioctl question
From: Thomas J. A. Bricker
Date: Fri, 06 Mar 1987 05:45
Date: Fri, 06 Mar 1987 05:45
14 lines
1097 bytes
1097 bytes
There is an ioctl call that simulates terminal input which looks like: ioctl( d, TIOCSTI, &ch ) where d is an open descriptor, and ch is the character to stuff into the terminal as if it were typed at the keyboard. The X package seems to "know" how to focus keyboard input to xterm windows based on the location of the mouse cursor. My question is: What tty name can be used to specify that the character should go the the xterm window in which the mouse cursor is located? /dev/ttyp? and /dev/ttyv0 obviously focus the input to a specific window regardless of the mouse cursor location.
Technical Details
Message-ID:
<3318@rsch.WISC.EDU>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ll-xn!mit-eddie!husc6!uwvax!tbrickerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ll-xn!mit-eddie!husc6!uwvax!tbricker From: tbricker@rsch.WISC.EDU (Thomas J. A. Bricker) Newsgroups: comp.windows.x Subject: xterm and ioctl question Message-ID: <3318@rsch.WISC.EDU> Date: Fri, 6-Mar-87 00:45:58 EST Article-I.D.: rsch.3318 Posted: Fri Mar 6 00:45:58 1987 Date-Received: Sun, 8-Mar-87 00:42:17 EST Distribution: comp Organization: U of Wisconsin CS Dept Lines: 14