// Path: src/us/pfrommer/insteon/terminal/console/Console.java
// public interface Console {
// 	public String readLine() throws IOException;
// 	public String readLine(String prompt) throws IOException;
// 	
// 	public void addConsoleListener(ConsoleListener l);
// 	public void removeConsoleListener(ConsoleListener l);
// 	
// 	public Reader in();
// 	public PrintStream out();
// 	public PrintStream err();
// 	
// 	public void clear();
// 	public void reset();
// }
// 
// Path: src/us/pfrommer/insteon/terminal/console/ConsoleListener.java
// public interface ConsoleListener {
// 	// callback for terminating the current running command
// 	public void terminate();
// }


import java.io.IOException;
import java.io.PrintStream;
import java.io.Reader;
import jline.ConsoleReader;
import jline.Terminal;
import us.pfrommer.insteon.terminal.console.Console;
import us.pfrommer.insteon.terminal.console.ConsoleListener;
	public PrintStream out() {
		return System.out;
	}

	@Override
	public PrintStream err() {
		return System.err;
	}

	@Override
	public String readLine() throws IOException {
		return m_reader.readLine();
	}
	
	@Override
	public String readLine(String prompt) throws IOException {
		return m_reader.readLine(prompt);
	}
	
	@Override
	public void clear() {
		
	}

	@Override
	public void reset() {
		
	}
	
	@Override
// Path: src/us/pfrommer/insteon/terminal/console/Console.java
// public interface Console {
// 	public String readLine() throws IOException;
// 	public String readLine(String prompt) throws IOException;
// 	
// 	public void addConsoleListener(ConsoleListener l);
// 	public void removeConsoleListener(ConsoleListener l);
// 	
// 	public Reader in();
// 	public PrintStream out();
// 	public PrintStream err();
// 	
// 	public void clear();
// 	public void reset();
// }
// 
// Path: src/us/pfrommer/insteon/terminal/console/ConsoleListener.java
// public interface ConsoleListener {
// 	// callback for terminating the current running command
// 	public void terminate();
// }


// Path: src/us/pfrommer/insteon/terminal/console/terminal/JLineTerminal.java
import java.io.IOException;
import java.io.PrintStream;
import java.io.Reader;
import jline.ConsoleReader;
import jline.Terminal;
import us.pfrommer.insteon.terminal.console.Console;
import us.pfrommer.insteon.terminal.console.ConsoleListener;

	public PrintStream out() {
		return System.out;
	}

	@Override
	public PrintStream err() {
		return System.err;
	}

	@Override
	public String readLine() throws IOException {
		return m_reader.readLine();
	}
	
	@Override
	public String readLine(String prompt) throws IOException {
		return m_reader.readLine(prompt);
	}
	
	@Override
	public void clear() {
		
	}

	@Override
	public void reset() {
		
	}
	
	@Override
	public void addConsoleListener(ConsoleListener l) {