[Idle-dev] Remote execution for IDLE

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Tue, 14 Mar 2000 02:58:18 +0200 (IST)


On Mon, 13 Mar 2000, David Scherer wrote:

> 5.  The need for a well-known socket for ExecBinding mandates that only one
> instance of IDLE can be running on the system.  Additional instances use a
> "netscape --remote"-like mechanism to pass their command-line parameters to
> the first instance, and then terminate.

Hmmmmmm....this bothers me. What about 10 Linux users running IDLE 
on a single machine through 10 X-Servers? Will they interfere with each
other?

Two solutions:

1. One IDLE per user: keep the portnumber in a file .idle-port in the
   user's home
2. One IDLE per X-Server: keep the portnumber in a property on the rot
   window.

Other then that, most of your changes look cool, and I'd love to see them
make their way into standard Python.

One question:
What protocol have you used for remote-method calls? A homebrew one, or
a well known one? Just idle curiousity.
--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com