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 fiuse this syntax for a C-shell:
fct_info not_a_window if ( $status == 0 ) then exec facetterm nonstop endifThis statement is commonly placed in a .login file.