Re: FVWM: Arithmetics?

From: Felix E. Klee <felix.klee.fvwm_at_gmx.net>
Date: Tue, 22 Apr 2003 10:48:49 +0200

On Tuesday 22 April 2003 05:14, Mikhael Goikhman wrote:
> The function above only works in the current cvs, there was one problem.
> If you want to use this with 2.5.2+ versions instead of cvs, then the "."
> function above should be defined as the following instead:
>
> DestroyFunc .
> AddToFunc .
> + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>)

That's very nice. There are some problems though:
o Your command conflicts with preprocessing. However, this can probably be
   solved by using different quote characters for preprocessing or by
   turning off preprocessing. After all, with "." I can move most stuff that
   needs to be preprocessed into init functions.
o The following configuration fails silently (i.e. FvwmPager doesn't start
   and there is no error message):

   AddToFunc .
   + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>)
   
   AddToFunc StartFunction
   + I Module FvwmPerl
   + I . Module FvwmPager 0 %{ 5 }%

If the above problems can be eliminated I think it is a very good idea to
put this in the FAQ. Please add some example like the ones above. Also make
sure that people know that they have to start the FvwmPerl module:

    AddToFunc StartFunction
    + I Module FvwmPerl

Felix

-- 
To contact me personally don't reply but send email to 
  felix DOT klee AT inka DOT de
--
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 Tue Apr 22 2003 - 03:50:21 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST