Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!houxm!hropus!riccb!csc From: csc@riccb.UUCP Newsgroups: comp.unix.wizards,comp.unix.questions,comp.unix.xenix Subject: trackball/mouse interface Message-ID: <851@riccb.UUCP> Date: Wed, 25-Feb-87 23:13:32 EST Article-I.D.: riccb.851 Posted: Wed Feb 25 23:13:32 1987 Date-Received: Sat, 28-Feb-87 03:49:35 EST Organization: Rockwell Telecommunications Lines: 14 Keywords: struct tty, pgroup Xref: utgpu comp.unix.wizards:1137 comp.unix.questions:1193 comp.unix.xenix:121 i`m looking for some information on interfacing a trackball (dedicated to a tty port) that will write to a dedicated terminal port. i want to use this for data input from application programs i`ve written with curses. how do i get the mouse tty structure to point to the structure of my shell process? i was hoping to just fork this program off in my .profile and have it open my tty for writing and it will take care of updating the tty structure with the current row/col info. but i'm not sure how to have it update another tty structure. Xenix SYS III (which i'm using) has a t_chan in the tty structure which appears to be meant for this. any help is appreciated if enough interest is generated i will summarize asap.