Re: Q: how do I open xterm, run command, and continue manual input?
From: Alan Connor (xxxxxx_at_xxxx.xxx)
Date: 07/26/03
- Next message: Charles Demas: "Re: Q for Unix guru's"
- Previous message: Spider-X: "Q for Unix guru's"
- In reply to: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Next in thread: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Reply: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Charles Demas: "Re: Q for Unix guru's"
- Previous message: Spider-X: "Q for Unix guru's"
- In reply to: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Next in thread: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Reply: Floyd Davidson: "Re: Q: how do I open xterm, run command, and continue manual input?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|