Files
cdesktop/cde/doc/C/guides/man/m3_Dt/CreTerm.sgm

80 lines
3.4 KiB
Plaintext

<!-- $XConsortium: CreTerm.sgm /main/7 1996/10/08 19:58:01 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. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCSA.MAN12.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCSA.MAN12.rsml.1">]]>
<RefMeta>
<RefEntryTitle>DtCreateTerm</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>DtCreateTerm</Function></RefName>
<RefPurpose>create a DtTerm widget
</RefPurpose>
</RefNameDiv>
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- *************************************************************************-->
<!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<!-- *************************************************************************-->
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Dt/Term.h>
</FuncSynopsisInfo>
<FuncDef>Widget <Function>DtCreateTerm</Function></FuncDef>
<ParamDef>Widget <Parameter>parent</Parameter></ParamDef>
<ParamDef>String <Parameter>name</Parameter></ParamDef>
<ParamDef>ArgList <Parameter>arglist</Parameter></ParamDef>
<ParamDef>Cardinal <Parameter>argcount</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Function>DtCreateTerm</Function> function creates a terminal emulator widget hierarchy.
</Para>
<Para>The
<Symbol Role="Variable">parent</Symbol> argument specifies the parent widget ID.
</Para>
<Para>The
<Symbol Role="Variable">name</Symbol> argument specifies the name of the created widget.
</Para>
<Para>The
<Symbol Role="Variable">arglist</Symbol> argument specifies the argument list.
</Para>
<Para>The
<Symbol Role="Variable">argcount</Symbol> argument specifies the number of attribute and value
pairs in the argument list
(<Symbol Role="Variable">arglist</Symbol>).
<![ %CDE.C.CDE; [</Para>
<Para>The DtTerm widget provides the core set of functionality needed to
emulate an <Literal>ANSI X3.64-1979</Literal>- and <Literal>ISO 6429:1992(E)</Literal>-style terminal,
such as the DEC VT220.
This functionality includes text rendering, scrolling, margin and tab support,
escape sequence parsing and the low-level OS-specific interface required to
allocate and configure a
<Literal>pty</Literal> or STREAMS pseudo-terminal device and write the system's
<Literal>utmp</Literal> device.
]]></Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>Upon successful completion, the
<Function>DtCreateTerm</Function> function returns the DtTerm widget ID.
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.dtterm;, <![ %CDE.C.CDE; [&cdeman.dttermesc;, <Filename MoreInfo="RefEntry">pty</Filename>(7), ]]><![ %CDE.C.XO; [<XRef Linkend="XCSA.M5DTT.anch.1" Role="2">; ]]>&cdeman.Dt.Term.h;, &cdeman.DtTerm;, &cdeman.DtTermInitialize;, &cdeman.DtTermDisplaySend;, &cdeman.DtTermSubprocSend;, &cdeman.DtTermSubprocReap;.</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:40:24-->