Determines if scilab is launched from a ms terminal service session (Windows only)
istssession()
tf =istssession() returns boolean (%t) if scilab is launched from a ms terminal service session and boolean (%f) otherwise.
if getos() == 'Windows' then if istssession() then disp('Scilab from a ms terminal service session.'); else disp('Scilab standard session.'); end end