📄 wtdoc.html
字号:
<a name="wtxClose"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxClose</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxClose</strong> - close a target server file</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxClose <i>fd</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The file descriptor <i>fd</i>, which was obtained by a call to wtxOpen, is closed. <p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_CLOSE" >WTX_CLOSE</a></b>, wtxtcl, wtxOpen, wtxVioCtl<hr><a name="wtxVioCtl"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxVioCtl</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxVioCtl</strong> - change the characteristics of a virtual I/O channel</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxVioCtl <i>channel</i> <i>VIO_CTL_REQUEST</i> <i>arg</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function issues a virtual I/O control request for the given <i>channel</i>.The only VIO control request supported is <b>WTX_CTL_VIO_REDIRECT</b>,which redirects output to the given file descriptor <i>arg</i>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_VIO_CTL" >WTX_VIO_CTL</a></b>, wtxtcl, wtxOpen, wtxVioWrite<hr><a name="wtxVioWrite"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxVioWrite</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxVioWrite</strong> - virtual I/O write</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxVioWrite <i>channel</i> [-string <i>string</i> | -memblk <i>blockId</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command writes data to a virtual I/O channel. The data can come from a supplied <i>string</i> or a memory block can be written to the VIO channel.<p></blockquote><h4>RETURNS</h4><blockquote><p>WTX Status.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_VIO_WRITE" >WTX_VIO_WRITE</a></b>, wtxtcl, wtxOpen<hr><a name="wtxVioFileList"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxVioFileList</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxVioFileList</strong> - list the files managed by the target server</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxVioFileList</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>A list of 7 elements is returned for each file managed by the target server.The elements are:<p><pre>filename file descriptor (as obtained by wtxOpen)VIO channel (-1 indicates that there is no redirection)file pointer (for internal use)file type (0 for files/sockets; 1 for pipes)mode (as supplied to wtxOpen)status (1 = open, 0 = closed)process id (for VIO consoles)</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_VIO_FILE_LIST" >WTX_VIO_FILE_LIST</a></b>, wtxtcl, wtxOpen<hr><a name="wtxConsoleCreate"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxConsoleCreate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxConsoleCreate</strong> - create a target server console window (UNIX only)</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxConsoleCreate <i>name</i> [<i>display</i>]</pre></blockquote><h4>UNIX HOSTS</h4><blockquote><p>This command creates an <b>xterm</b> console with the given name on the default X display (as known to the target server) or the given <i>display</i>if that is supplied. The <i>name</i> passed appears in the window managertitle bar. The number of buffered lines (default 88) can be changedby setting the environment variable <b>WTX_CONSOLE_LINES</b> to the number ofdesired buffered lines. Set this variable before launching the target server. <p></blockquote><h4>WINDOWS HOSTS</h4><blockquote><p>This request is not implemented on Windows. Windows allows only one virtualconsole and it must be started on the target server command line with the<b>-c</b> option.<p></blockquote><h4>RETURNS</h4><blockquote><p>For UNIX hosts, a Tcl list of the form:<p><pre>{<i>consoleName</i> <i>consoleDisplay</i> <i>consolePid</i> <i>fdIn</i> <i>fdOut</i>}</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_CONSOLE_CREATE" >WTX_CONSOLE_CREATE</a></b>, wtxtcl, wtxOpen, wtxVioCtl<hr><a name="wtxConsoleKill"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxConsoleKill</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxConsoleKill</strong> - kill a target server virtual I/O console (UNIX only)</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxConsoleKill <i>pid</i></pre></blockquote><h4>UNIX HOSTS</h4><blockquote><p>This function kills the <b>xterm</b> VIO console whose process ID is <i>pid</i>.<p></blockquote><h4>WINDOWS HOSTS</h4><blockquote><p>This request is not implemented on Windows. If issued, it returns anerror, but does not attempt to kill an existing console.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_CONSOLE_KILL" >WTX_CONSOLE_KILL</a></b>, wtxtcl, wtxConsoleCreate<hr><a name="wtxTsInfoGet"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxTsInfoGet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxTsInfoGet</strong> - get information about the target server</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxTsInfoGet</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function returns a structure containing information about the target server.<p></blockquote><h4>RETURNS</h4><blockquote><p>A nested list of data. The structure of the list is given below. Fora description of the fields and their values, see <b><a href="../wtxpcl/wtx.html#WTX_TS_INFO_GET" >WTX_TS_INFO_GET</a></b>.<p><pre> 0 tgtLinkDesc.name 1 1.0 tgtLinkDesc.type 1.2 tgtLinkDesc.speed 2 2.0 tgtInfo.rtInfo.cpuType 2.1 tgtInfo.rtInfo.hasFpp 2.2 tgtInfo.rtInfo.hasWriteProtect 2.3 tgtInfo.rtInfo.pageSize 2.4 tgtInfo.rtInfo.endian 3 3.0 tgtInfo.rtInfo.rtType 3.1 tgtInfo.rtInfo.rtVersion 4 tgtInfo.rtInfo.bspName 5 tgtInfo.rtInfo.bootline 6 6.0 tgtInfo.rtInfo.memBase 6.1 tgtInfo.rtInfo.memSize 7 7.0 tgtInfo.rtInfo.hostPoolBase 7.1 tgtInfo.rtInfo.hostPoolSize 8 userName 9 startTime 10 accessTime 11 lockMsg 12 pReserved 13 Target Server version 14 Agent version 15 15.0 pTool->toolId 15.1 pTool->toolName 15.2 pTool->toolArgv 15.3 pTool->toolVersion 15.4 pTool->userName</pre></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_TS_INFO_GET" >WTX_TS_INFO_GET</a></b>, wtxtcl, wtxToolAttach<hr><a name="wtxTsVersionGet"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxTsVersionGet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxTsVersionGet</strong> - return Tornado version</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxTsVersionGet</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This function gets a string representing the Tornado version.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, wtxtcl, wtxTsInfoGet<hr><a name="wtxTsLock"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxTsLock</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxTsLock</strong> - lock the target server</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxTsLock [<i>seconds</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The target server is locked to the invoking user's user ID. Other usersattempting to communicate with the target server will be rejected.If <i>seconds</i> is used, then the target server will be locked only for<i>seconds</i> seconds, otherwise, it will be locked indefinitely.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_TS_LOCK" >WTX_TS_LOCK</a></b>, wtxtcl, wtxTsUnlock<hr><a name="wtxTsUnlock"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxTsUnlock</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxTsUnlock</strong> - unlock target server</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>wtxTsUnlock</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The target server is unlocked. After this, other users may attach toolsto the target server.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wtdoc.html#top">wtxtcl Library Part I</a></b>, <b><a href="../wtxpcl/wtx.html#WTX_TS_UNLOCK" >WTX_TS_UNLOCK</a></b>, wtxtcl, wtxTsLock<hr><a name="wtxMemInfoGet"></a><p align=right><a href="rtnIndex.html"><i>WTX Tcl Library : Tcl Procedures</i></a></p></blockquote><h1>wtxMemInfoGet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>wtxMemInfoGet</strong> - return information about the agent pool</p><p></blockquote><h4>LOCALE</h4><blockquote><p>WTX Tcl<p></blockquote><h4>SYNOPSIS</h4><bloc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -