ttce2xdr(1M) ToolTalk Commands ttce2xdr(1M)NAMEttce2xdr - convert ToolTalk Classing Engine type tables to XDR format
SYNOPSISttce2xdr [-xn] -d user | system
ttce2xdr [-xn] -d network [OPENWINHOME-from [OPENWINHOME-to]]
ttce2xdr [-h]
ttce2xdr [-v]
DESCRIPTIONttce2xdr converts ToolTalk types stored in the Classing Engine data
base, used by ToolTalk in versions 1.0.x, to the XDR-format data base
used in version 1.1 and later. For user type data bases, this conver‐
sion is done automatically the first time a version 1.1 ttsession is
started for the user, so this command generally only needs to be used
by administrators updating types data bases common to systems or the
network.
The first format is used to convert user or system data bases for the
current user or current system. The second format is used to convert
the network-wide data base, and provides additional options allowing
types to be taken from one data base and stored into another.
OPTIONS-x Show the underlying commands executed by ttce2xdr.
-v Print version and exit.
-n Just show underlying commands that would be executed by
ttce2xdr.
-h Describe the options for ttce2xdr and exit.
-d Specify the data base to work on which should be one of user
(default), system, or network. The types are read from the
Classing Engine data base, which is:
user -- ~/.cetables/cetables
system -- /etc/cetables/cetables
network -- $OPENWINHOME/lib/cetables/cetables
The types are written to the XDR data base which is:
user -- ~/.tt/types.xdr
system -- /etc/tt/types.xdr
network -- $OPENWINHOME/etc/tt/types.xdr
If the network data base is specified, the optional arguments OPENWIN‐
HOME-from and OPENWINHOME-to may be specified. If neither is speci‐
fied, the current value of the environment variable OPENWINHOME is used
to locate the data bases to be read and written. If only OPENWINHOME-
from is specified, the data bases under the directory named by OPENWIN‐
HOME-from are read and written. If both are specified, the data base
under OPENWINHOME-from is read and the data base under OPENWINHOME-to
is written.
ENVIRONMENT
CEPATH In Classing Engine mode, tt_type_comp will use this variable for
its definition of where the databases are located. See
ce_db_build(1). OPENWINHOME Location of network data bases.
FILES
~/.tt/types.xdr User's ToolTalk XDR format types file
/etc/tt/types.xdr System ToolTalk XDR format types file
$OPENWINHOME/etc/tt/types.xdr
"Network-wide" ToolTalk XDR format types file
$OPENWINHOME/lib/cetables/cetables
Classing Engine database containing the ToolTalk
type definitions
SEE ALSOtt_type_comp(1), ttsession(1), ce_db_build(1), ce_db_merge(1)ToolTalk 1.3 1 March 1996 ttce2xdr(1M)