uTools-Manuals/docs/php/ncurses_def_shell_mode.html
2019-04-28 19:00:34 +08:00

45 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Saves terminals (shell) mode</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.ncurses-def-shell-mode" class="refentry">
<div class="refnamediv">
<h1 class="refname">ncurses_def_shell_mode</h1>
<p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5 &lt; 5.3.0, PECL ncurses &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_def_shell_mode</span> &mdash; <span class="dc-title">Saves terminals (shell) mode</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ncurses-def-shell-mode-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ncurses_def_shell_mode</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">bool</span></div>
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象,包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
<p class="para">
Saves the current terminal modes for shell (not in curses) for use by
<span class="function"><a href="ncurses_reset_shell_mode.html" class="function">ncurses_reset_shell_mode()</a></span>.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ncurses-def-shell-mode-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns <strong><code>FALSE</code></strong> on success, <strong><code>TRUE</code></strong> otherwise.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.ncurses-def-shell-mode-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="ncurses_reset_shell_mode.html" class="function" rel="rdfs-seeAlso">ncurses_reset_shell_mode()</a> - Resets the shell mode saved by def_shell_mode</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>