Re: FVWM: simple question: how execute xterm and then a script?

2002-08-20 Thread Rob 'Feztaa' Park
Alas! Bruce M Beach spake thus: On Mon, 19 Aug 2002, Rob 'Feztaa' Park wrote: Alas! Bruce M Beach spake thus: + All Exec xterm ; xterm doesn't work. Nothing happens. If I remove the last xterm then an xterm pops up as expected, as in Didn't we just go through this on another

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-19 Thread Bruce M Beach
On Sat, 17 Aug 2002, Mikhael Goikhman wrote: On 17 Aug 2002 19:13:24 +0200, Ulrich Fahrenberg wrote: On Sat, 17 Aug 2002, Felix Kater wrote: I defined a Menu to start an xterm like this: AddToMenu MenuBackup + start backup Exec exec xterm Along these lines

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-19 Thread Mikhael Goikhman
On 18 Aug 2002 06:20:23 +, Bruce M Beach wrote: Along these lines how would some one start multiple applications? Consider: AddToMenu Tails Tails Title + Messages exec xterm -fn 7x13bold -T \ messages -fg white -bg black -j -rw -aw +sf -sl 200 -sb -e \

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-19 Thread Bruce M Beach
On Sat, 17 Aug 2002, Mikhael Goikhman wrote: I thought the ';' would work. Here you should remove exec: Exec xterm ; xterm ; xterm The last is optional, but I would leave it for symmetry. + All Exec xterm ; xterm doesn't work. Nothing happens. If I remove the last xterm then

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-19 Thread Rob 'Feztaa' Park
Alas! Bruce M Beach spake thus: + All Exec xterm ; xterm doesn't work. Nothing happens. If I remove the last xterm then an xterm pops up as expected, as in Didn't we just go through this on another thread? The syntax you are looking for is this: + All Exec xterm xterm -- Rob

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-19 Thread Mikhael Goikhman
On 20 Aug 2002 07:28:58 +, Bruce M Beach wrote: Yes, and for reasons not understood the original emails appeared appeared out of nowhere from the list, or I sent them again without being aware of it. One of my messages was moderated, because it had 4 recipients listed (good to

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-18 Thread Cameron Simpson
On 09:55 18 Aug 2002, Bruce M Beach [EMAIL PROTECTED] wrote: | On Sun, 18 Aug 2002, Mikhael Goikhman wrote: | Funny, the following is incorrect in bash and ksh: |% xterm ; xterm |Yeah. I've seen the above % xterm ; xterm fail a million |times and never learn because it doesn't make

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-18 Thread Rob 'Feztaa' Park
Alas! Mikhael Goikhman spake thus: Funny, the following is incorrect in bash and ksh: % xterm ; xterm In bash, the syntax you are looking for is simply 'xterm xterm'. -- Rob 'Feztaa' Park http://members.shaw.ca/feztaa/ -- Feel disillusioned? I've got some great new illusions, right

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-18 Thread Bruce M Beach
The real and simple truth is that the syntax of bash will just drive you crazy. Bruce -- Visit the official FVWM web page at URL: http://www.fvwm.org/. To unsubscribe from the list, send unsubscribe fvwm in the body of a message to [EMAIL PROTECTED] To report problems, send mail to

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Ulrich Fahrenberg
On Sat, 17 Aug 2002, Felix Kater wrote: I defined a Menu to start an xterm like this: AddToMenu MenuBackup + start backup Exec exec xterm But how can I add something (after Exec exec xterm) to start a scipt which shows its output in that xterm? AddToMenu MenuBackup +

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Mikhael Goikhman
On 17 Aug 2002 19:13:24 +0200, Ulrich Fahrenberg wrote: On Sat, 17 Aug 2002, Felix Kater wrote: I defined a Menu to start an xterm like this: AddToMenu MenuBackup + start backup Exec exec xterm But how can I add something (after Exec exec xterm) to start a scipt which

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Rob 'Feztaa' Park
Alas! Mikhael Goikhman spake thus: If your script immediatelly exits after printing the output you should prevent xterm from being closed, something like: Exec exec xterm -e sh -c date; head -1 where date is your script. This waits for Enter to be closed. Interesting; I would have done

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Mikhael Goikhman
On 17 Aug 2002 15:52:35 -0600, Rob 'Feztaa' Park wrote: Alas! Mikhael Goikhman spake thus: If your script immediatelly exits after printing the output you should prevent xterm from being closed, something like: Exec exec xterm -e sh -c date; head -1 where date is your script.

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Cameron Simpson
On 22:41 17 Aug 2002, Mikhael Goikhman [EMAIL PROTECTED] wrote: | On 17 Aug 2002 15:52:35 -0600, Rob 'Feztaa' Park wrote: | Alas! Mikhael Goikhman spake thus: | If your script immediatelly exits after printing the output you should | prevent xterm from being closed, something like: | Exec

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Mikhael Goikhman
On 18 Aug 2002 09:38:23 +1000, Cameron Simpson wrote: Me too. Doesn't even fork an extra process. | head is more portable, read is not available in some shells like tcsh/csh. Speaking as one who predates head I'd had differed on this:-) (Well, at the least started on systems that

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Mikhael Goikhman
On 18 Aug 2002 07:22:14 +, Bruce M Beach wrote: On Sat, 17 Aug 2002, Mikhael Goikhman wrote: I thought the ';' would work. Here you should remove exec: Exec xterm ; xterm ; xterm The last is optional, but I would leave it for symmetry. + All Exec xterm ; xterm

Re: FVWM: simple question: how execute xterm and then a script?

2002-08-17 Thread Bruce M Beach
On Sun, 18 Aug 2002, Mikhael Goikhman wrote: Funny, the following is incorrect in bash and ksh: % xterm ; xterm But this is correct in tcsh, zsh, ash and csh. If you put a command with in parentheses it should work in all shells: Exec (xterm ); (xterm ); (xterm ) Yeah. I've seen