From: TRUNTZ@UHAVAX.HARTFORD.EDU (TRUNTZ, ERIC)
Subject: Vax/VMX question
Date: 4 May 93 18:32:08 GMT [thread overview]
Message-ID: <66@ultrix.uhasun.hartford.edu> (raw)
Everyone,
Either Ive been doing something wrong, Ive lost my mind or both...
I have asked this question on this list several times. I have never
posted directly to the news group. I recieve posts from the list but
I cannot get help from the server nor do my posts make it to the list..
I do however still have a question Ive been wrestling with. It
concerns the communication of a terminal to a process... I'm working on
an application that will display the interactive usernames of each user
on a specific node in our cluster. It determines the user's physical
location as well as the name of the image they are currently running.
We use this software to manage our labs so that we can keep track of
available terminals in certain labs and so on... Getting the username
and the location of the user is reasonable simple. My problem arises
in determining which imagename to select for a user. Suppose a user
has logged in and his process name is USER then he spawns a subprocess
called USER_1 he now has two processes on the system. At this stage
all keystrokes that the user makes will end up affecting the process
named USER_1. This is what I mean when I say a termianl is communicating
with a process. Suppose the usaer types ATTACH USER, Now keystrokes
get "sent" to the process call USER. My question is how can I determine
which process a terminal is communicating with. the JPI$TERMINAL and
JPI$PHYDEVNAM work fine so long as the process in question is not a
subprocess. If it is these call get me nowhere. VMS must know which
process to talkto however. Id like to know how it knows or rather how
I can find out if a process is currently communicating with a terminal
or if its just out in the "background" please pardon the Unix term :)
If anyone has any clues please post to this news group. I cannot trust
that I will recieve mail at this point. (Trying to satraighten things out)
Thanks in advance........
Sysop3%uhavax.dnet@ipgate.hartford.edu
eric.
next reply other threads:[~1993-05-04 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-04 18:32 TRUNTZ, ERIC [this message]
1993-05-05 14:45 ` Vax/VMX question David P. Murphy
1993-05-07 21:08 ` Roger Tomas
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox