Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tt_type_comp(1)

ttsession(1)

ce_db_build(1)

ce_db_merge(1)

ttce2xdr.sh(1M)

NAME

ttce2xdr − convert ToolTalk Classing Engine type tables to XDR format

SYNOPSIS

ttce2xdr [-xnh] -d  user | system
ttce2xdr [-xnh] -d  network [OPENWINHOME-from[OPENWINHOME-to]]

DESCRIPTION

ttce2xdr 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 conversion 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.  −n Just show underlying commands that would be executed by ttce2xdr.  −h Describe the options for ttce2xdr. 

−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 and may be specified.  If neither is specified, 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 OPENWINHOME-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 ALSO

tt_type_comp(1), ttsession(1), ce_db_build(1), ce_db_merge(1)
 

SunOS 5.2  —  Last change: 1 October 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026