From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18:00:46 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 2241916A4CE for ; Thu, 25 Nov 2004 18:00:46 +0000 (GMT) Received: from ms-smtp-02-eri0.texas.rr.com (ms-smtp-02.texas.rr.com [24.93.47.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB28443D66 for ; Thu, 25 Nov 2004 18:00:45 +0000 (GMT) (envelope-from afabian@austin.rr.com) Received: from turingmachine.mentalsiege.net (cs70112247-52.austin.rr.com [70.112.247.52])iAPI0c8H024414; Thu, 25 Nov 2004 12:00:41 -0600 (CST) Received: from turingmachine.mentalsiege.net (turingmachine.mentalsiege.net [127.0.0.1])iAPI06RW001447; Thu, 25 Nov 2004 12:00:09 -0600 (CST) (envelope-from afabian@turingmachine.mentalsiege.net) Received: (from afabian@localhost)iAPI02Xn001442; Thu, 25 Nov 2004 12:00:02 -0600 (CST) (envelope-from afabian) Date: Thu, 25 Nov 2004 12:00:01 -0600 From: Adam Fabian To: Don Wilde Message-ID: <20041125180001.GB1299@turingmachine.mentalsiege.net> Mail-Followup-To: Don Wilde , freebsd-questions@freebsd.org References: <41A615CE.6010405@Silver-Lynx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41A615CE.6010405@Silver-Lynx.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: shell programming challenge 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: Thu, 25 Nov 2004 18:00:46 -0000 On Thu, Nov 25, 2004 at 10:26:38AM -0700, Don Wilde wrote: > Hey, folks - > > I need to find a way to kick off an xterm running BASH and then execute > a program within that xterm, but NOT close the new xterm after the > program finishes. Another desirable thing would be to also be able to > 'source in' a file of shell environment that would affect the new window > and shell. bash --rc-file \ file_that_contains_the_environment_i_want_and_the_command_i_want_to_run If you mean that you want the xterm to continue running the same instance of bash. I don't think xterms run without the benefit of a program to emulate a terminal for. -- Adam Fabian (afabian@austin.rr.com)