This appendix describes how to migrate your existing ToolTalk-aware application from the CE database to the ToolTalk Types database.
ttce2xdr [ -xnh ] -d user
Table A-1 describes the options for the ttce2xdr script.
Table A-1 ttce2xdr Script Options
The types are read from the CE database
~/.cetables/cetables
and written to the new ToolTalk Types database
~/.tt/types.xdr
tt_type_comp -Epd system
No output is generated if there are no ToolTalk types in the system CE database.
To run the ttce2xdr script for the system CE database, enter the following commands on the command line:
ttce2xdr [ -xnh ] -d system
Table A-2 describes the options for the ttce2xdr script.
Table A-2 ttce2xdr Script Options
The types are read from the CE database
/etc/cetables/cetables
and written to the new ToolTalk Types database
/etc/tt/types.xdr
To convert a network-wide database, enter the following command on the command line:
ttce2xdr [ -xnh ] -d network [ OPENWINHOME-from [ OPENWINHOME-to ]]
Table A-3 describes the options for the ttce2xdr script.
Table A-3 ttce2xdr Script Options
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.