Changeset 138


Ignore:
Timestamp:
10/14/02 23:38:32 (21 years ago)
Author:
piso
Message:

protected Shell(String shellCommand, Mode mode)

File:
1 edited

Legend:

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

    r125 r138  
    33 *
    44 * Copyright (C) 1998-2002 Peter Graves
    5  * $Id: Shell.java,v 1.8 2002-10-13 17:00:14 piso Exp $
     5 * $Id: Shell.java,v 1.9 2002-10-14 23:38:32 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    8484        if (shellCommand.indexOf("tcsh") >= 0)
    8585            promptIsStderr = false;
     86    }
     87   
     88    protected Shell(String shellCommand, Mode mode)
     89    {
     90        initializeUndo();
     91        type = TYPE_SHELL;
     92        this.shellCommand = shellCommand;
     93        this.mode = mode;
     94        formatter = mode.getFormatter(this);
     95        initializeHistory();
     96        setInitialized(true);
    8697    }
    8798
Note: See TracChangeset for help on using the changeset viewer.