FacetTerm  
 
FacetCorp
 

Interfacing with the C-Shell


Normally, the "if" statement syntax listed in the FacetTerm manual under "FacetTerm and .profiles" works fine for Bourne shells and Korn shells. But, when you are using the C-shell, the syntax for the "if" statement needs to be modified.

Instead of using this statement:

     if fct_info not_a_window
     then
          exec facetterm nonstop
     fi
use this syntax for a C-shell:
     fct_info not_a_window

     if ( $status == 0 ) then
          exec facetterm nonstop
     endif
This statement is commonly placed in a .login file.