public int getTerminalWidth() {
    if (terminal != null) {
      return terminal.getWidth();
    }

    Map<String, String> env = System.getenv();
    String columnsFromEnv = env.get("COLUMNS");
    if (columnsFromEnv != null) {
      return Integer.parseInt(columnsFromEnv);
    }

    return DEFAULT_WIDTH;
  }
Executes the given command string. We have over-ridden the behavior to extend the original
implementation to store the 'last command execution status'.

@param line command string to be executed
@return true if execution is successful; false otherwise
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/Gfsh.java