Files
cdesktop/cde/doc/C/guides/man/man1_dt/create.sgm

130 lines
3.7 KiB
Plaintext

<!-- $XConsortium: create.sgm /main/4 1996/09/08 19:51:24 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<RefEntry Id="CDEMX.MAN9.rsml.1" Remap="">
<RefMeta>
<RefEntryTitle>dtcreate</RefEntryTitle>
<ManVolNum>user cmd</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Command>dtcreate</Command></RefName>
<RefPurpose>The CDE Action and Datatype creation client.
</RefPurpose>
</RefNameDiv>
<!--- -->
<!-- (c) Copyright 1993, 1994 Hewlett-Packard Company-->
<!-- (c) Copyright 1993, 1994 International Business Machines Corp.-->
<!-- (c) Copyright 1993, 1994 Sun Microsystems, Inc.-->
<!-- (c) Copyright 1993, 1994 Novell, Inc.-->
<!--- -->
<RefSynopsisDiv>
<CmdSynopsis>
<Command>dtcreate</Command>
<Arg Choice="opt"><Replaceable>&lt;filename></Replaceable></Arg>
</CmdSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The CreateAction client is used to create actions and datatypes to
integrate an application into the CDE.
CreateAction provides the most commonly needed functions including the
creation of actions for an application, creation of the associated
datatypes for the application's data files, and the ability to specify
the Open and Print actions for those datatypes. The output from this
tool is a actions and datatypes definition file placed within the
users $HOME/.dt/ types directory and an action file that is placed in
the users $HOME directory. CreateAction also provides the ability to
edit a action and datatypes definition file that was created using
this tool.
</Para>
<RefSect2>
<Title>KEY SUPPORTED TASKS</Title>
<ItemizedList>
<ListItem>
<Para>Creating of actions to represent applications, commands, shell scripts, etc.
</Para>
</ListItem>
<ListItem>
<Para>Creating of datatypes to represent an application's data files.
</Para>
</ListItem>
<ListItem>
<Para>Creating of the Open and Print actions for the datatypes.
</Para>
</ListItem>
<ListItem>
<Para>Creating of the actions and datatypes definition file within the
user's /HOME/.dt/types directory.
</Para>
</ListItem>
<ListItem>
<Para>Creating the action file within the user's home directory. This file
provides the ability for the icon to be visible within the CDE's managers such as the File Manager.
</Para>
</ListItem>
<ListItem>
<Para>Modifying of actions and datatypes definition files that were created
using this tool.
</Para>
</ListItem>
<ListItem>
<Para>Rereading of the action and datatype database so that the actions and
datatypes are available for immediate use.
</Para>
</ListItem>
</ItemizedList>
</RefSect2>
</RefSect1>
<RefSect1>
<Title>OPTIONS</Title>
<VariableList>
<VarListEntry>
<Term>&lt;filename></Term>
<ListItem>
<!-- ex-TP-->
<Para>Loads the
<Emphasis>&lt;filename></Emphasis> action and datatype definition file into CreateAction for modification.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Exit values are:
</Para>
<VariableList>
<VarListEntry>
<Term>0</Term>
<ListItem>
<Para>Successful completion.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>>0</Term>
<ListItem>
<Para>Error condition occurred.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>EXAMPLES</Title>
<RefSect2>
<Title>dtcreate MyAction.dt</Title>
<Para>dtcreate will load the MyAction.dt action and datatype definition file
and display using dtcreate's graphic user interface.
</Para>
</RefSect2>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->