	/////////////   BeanSell Default Commands  \\\\\\\\\\\\\\\\\
	
	addClassPath( String path )
	
		Add the specified directory or JAR file to the class path.
		e.g.
	    		addClassPath( "/home/pat/java/classes" );
	    		addClassPath( "/home/pat/java/mystuff.jar" );
	    		addClassPath( new URL("http://myserver/~pat/somebeans.jar") );
	
	
	Thread bg( String filename ) 
	
		Source a command in its own thread in the caller's namespace
		
			This is like run() except that it runs the command in its own thread.  
			Returns the Thread object control.
			Thread bg( String filename )
			
	
	bind( bsh ths, NameSpace namespace )
	
		Bind a bsh object into a particular namespace and interpreter.
		
	
	browseClass( Object o ) 
	
		Open the class browser to view the specified class.  
		If the argument is a string it is considered to be a class name.  
		If the argument is an object, the class of the object is used.  
		If the arg is a class, the class is used.
		
		Note: To browse the String class you can't supply a String.
		You'd have to do:  browseClass( String.class );
		
		
	cat( String filename ) 
	
		Print the contents of filename, url, or stream (like Unix cat)
	
	
	cd( String pathname ) 	
		
		Change working directory for dir(), etc. commands (like Unix cd)
		
		
	classBrowser()
	
		Open the class browser.	
		
	
	clear()
	
		Clear all variables, methods, and imports from this namespace.
		If this namespace is the root, it will be reset to the default 
		imports.
		
		
	cp( String fromFile, String toFile ) 
		
		Copy a file fromFile toFile;
		
		
	debug()
	
		Toggle on and off debug mode. 
		Debug output is verbose and generally useful only for developers.
		
		
	desktop()
	
		Start the BeanShell GUI desktop in a JFrame.  A starter workspace is created
	 	and added to the desktop.
	 	
	 	
	String dirname( String pathname ) 
	
	
		Return directory portion of path based on the system default file separator.
		Note: you should probably use pathToFile() to localize the path relative
		to BeanShell's working directory and then file.getAbsolutePath() to get
		back to a system localized string.
	
		Example: to change to the directory that contains the script we're 
		currently executing:
	
		// Change to the directory containing this script
		path=pathToFile( getSourceFileInfo() ).getAbsolutePath();
		cd( dirname( path ) );
		
		
	editor()
	
		Open a GUI editor from the command line or in the GUI desktop mode.
		When run from the command line the editor is a simple standalone
		frame.  When run inside the GUI desktop it is a workspace editor.
		See workspaceEditor().
		
		
	error(Object o)	
	
		Print the item as an error.  
		In the GUI console the text will show up in (something like) red, 
		else it will be printed to standard error.
		
		
	evel(String expression)
	
		Evaluate the string in the current interpreter (see source()).
		Returns the result of the evaluation or null.
	
		Evaluate a string as if it were written directly in the current scope, 
		with side effects in the current scope.
		e.g.
	
	    		a=5;
			eval("b=a*2");
	    		print(b); // 10
	
		eval() acts just like invoked text except that any exceptions generated
		by the code are captured in a bsh.EvalError.  This includes ParseException
		for syntactic errors and TargetError for exceptions thrown by the evaluated
		code.
		e.g.
	   		try {
	        		eval("foo>>><>M>JK$LJLK$");
	    		} catch ( EvalError e ) {
	        		// ParseException caught here
	    		}
	
	   		 try {
	       		 	eval("(Integer)true");  // illegal cast
	    		} catch ( EvalError e ) {
	        		// TargetException caught here
	        		print( e.getTarget() )  // prints ClassCastException
	   	 	}
	
		If you want eval() to throw target exceptions directly, without wrapping
		them, you can simply redefine own eval like so:
	
	    		myEval( String expression ) {
	        		try {
	            			return eval( expression );
	        		} catch ( TargetError e ) {
	            			throw e.getTarget();
	        		}
			}
	
		Here is a cute example of how to use eval to implement a dynamic cast.  
		i.e. to cast a script to an arbitrary type by name at run-time where the
		type is not known when you are writing the script.  In this case the type
		is in the variable interfaceType.
	
	    		reference = eval( "("+interfaceType+")this" );
	
		Returns the value of the expression.
		Throws bsh.EvalError on error
		the value of the expression.
		bsh.EvalError on error
	
	
	exec( String arg ) 
	
		Start an external application using the Java Runtime exec() method.
		Display any output to the standard BeanShell output using print().
		
		
	exit()	
	
		Conditionally exit the virtual machine.
		Call System.exit(0) unless bsh.system.shutdownOnExit == false.	
		
		
	extend(bsh parent)	
			
			Return a new object that is a child of the specified object.
			Note: this command will likely change along with a better inheritance 
			mechanism for bsh in a future release.
			
			extend() is like the object() command, which
			creates a new bsh scripted object, except that the namespace of
			the new object is a child of the parent object. 
			
			For example:
	
	   	 		foo=object();
	    			bar=extend(foo);
	
	    		is equivalent to:
	      
	    			foo() { 
	        			bar() {
						return this; 
	        			}
	    			}
	
	    			foo=foo();
	   			bar=foo.bar();
	
	    		and also:
	     
	    			oo=object();
	    			ar=object();
	    			ar.namespace.bind( foo.namespace );
	    
			The last example above is exactly what the extend() command does.
			In each case the bar object inherits variables from foo in the usual way.
	
			method This extend( This object ).
	
	
	fontMenu(component)
	
			Creates a font menu for use with the workspace and workspace editors.	
			
	
	frame(Component object)	
	
			Show component in a frame, centered and packed, handling disposal with
			the close button.
			Display the component, centered and packed, in a Frame, JFrame, or 
			JInternalFrame.  Returns the frame.  If the GUI desktop is running then a 
			JInternaFrame will be used and automatically added to the desktop.  
			Otherwise if Swing is available a top level JFrame will be created.  
			Otherwise a plain AWT Frame will be created.	
			
	
	String getBshPrompt() 
	
			Get the value to display for the bsh interactive prompt.
			This command checks for the variable bsh.prompt and uses it if set.
			else returns "bsh % "
			Remember that you can override bsh commands simply by defining the method
			in your namespace. e.g. the following method displays the current working
			directory in your prompt:
	
				String getBshPrompt() {
					return bsh.cwd + " % ";
				}
	
