Changeset 175


Ignore:
Timestamp:
10/24/02 17:33:53 (21 years ago)
Author:
piso
Message:

createLispShell(): set prompt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/LispShell.java

    r140 r175  
    33 *
    44 * Copyright (C) 2002 Peter Graves
    5  * $Id: LispShell.java,v 1.2 2002-10-14 23:43:18 piso Exp $
     5 * $Id: LispShell.java,v 1.3 2002-10-24 17:33:53 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2424public final class LispShell extends Shell
    2525{
     26    private static final String DEFAULT_PROMPT_PATTERN =
     27        "^[^>\\*\\]]*[>\\*\\]] *";
     28
    2629    private LispShell(String shellCommand)
    2730    {
     
    3336    {
    3437        LispShell shell = new LispShell(shellCommand);
     38        shell.setPromptRE(DEFAULT_PROMPT_PATTERN);
    3539        shell.startProcess();
    3640        if (shell.getProcess() == null) {
Note: See TracChangeset for help on using the changeset viewer.