Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site minnie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!psivax!nrcvax!minnie!chris From: chris@minnie.UUCP (Chris Grevstad) Newsgroups: net.unix-wizards,net.unix Subject: externally accessing process environment Message-ID: <171@minnie.UUCP> Date: Tue, 25-Mar-86 00:50:43 EST Article-I.D.: minnie.171 Posted: Tue Mar 25 00:50:43 1986 Date-Received: Thu, 27-Mar-86 00:44:10 EST Reply-To: chris@minnie.UUCP (Chris Grevstad) Organization: The Zoo Lines: 21 Xref: watmath net.unix-wizards:17338 net.unix:7473 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..."