JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
ToolTalk User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introducing the ToolTalk Service

2.  An Overview of the ToolTalk Service

3.  Message Patterns

4.  Setting Up and Maintaining the ToolTalk Processes

5.  Maintaining Application Information

6.  Maintaining Files and Objects Referenced in ToolTalk Messages

7.  Participating in ToolTalk Sessions

8.  Sending Messages

9.  Dynamic Message Patterns

10.  Static Message Patterns

11.  Receiving Messages

12.  Objects

13.  Managing Information Storage

14.  Handling Errors

A.  Migrating from the Classing Engine to the ToolTalk Types Database

The ttce2xdr Script

Converting the User Database

Converting the System Database

Converting the Network Database

B.  A Simple Demonstration of How the ToolTalk Service Works

C.  The ToolTalk Standard Message Sets

D.  Frequently Asked Questions

Glossary

Index

Converting the Network Database

A network CE database is the per-OW-installation database. You need to convert each network CE database that has ToolTalk types other than those shipped with the OpenWindows Version 3 product.


Note - You must be logged in as root to run the ttce2xdr script for the network CE databases.


To convert a network-wide database, enter the following command on the command line:

ttce2xdr [ -xnh ] -d  network [ OPENWINHOME-from [ OPENWINHOME-to ]]

describes the options for the ttce2xdr script.

Table A-3 ttce2xdr Script Options

Option
Description
-x
Displays the underlying commands executed by ttce2xdr.
-n
Displays the underlying commands that ttce2xdr can execute.
-h
Describes the options for ttce2xdr.
-d
Specifies the database to be converted: user, system, or network.
OPENWINHOME-from
Reads the types from the databases under this directory. If OPENWINHOME-to is set, the types are written to the databases under that specified directory; otherwise, the current value of the environment variable OPENWINHOME is used to locate the databases to which the types are written.
OPENWINHOME-to
Writes the types to the databases under this directory. If OPENWINHOME-from is set, the types are read from the databases under that specified directory; otherwise, the current value of the environment variable OPENWINHOME is used to locate the databases from which the types are read.

The types are read from the CE database

    $OPENWINHOME/lib/cetables/cetables

and written to the new ToolTalk Types database

    $OPENWINHOME/etc/tt/types.xdr

To move ToolTalk types other than the ones shipped with the OpenWindows Version 3 product from the network CE database to the network XDR database, enter the following command on the command line:

ttce2xdr -d network old_OPENWINHOME new_OPENWINHOME 

where old_OPENWINHOME is the OpenWindow installation that holds the old network CE database and new_OPENWINHOME is the OpenWindow installation in which to update the ToolTalk XDR database.