Re: FVWM: Testing custom functions

From: Marcus Lundblad <ml_at_update.uu.se>
Date: Mon, 16 Feb 2004 19:29:08 +0100 (CET)

On Mon, 16 Feb 2004, Ryan Daly wrote:

> What's the best way to test the various lines of a function?
>
> Can I start something that will actually run my function and show me the
> results without actually needing to put it in my configuration (and
> therefore sometimes breaking my config...)?

You can use FvwmCommand.
For this to work you must start the module FvwmCommandS at startup.
Then you can issue Fvwm commands in a shell like this:

$ FvwmCommand "AddToFunc I do 1"
$ FvwmCommand "+ I do 2"

etc. like if it had been in config

//Marcus

>
> Thanks.
> --
> --
> 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.
>
--
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 Mon Feb 16 2004 - 12:31:48 GMT

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