FacetTerm  
 
FacetCorp
 

Starting with Alternate Windows


Note: This procedure was tested with FacetTerm 3.0.6 and the Bourne Shell. Other shells may require something different.

As FacetTerm starts, window sessions are activated in numerical order according to what's specified in the ".facet" file. The ".facet" file may be found in four different places and FacetTerm will use the first ".facet" file found. If your applications are not being activated in the windows as you expect them to be, FacetTerm may be using a different ".facet" file than the one you are counting on.

FacetTerm looks for the ".facet" file in these places in the following order:

  1. The directory in which FacetTerm was started,
  2. The directory specified by the $HOME environment variable,
  3. The /usr/facetterm directory,
  4. and finally, the /usr/facet directory.

The first ".facet" file found is the one FacetTerm uses when it starts.

After the opening banner page, FacetTerm will display Window #1, whether you have specified something to start there automatically or not. If you wish to open with a different window, the following trick in your ".facet" file will work. This example uses Window #2 as the opening window, to open with a different window, specify a different window number parameter for the fct_command utility.

In the ".facet" file, start your Window #1 application with a line similar to:

          #Window 1
          1 sh -c "fct_command 2; APP1"
and start the rest of your applications normally, with a line similar to:
          #Window 2
          2 APP2
where APP1 and APP2 are your respective applications with startup parameters.

A lot of good information and examples are in the comments found within the ".facet" file. Anyone configuring FacetTerm should scroll through it all at least once.