Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Connection between C program and shell Message-ID: <15659@smoke.brl.mil> Date: 1 Apr 91 07:56:04 GMT References: <1308@caslon.cs.arizona.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 5 In article <1308@caslon.cs.arizona.edu> andrew@cs.arizona.edu (Andrei V. Zaitsev) writes: >How C program can determine in what shell it is being executed ? If the shell does its job properly, there should be NO WAY TO TELL. Why do you ask?