Skip past navigation linksSecure Global Desktop Administration Guide > Commands > The tarantella Tcl command

The tarantella Tcl command

Syntax

Skip past command syntax or program codetarantella
 [ -hostname app_server ] 
 [ -middleTierUser username ]
 [ -nobackground ] 
 [ -nosocket ] 
 [ -portnumber num ] 
 [ -socket open_socket ]  

Description

The login scripts supplied with Secure Global Desktop mainly use Expect for communication with the application server. However, they also use the tarantella Tcl command.

The tarantella command connects to the application server instead of Expect and provides greater control over the connection.

You can use the tarantella Tcl command in your own login scripts. The options that can be used are listed below.

Note If invoked, it is the tarantella command and not Expect that makes the connection to the application server. You should ensure that the tarantella command can only be called once in your scripts. Some options are mutually exclusive. For example, you cannot override the hostname if you've provided a socket connection.

Argument Description
-nobackground Specifies that the application server can't run additional commands on the same connection.
-nosocket Specifies that the application is to be started by some other means, which must be implemented by whoever is creating the script (perhaps by using Expect's spawn command). This can only be done with applications that don't require a permanent connection, such as X applications. This command may prove useful if you have an unusual application server, or if you need to integrate with an existing launch mechanism.
-portnumber num Overrides the port used to make the connection to the application server. If you use this option, you must execute the tarantella command before the first expect command. If you don't, the expect command will be ignored.
-socket open_socket Makes a connection to the application server using the specified open socket.
-middleTierUser username Overrides the Secure Global Desktop username used in protocol negotiations.
-hostname app_server Specifies the application server to connect to, overriding the script's TTA_HOSTNAME variable.

Examples

Skip past command syntax or program codetarantella -portnumber 5999

Connect to the application server on TCP port 5999.

Related topics