CYANA Macro: initsafe: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
== Parameters ==
== Parameters ==


Line 6: Line 5:
== Description ==
== Description ==


Contains commands that are executed automatically at the start-up time of CYANA, e.g. the setting of important variables and the definition of some aliases. After the general '''init''' macro, a user-defined '''init''' macro in the current directory is executed, if available.
Startup macro for "safe" mode. This macro is executed before any other initialization macros when the program is started with the '''-S''' option.  In safe mode, the program can access only standard macros and residue libraries, and files in the current working directory and its subdirectories. Access to other directories and the execution of shell commands with the '''system''' command are forbidden.

Latest revision as of 17:59, 12 January 2010

Parameters

(none)

Description

Startup macro for "safe" mode. This macro is executed before any other initialization macros when the program is started with the -S option. In safe mode, the program can access only standard macros and residue libraries, and files in the current working directory and its subdirectories. Access to other directories and the execution of shell commands with the system command are forbidden.