Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!caip!lll-crg!lll-lcc!qantel!ptsfa!eeg!jim From: jim@eeg.UUCP (Jim Ruppert) Newsgroups: net.unix-wizards,net.lang.c Subject: am I in the background? Message-ID: <124@eeg.UUCP> Date: Thu, 24-Apr-86 18:26:46 EDT Article-I.D.: eeg.124 Posted: Thu Apr 24 18:26:46 1986 Date-Received: Sun, 27-Apr-86 05:05:14 EDT Organization: EEG Systems Laboratory, San Francisco Lines: 10 Keywords: signal isatty background Xref: watmath net.unix-wizards:17810 net.lang.c:8738 I'm new to usenet news, so forgive me if this has been covered before... How can a process tell if it is running in the background? I've tried using isatty() and signal(), but to no avail. Any suggestions? -- ---- Jim Ruppert, EEG Systems Laboratory 1855 Folsom St, San Francisco, Ca 94103 (415) 621-8343 {ihnp4,dual,qantel}!ptsfa!eeg!jim