moss.modules
Class UConsole

java.lang.Object
  extended by moss.modules.UConsole
All Implemented Interfaces:
MUserProcess

public class UConsole
extends java.lang.Object
implements MUserProcess

This class provides a basic console interface to MOSS


Nested Class Summary
 class UConsole.Alias
          this class deals with aliases/hashes for commands
 class UConsole.JobInfo
          this class holds "jobs" information
 
Constructor Summary
UConsole()
           
 
Method Summary
 int main(java.lang.String[] argv, MEnv envp)
          process entry-point.
 void signal(int signo, java.lang.Object sigdata)
          signal handler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UConsole

public UConsole()
Method Detail

signal

public void signal(int signo,
                   java.lang.Object sigdata)
signal handler

Specified by:
signal in interface MUserProcess
Parameters:
signo - signal number
sigdata - signal-specific data

main

public int main(java.lang.String[] argv,
                MEnv envp)
process entry-point.

Specified by:
main in interface MUserProcess
Parameters:
argv - arguments
envp - environment
Returns:
exit-code (0 on success, 1 on failure)