Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2004 11:54:32 -0700
From:      Don Wilde <Don@Silver-Lynx.com>
To:        J65nko BSD <j65nko@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: shell programming challenge
Message-ID:  <41A62A68.8050201@Silver-Lynx.com>
In-Reply-To: <19861fba0411251005265ecb91@mail.gmail.com>
References:  <41A615CE.6010405@Silver-Lynx.com> <19861fba0411251005265ecb91@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
J65nko BSD wrote:
> On Thu, 25 Nov 2004 10:26:38 -0700, Don Wilde <don@silver-lynx.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A62A68.8050201>