private void launch() {

        printBanner();
        Scanner scanner = new Scanner(System.in);
        LinkTokenizer lt = new LinkTokenizer();

        try {
            while (isRunning) {
                out.print("\n ");
                if (username != null) {
                    out.print(username);
                }
                if (hostname != null) {
                    out.print("@" + hostname);
                }
                out.print(" >>> ");

                if (scanner.hasNextLine()) {
                    String line = scanner.nextLine().trim();
                    processArgs(lt.split(line, ' '));
                    //processArgs(line.split("\\s+"));
                } else {
                    break; // EOF
                }
            }
        } catch (Exception e) {
            System.err.println(e);
            e.printStackTrace();
        }

        scanner.close();
        shutdown();
    }