new EditEmu(argv.length > 1 ? new File(argv[1]) : null).run(new File(argv[0]));
}
private void run(File file) throws Exception {
SwingTextScreenConsoleManager cm = new SwingTextScreenConsoleManager();
final TextScreenConsole console = cm.createConsole(
null,
(ConsoleManager.CreateOptions.TEXT |
ConsoleManager.CreateOptions.NO_SYSTEM_OUT_ERR |
ConsoleManager.CreateOptions.NO_LINE_EDITTING));