Difference between revisions of "Configuration Files"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{YLM to do}}
+
Recital products can be configured using [[:Category:Environment Variables|Environment Variables]] and Recital [[:Category:Set_Commands|SET COMMANDS]].
 +
 
 +
The following configuration files are installed in the <path>/conf directory:
 +
 
 +
 
 +
==recital.conf==
 +
Environment variables that apply to all Recital products.
 +
 
 +
 
 +
==db.conf==
 +
Environment variables that apply to Recital Terminal Developer and supersede ones in recital.conf. If you are upgrading from an earlier version of Recital Terminal Developer which had custom settings in the profile.db file, these can be added here.
 +
 
 +
 
 +
==dbserver.conf==
 +
Environment variables that apply to the Recital Server (RDS/UAS) and supersede ones in recital.conf. If you are upgrading from an earlier version of the Recital Server which had custom settings in the profile.uas file, these can be added here.
 +
 
 +
 
 +
==config.db==
 +
SET COMMANDS that apply to all Recital products.  To allow different settings for the Recital Server ([[ISSERVER()]] = .T.) and Recital Terminal Developer ([[ISSERVER()]] = .F.), separate them in the IF block:
 +
 
 +
 
 +
<code lang="recital">
 +
if isserver()
 +
...
 +
else
 +
...
 +
endif
 +
</code>
 +
 
 +
If you are upgrading from an earlier version of Recital Terminal Developer or the Recital Server which had custom settings in their respective config.db files, these can be added here.
 +
 
 +
 
 +
==compat.db==
 +
[[SET FILETYPE]] and [[SET COMPATIBLE]] settings that apply to all Recital products. Similarly these can have different values for the Recital Server and Recital Terminal Developer if an '[[IF]] [[ISSERVER()]]; [[IF|ELSE]]; [[IF|ENDIF]]' block is used.  This combines the previous unixdeveloper/compat.db and uas/compat.db files.
 +
 
 +
 
 +
==Local configuration files==
 +
Recital Terminal Developer will also pick up the settings from files named config.db or profile.db in the session/application start directory.
 +
 
 +
[[Category:Documentation]]
 +
[[Category:Reference]]

Revision as of 16:35, 25 March 2009

Recital products can be configured using Environment Variables and Recital SET COMMANDS.

The following configuration files are installed in the <path>/conf directory:


recital.conf

Environment variables that apply to all Recital products.


db.conf

Environment variables that apply to Recital Terminal Developer and supersede ones in recital.conf. If you are upgrading from an earlier version of Recital Terminal Developer which had custom settings in the profile.db file, these can be added here.


dbserver.conf

Environment variables that apply to the Recital Server (RDS/UAS) and supersede ones in recital.conf. If you are upgrading from an earlier version of the Recital Server which had custom settings in the profile.uas file, these can be added here.


config.db

SET COMMANDS that apply to all Recital products. To allow different settings for the Recital Server (ISSERVER() = .T.) and Recital Terminal Developer (ISSERVER() = .F.), separate them in the IF block:


if isserver()
...
else
...
endif

If you are upgrading from an earlier version of Recital Terminal Developer or the Recital Server which had custom settings in their respective config.db files, these can be added here.


compat.db

SET FILETYPE and SET COMPATIBLE settings that apply to all Recital products. Similarly these can have different values for the Recital Server and Recital Terminal Developer if an 'IF ISSERVER(); ELSE; ENDIF' block is used. This combines the previous unixdeveloper/compat.db and uas/compat.db files.


Local configuration files

Recital Terminal Developer will also pick up the settings from files named config.db or profile.db in the session/application start directory.