[plt-scheme] Make multiple attempts to open DrScheme join running process?

From: Todd O'Bryan (toddobryan at mac.com)
Date: Sun Feb 25 12:47:55 EST 2007

On Sun, 2007-02-25 at 08:41 -0600, Matthew Flatt wrote:
> At Sat, 24 Feb 2007 22:59:12 -0500, "Todd O'Bryan" wrote:
> > As I've mentioned before, I'm running DrScheme in a thin terminal lab
> > and have 30 students sharing one server. Students seem to be in the very
> > bad habit of double-clicking files to open them, not realizing that (I
> > think) this spawns a new DrScheme process and eats up lots of memory.
> > 
> > Is there any way to have subsequent calls to DrScheme (well, the
> > drscheme binary) check for a running version for the given user and open
> > a new tab with the file if there is one, or open a new instance if not.
> > 
> > A pointer to a command-line option or a manual entry to check is
> > sufficient, if there is one I didn't see in my cursory check.
> There's nothing already in place for X (unlike Windows or Mac OS X).
> Offhand, I don't know how double-clicking works these days in X, so
> I'll have to learn about when and how an application is supposed to
> find an existing instance of itself. I expect I can improve things
> after I become better informed, but only for future versions.
That would be great. I have a fairly *nix-savvy student, and I'll have
him check it out and see what he comes up with.


Posted on the users mailing list.