TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Tools > Shell

The Tools > Shell command opens a window containing a UNIX shell. The current directory in the UNIX shell is the same as the context from which you invoke Tools > Shell.

From within a window opened by Tools > Shell, you can enter Apex commands and read related manual pages. Many of these commands are described in the Command Reference.

To customize xterms created by Apex, you must modify the xterm clause in your $HOME/.Rational/execution file. In the simplest case, this clause has the following format:

Different options can be given to execution xterms and shell xterms. For example, to define colors for execution xterms:

The xterm options can also be conditional on the architecture. For example,

After making changes to the file, it must be reread by Apex for the new options to take effect.This can be done with the following command

Restarting the session will also cause Apex to reread the file.

There are several ways to change the default shell window type (xterm) launched by the Tools > Shell command.

  • Edit your /$HOME/.Rational/execution file

    You can also change the default shell window type by editing the above file. If it doesn't exist, simply create it. This option eliminates the problems associated with the use of "unmanaged".

    The xterm lines in this file have the format:

    The xterm line afftects the shell and I/O xterms created by Apex. The others affect only shell or I/O xterms from the Run command.

    To simply change the options for the default xterm, enter the options on the xterm line. For example,

    To change the default xterm type, enter the type followed by any desired options. Note that you also must include the -e option. For example,

    After editing the execution file, either restart Apex or execute the following command to activate the new settings:


  • Rational Software Corporation 
    http://www.rational.com
    support@rational.com
    techpubs@rational.com
    Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
    TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS