It is very difficult to quote your messages, because you write comments
above your opponent quotes rather than below.
On 11 Dec 2003 19:39:33 +0530, Srivathsa Rao U wrote:
>
> I tried below two commands it didnot work. updatePager1 made my
> system to hang.
>
> DestroyFunc updatePager1
> AddToFunc updatePager1
> + I PipeRead 'Exec xterm +sb -geometry 50X30+502+310 -e
> /user/x0000rao/.fvwm/updatePager; echo Read .FvwmForm-Pager'
I think I explicitelly urged in the parent message not to use PipeRead:
> > You don't want to freeze fvwm until xterm completes, this is why you
> > can't do it using Read or PipeRead, you need Wait, so fvwm is still
> > functional although it waits in a function.
Anyway, if this happened and fvwm is freezed in PipeRead, you may still
switch to another virtual terminal (Ctrl-Alt-F2) and kill the process
(xterm) that freezes fvwm.
> DestroyFunc updatePager
> AddToFunc updatePager
> + I Exec gnome-terminal --class "DummyWindow" --transparent --geometry
> 50X30+502+310 -e /user/x0000rao/.fvwm/updatePager
> + I Wait DummyWindow
> + I All (DummyWindow) Close
> + I Read .FvwmForm-Pager
This is not what I suggested in the original message.
If you reread it again, I suggested the following:
DestroyFunc updatePager
AddToFunc updatePager
+ I Exec xterm -e $[FVWM_USERDIR]/updatePager; \
xterm -g +3000+3000 -class DummyWindow # put dummy window out of screen
+ I Wait DummyWindow
+ I All (DummyWindow) Close
+ I Read .FvwmForm-Pager
Then fvwm will wait in this function on "Wait", until it sees "DummyWindow"
window, but fvwm still stays functional to manage windows during this wait.
In the same message I also mentioned another simple solution without
creating a dummy window:
DestroyFunc updatePager
AddToFunc updatePager
+ I Exec xterm -e $[FVWM_USERDIR]/updatePager; \
FvwmCommand "Read .FvwmForm-Pager" # shell runs xterm, then FvwmCommand
AddToFunc StartFunction
+ I Module FvwmCommandS
"Exec" command forks a shell, you may run as many commands sequentially
in this shell as you want, like: Exec command1; command2; command3.
Regards,
Mikhael.
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Dec 11 2003 - 19:51:31 GMT