Changeset 125
- Timestamp:
- 10/13/02 17:02:48 (21 years ago)
- Location:
- trunk/j/src/org/armedbear/j
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/RemoteShell.java
r96 r125 3 3 * 4 4 * Copyright (C) 2000-2002 Peter Graves 5 * $Id: RemoteShell.java,v 1. 3 2002-10-11 13:58:54piso Exp $5 * $Id: RemoteShell.java,v 1.4 2002-10-13 17:02:48 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 54 54 } 55 55 56 pr ivatevoid startProcess()56 protected void startProcess() 57 57 { 58 58 Process process = null; -
trunk/j/src/org/armedbear/j/Shell.java
r118 r125 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: Shell.java,v 1. 7 2002-10-13 14:02:55piso Exp $5 * $Id: Shell.java,v 1.8 2002-10-13 17:00:14 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 37 37 public class Shell extends Buffer implements Constants 38 38 { 39 protected static final String JPTY_NOT_FOUND = 40 "Unable to start shell process (jpty not found in PATH)"; 41 39 42 private RE promptRE = new UncheckedRE(DEFAULT_SHELL_PROMPT_PATTERN); 40 43 … … 75 78 } 76 79 77 pr ivateShell(String shellCommand)80 protected Shell(String shellCommand) 78 81 { 79 82 this(); … … 122 125 protected void initializeHistory() 123 126 { 124 history = new History("shell.history" );127 history = new History("shell.history", 30); 125 128 } 126 129 … … 135 138 message = "Unable to start shell process \"" + shell.shellCommand + "\""; 136 139 else 137 message = "Unable to start shell process (jpty not found in PATH)";140 message = JPTY_NOT_FOUND; 138 141 MessageDialog.showMessageDialog(message, "Error"); 139 142 return null; … … 143 146 } 144 147 145 pr ivatevoid startProcess()148 protected void startProcess() 146 149 { 147 150 // Only set initialDir the first time we run, so that if we restart
Note: See TracChangeset
for help on using the changeset viewer.