
Tiny toy minishell.

+ Caveat: Uses reflection to run an app's main function, waits for it to 
  return.  It does *nothing* else with that app.  If an apps calls 
  System.exit(), the shell exits.  This means you can't run the javac 
  compiler.

+ Should run with Kaffe & Sun's JVM.

+ Supports rudimentary forms of a few commands.

+ Rebuild with "javac minishell/*.java bin/*.java"

+ Starts with "java minishell.Shell"

+ There's a minishell.rc that puts . and bin in your classpath.
  setenv java.class.path sets the classpath.

+ Try 'source debug'

+ This is unsupported.

+ bin/wc is broken with kaffe (this is being worked on.)

+ For example:

    > java minishell.Shell

    Welcome to Java on the OSKit

    The following csh commands are supported:

    exit, set, source, alias, unalias, env, setenv, unsetenv,
    shutdown, share, private

    jsh> echo Java on the OSKit
    Java on the OSKit
    jsh> cat echo.java
    /**
     * /bin/echo
     * 
     * @author Godmar Back <gback@cs.utah.edu>
     */
    public class echo {
	public static void main(String av[]) {
	    for (int i = 0; i < av.length; i++) {
		System.out.print(av[i] + (i < av.length - 1 ? ' ' : '\n'));
	    }
	    System.out.flush();
	}
    }
    jsh> exit

Enjoy.

