On Thu, 25 Nov 2004, Don Wilde wrote: > J65nko BSD wrote: > > On Thu, 25 Nov 2004 10:26:38 -0700, Don Wilde <[EMAIL PROTECTED]> 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.
If you have the option to modify it, ensure that your script exits via "exec sh". Alternatively a wrapper that does this is straightforward to build. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287864 or +44 (0)117 9287088 http://ioctl.org/jan/ Political talk? / What is said can be unsaid / with good old BS -- ASCII haiku _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"