I've hacked together a module that compliant Python scripts which use gtk
can import if they would like to run inside an existing interpreter instead
of inside a new one. For gtk apps especially, this saves an enormous amount
of RAM. The only (major) downside is that if you kill an application using
the Kill X Client menu item then it kills the whole process, NOT the X
window you selected - if the window you kill is part of a pylau'd script
then all the hosted applications die...
Pylau and updated versions of Foal, Notepaq, etc. which
use it are available from:
http://www.uk.research.att.com/~jnw/downloadables/foal_0.7_all.ipk,
http://www.uk.research.att.com/~jnw/downloadables/foal-xpm_0.6_all.ipk,
http://www.uk.research.att.com/~jnw/downloadables/gtview_0.2_all.ipk,
http://www.uk.research.att.com/~jnw/downloadables/notepaq_0.2_all.ipk,
http://www.uk.research.att.com/~jnw/downloadables/pytime_0.1_all.ipk,
http://www.uk.research.att.com/~jnw/downloadables/meminfo_0.1_all.ipk,
Pylau itself is at
http://www.uk.research.att.com/~jnw/downloadables/pylau_0.1_all.ipk, but all
of the above programs SHOULD work as normal scripts if pylau is not
installed.
(If I have time, I'll make the above set of packages into a proper
repository to make them easier to fetch.)
Cheers,
---
James "Wez" Weatherall
"The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK - Tel : 343000
Received on Thu Jul 12 09:30:41 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:27 EDT