Subject: Re: Java exec recognition
To: None <current-users@NetBSD.ORG>
From: Ty Sarna <email@example.com>
Date: 11/01/1997 01:04:25
In article <Pine.NEB.3.96.971031131000.17121Bfirstname.lastname@example.org> you write:
> A Java recognition module for the exec() family.
> While plowing through the (sad to say it, but disorganized) Linux kernel, I
> did notice that it has a stub routine capable of recognizing Java classes
> and running a Java interpreter when a class is encountered. This seems like
> an utterly trivial thing to add;, with only two sysctl configurable options
> needed (pathname of Java interpreter and of Applet viewer). Opinions?
I like the idea of an LKM for this. There's no reason it needs to be
there at boot time, and it should be doable as a LKM without too much
difficulty. Along similar lines, I always thought it'd be neat to have
similar functionality for DOS executables with doscmd -- just run
command.com or myprog.exe or whatever right at the shell. Even call DOS
apps from scripts, etc. I think one of the DOS-under-Unixes for SCO or
Xenix did this, but I never saw it myself.
Maybe what's needed is a generic run-this-program-on-files-with-