From: murphy@npri6.npri.com (David P. Murphy)
Subject: Re: Vax/VMX question
Date: 5 May 93 14:45:43 GMT [thread overview]
Message-ID: <7117@npri6.npri.com> (raw)
In-Reply-To: 66@ultrix.uhasun.hartford.edu
TRUNTZ@UHAVAX.HARTFORD.EDU (TRUNTZ, ERIC) writes:
>Everyone,
> 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.
assuming that you really have made it this far, the first test you can make
is choose the process which does *not* have a JPI$_STATE equal to SCH$C_HIB
or SCH$C_HIBO.
in other words, the process which is not attached will be hibernating.
of course, the active process may very well be hibernating on its own accord,
but that's the best i can do for now.
ok
dpm
--
murphy@npri6.npri.com (systems programmer at large) When every one is dead
602 Cameron St. the Great Game is finished
Alexandria, VA 22314 Not before.
(703) 683-9090 --- Hurree Babu, "Kim"
next prev parent reply other threads:[~1993-05-05 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-04 18:32 Vax/VMX question TRUNTZ, ERIC
1993-05-05 14:45 ` David P. Murphy [this message]
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