In article <1308 at caslon.cs.arizona.edu> andrew at 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?