Re: Q: how do I open xterm, run command, and continue manual input?

From: Alan Connor (xxxxxx_at_xxxx.xxx)
Date: 07/26/03


Date: Sat, 26 Jul 2003 19:23:23 GMT

On 26 Jul 2003 10:17:53 -0800, Floyd Davidson <floyd@barrow.com> wrote:
>
>
> Kati <Kati@NOSPAMkati.cc> wrote:
>>Does anyone know how to open a new xterm window, run a command in it, and
>>keep it open for manual input?
>
> xterm -e foo command command_arg1 command_arg2 ...
>
> Where foo is a script,
>
> #!/bin/sh
> #
> ${*}
> exec /bin/sh
>

Doesn't that do exactly what

xterm -e bash --rcfile file_with_commands_in_it

does?

Only with more of a hassle? :-)

By-the-way, Kati, I checked, and it doesn't use a significant amount of
resources.

Alan

-- 
       For Linux/Bash users: Eliminate spam from your life
       with the Mailbox-Sentry-Program. See the thread
       MSP on comp.mail.misc. 
     


Relevant Pages

  • Re: Q: how do I open xterm, run command, and continue manual input?
    ... >Does anyone know how to open a new xterm window, run a command in it, and ... >keep it open for manual input? ... Where foo is a script, ...
    (comp.unix.questions)
  • Re: Q: how do I open xterm, run command, and continue manual input?
    ... > Does anyone know how to open a new xterm window, run a command in it, and ... > keep it open for manual input? ... you can open a shell in the window, but I don't know how to run a command ... in that shell automatically. ...
    (comp.unix.questions)
  • [ANN] main-2.6.0
    ... a class factory and dsl for generating command line programs real ... option 'foo' ... improved auto usage generation when arity is used with arguments ... cast:int ...
    (comp.lang.ruby)
  • [ANN] main-2.0.0
    ... a class factory and dsl for generating command line programs real quick ... def runputs 'installing...' ... and auto-generation of usage messages can really streamline ... int(foo): the cast is int, ...
    (comp.lang.ruby)
  • [ANN] main-2.2.0
    ... a class factory and dsl for generating command line programs real quick ... def runputs 'installing...' ... and auto-generation of usage messages can really streamline ... int(foo): the cast is int, ...
    (comp.lang.ruby)