From owner-freebsd-questions@FreeBSD.ORG Thu Nov 25 18:54: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 0E53A16A4CE for ; Thu, 25 Nov 2004 18:54:45 +0000 (GMT) Received: from nwlynx.network-lynx.net (nwlynx.network-lynx.net [63.122.185.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE47443D66 for ; Thu, 25 Nov 2004 18:54:44 +0000 (GMT) (envelope-from Don@Silver-Lynx.com) Received: from [70.57.246.81] (helo=Silver-Lynx.com) by nwlynx.network-lynx.net with esmtpa (Exim 4.42 #1) id 1CXOll-000Odu-2P by authid with fixed_cram; Thu, 25 Nov 2004 11:55:05 -0700 Message-ID: <41A62A68.8050201@Silver-Lynx.com> Date: Thu, 25 Nov 2004 11:54:32 -0700 From: Don Wilde User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031028 X-Accept-Language: en-us, en MIME-Version: 1.0 To: J65nko BSD References: <41A615CE.6010405@Silver-Lynx.com> <19861fba0411251005265ecb91@mail.gmail.com> In-Reply-To: <19861fba0411251005265ecb91@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:54:45 -0000 J65nko BSD wrote: > On Thu, 25 Nov 2004 10:26:38 -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. [snip] > > xterm -hold -e sh -c ./ticktock & > > "-hold" is explained in the xterm man page ;) > Yes and no. I don't get as command prompt back in the new xterm, either with sh or bash. ALso, the --rcfile arcument does not appear to work in conjunction with -c. This is what the man for hold specifies, but I need the prompt. -- Don Wilde ---------> Silver Lynx <---------- Raising the Trajectory of Human Development --------------------------------------------- http://www.Silver-Lynx.com