From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6cfc6a1960e8c94f,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-02 14:07:11 PST Path: gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!noc.near.net!uhasun!uhavax.hartford.edu From: SYSOP3@uhavax.hartford.edu (SYSOP) Newsgroups: comp.sys.dec Subject: Process communication help needed Message-ID: <157@ultrix.uhasun.hartford.edu> Date: 2 Aug 93 20:24:05 GMT Sender: news@uhasun.hartford.edu Organization: THE UNIVERSITY OF HARTFORD Nntp-Posting-Host: uhavax X-News-Reader: VMS NEWS 1.24 Everyone, I have posted about this problem in the past and have gotten some clues from a few VERY kind hearted people.. Especially Terry Kenedy!! Thanks!!.... Unfortunately I have been diverted from this project and now that I have returned to it, I have come to find that I need more help than I thought :(... What I am looking for is an example of some code that will take the name of a terminal such as LTAxxx or RTAxx and return the PID of the process that is ACTUALLY attached to it... by attached I mean the process that acts on the keystrokes made at the keyboard. the process in the foreground may also be a way of describing this..... I have been told to look in the decus tapes for examples of this I have also been told to use SDA to look for clues... I have found all of the clues but in all honesty I have no idea how to write code that will access these data structures... I also have no access to the decus stuff... If anyone has dealt with any of this before and if you didnt mind would you drop me a line... I certainly would appreciate it!! eric Sysop3%uhavax.dnet@ipgate.hartford.edu