Changeset 182


Ignore:
Timestamp:
10/26/02 16:44:58 (20 years ago)
Author:
piso
Message:

CLISP_PROMPT_PATTERN

File:
1 edited

Legend:

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

    r176 r182  
    33 *
    44 * Copyright (C) 2002 Peter Graves
    5  * $Id: LispShell.java,v 1.4 2002-10-24 19:40:55 piso Exp $
     5 * $Id: LispShell.java,v 1.5 2002-10-26 16:44:58 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    2626    private static final String DEFAULT_PROMPT_PATTERN =
    2727        "^[^>\\*\\]]*[>\\*\\]] *";
     28
     29    private static final String CLISP_PROMPT_PATTERN =
     30        "^[^>\\*\\]]*\\[[0-9+]\\]> ";
    2831
    2932    private static final String CMUCL_PROMPT_PATTERN =
     
    5053            return null;
    5154        }
    52         if (shellCommand.equals("/usr/bin/lisp"))
     55        if (shellCommand.equals("clisp") || shellCommand.equals("/usr/bin/clisp"))
     56            shell.setPromptRE(CLISP_PROMPT_PATTERN);
     57        else if (shellCommand.equals("/usr/bin/lisp"))
    5358            shell.setPromptRE(CMUCL_PROMPT_PATTERN);
    5459        else
Note: See TracChangeset for help on using the changeset viewer.