Opening the Tcl Command Interface

The Tcl command interface of a CMS Fiona application (CM, TE, or SES) can be accessed using a Tcl shell. A Tcl shell can be installed and opened on any computer, not only on the CMS server machine.

The standard CMS Fiona installation provides you with a script that opens the supplied server-side Tcl shell and executes the commands necessary to connect to the Tcl server.

In order to be able to successfully connect to the Tcl server, the respective application must be running. By default, you can log-in to the Content Manager using the credentials given on the welcome page that was displayed after the installation of CMS Fiona.

Proceed as follows to start the shell:

  1. Log in to the host computer if you have not already done so.

  2. Change to the directory into which the CMS application has been installed.

  3. Run the client script file.

  4. Enter the command
    connect host port
    where host is the name of the computer and port is the port number. Both specifications are installation-specific.

  5. If you are connecting to the Content Manager enter your login name and your password when you are prompted to do so.

After you have correctly entered all data, you will be connected with the server, and you can enter Tcl commands or run Tcl scripts.

The complete calling scheme is:

client [-f scriptPath ] [host [port [login [password ]]]]

The arguments have the following meaning:

  • scriptPath: The path to a Tcl script. This script is read and executed with the source command after the connection to the server has been established.
  • host: The name of the Tcl server.
  • port: The port at which the Tcl server can be reached.
  • login: The user’s login.
  • password: The user’s password.