Re: FVWM: Re: New module suggestion

From: Barry A. Warsaw <bwarsaw_at_CNRI.Reston.VA.US>
Date: Mon, 19 Aug 1996 15:50:35 -0400

>>>>> "BM" == Brady Montz <bradym_at_cs.arizona.edu> writes:

    BM> I've been reading though the FvwmPython stuff, and it seems
    BM> like a good place to start. I was thinking though that given
    BM> python's capabilities, it might be logical to turn the
    BM> FvwmPython code (can't really call it a module I guess), into
    BM> a sort of Python module server, so you could have multiple
    BM> python modules runnning, with FvwmPython controlling all of
    BM> them.

    BM> Also (this might not go over too well I imagine), python's
    BM> ability to be embedded into a C program offers interesting
    BM> possibilities. Last year there was some discussion on this
    BM> list about whether it would be beneficial to replace the
    BM> current message passing implementation of modules with dynamic
    BM> loading of module code into the running fvwm process. I think
    BM> it's still on the todo list as well. This might be a clean way
    BM> to do that.

I think you've been reading my mind! I'm glad my module [*] has
sparked these discussions because my free time is probably too limited
to explore a lot of these myself. Hopefully my module will provide a
good jumping off point...

On your first note, I'd thought about that in some detail, but haven't
put the fingers to the keyboard yet. I was thinking it would be
pretty cool to have a framework similar to Grail's where a naming
convention for SendToModule strings could trigger this long lived
FvwmPython module to import bits as needed, and could cache state,
etc. But then this led me (as it led you) to thinking about embedding
the interpreter in FVWM directly, a la Lele Gaifax's PyApache for
embedding Python into the Apache HTTP server (see
<http://www.python.org/python/Contributed.html>). The cool thing is
that this would almost instantly make FVWM ILU-aware and then you
could talk to FVWM through ILU interfaces. There's probably a lot of
cool things you could do here if you described the interface to FVWM
via ILU.

Well, food for thought anyway. I'm going to try to play with some of
these ideas when possible, but I encourage others to as well! And
please, I'd love to have feedback on Fvwm.py!

-Barry

[*] is it a Python-FVWM module, an FVWM-Python module, an FVWM module
Python module, or a Python module FVWM module??? :-)
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Aug 19 1996 - 15:03:33 BST

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