From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 21:33:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6837016A4CE for ; Thu, 29 Apr 2004 21:33:45 -0700 (PDT) Received: from floyd.gnulife.org (floyd.gnulife.org [199.86.41.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E115443D39 for ; Thu, 29 Apr 2004 21:33:44 -0700 (PDT) (envelope-from jamie@gnulife.org) Received: from floyd.gnulife.org (localhost.gnulife.org [127.0.0.1]) by floyd.gnulife.org (8.12.11/8.12.11) with ESMTP id i3U4XLX7008653 for ; Thu, 29 Apr 2004 23:33:21 -0500 (CDT) (envelope-from jamie@gnulife.org) Received: from localhost (jamie@localhost)i3U4XL5T008650 for ; Thu, 29 Apr 2004 23:33:21 -0500 (CDT) (envelope-from jamie@gnulife.org) X-Authentication-Warning: floyd.gnulife.org: jamie owned process doing -bs Date: Thu, 29 Apr 2004 23:33:21 -0500 (CDT) From: Jamie To: freebsd-questions@freebsd.org Message-ID: <20040429231930.D8617@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: OT: environment variables, job control X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2004 04:33:45 -0000 I'm using FreeBSD 4.9. Hopefully this is not too far off-topic. My login shell is set to /bin/csh. Why is it that when I: % /bin/sh $ echo $SHELL I get: $ /bin/csh Also, I noticed that when I invoke sh , and I: $ sleep 40 The sleep process has a different process group ID than the parent (shell). I thought by default the bourne shell did not support job control. From my understanding, it will support job control if you use the -m switch. - Jamie Greetings from Minneapolis, MN, United States "A friend is someone who lets you have total freedom to be yourself."