externally accessing process environment

Chris Grevstad chris at minnie.UUCP
Tue Mar 25 15:50:43 AEST 1986


Running 4.2BSD on an Integrated Solutions 68010 machine.  What I would
like to know is if there is some way for a process to examine the
environment of a non-related process.  What I want in particular is a
way to determine, from an external process, a terminal's type without resorting
to the possibly inaccurate file /etc/ttytype. The examining process is running
as root.

NOTE:  This is NOT the case of a process trying to determine it's own
environment.

Thanks for any advice that you can give me.

-- 
	Chris Grevstad
	{sdcsvax,hplabs}!sdcrdcf!psivax!nrcvax!chris
	ucbvax!calma!nrcvax!chris
	ihnp4!nrcvax!chris

   "No, I'll tell you the truth.  She was a striptease dancer.  I saw
    her first in an obscene movie, one of those things in obscenacolor.
    Naked of course. They had a Kodiak bear strapped to a table, muzzled..."



More information about the Comp.unix.wizards mailing list