🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25052

Re: xterm and ioctl question

#25052
From: Ralph R. Swick
Date: Fri, 06 Mar 1987 11:52
14 lines
1282 bytes
>  What tty name can be used to specify that [a simulated input] 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.

Simulating keyboard input for windows becomes trivial in version 11 and can
be done in an os-independent fashion (i.e. no ioctl()'s).  'Till then,
you'll have to kludge something using the fact that xterm stores it's window
id in the environment.  The shell thus has sufficient information to relate
window id and pty, which it can store somewhere for you to find in your
application.

-rrs
Technical Details
Message-ID: <8703061152.AA07681@ORPHEUS>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!husc6!bacchus!mit-eddie!ll-xn!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick
References: <3318@rsch.WISC.EDU>

Show 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!ut-sally!husc6!bacchus!mit-eddie!ll-xn!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick
From: swick@ATHENA.MIT.EDU (Ralph R. Swick)
Newsgroups: comp.windows.x
Subject: Re: xterm and ioctl question
Message-ID: <8703061152.AA07681@ORPHEUS>
Date: Fri, 6-Mar-87 06:52:04 EST
Article-I.D.: ORPHEUS.8703061152.AA07681
Posted: Fri Mar  6 06:52:04 1987
Date-Received: Sun, 8-Mar-87 05:39:56 EST
References: <3318@rsch.WISC.EDU>
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 14