1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-26 08:02:15 +01:00
Files
archived-doc-ja/reference/expect/ini.xml
2025-09-07 16:53:35 +09:00

150 lines
4.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 373591548f2bb7cc35e46242ea4faa0adcf7febc Maintainer: takagi Status: ready -->
<section xml:id="expect.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
expect 拡張モジュールを設定するために、
<link linkend="configuration.file">設定ファイル</link> &php.ini;
設定項目が用意されています。
<table>
<title>Expect &ConfigureOptions;</title>
<tgroup cols="4">
<thead>
<row>
<entry>&Name;</entry>
<entry>&Default;</entry>
<entry>&Changeable;</entry>
<entry>&Changelog;</entry>
</row>
</thead>
<tbody xml:id="expect.configuration.list">
<row>
<entry><link linkend="ini.expect.timeout">expect.timeout</link></entry>
<entry>"10"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.expect.loguser">expect.loguser</link></entry>
<entry>"1"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.expect.logfile">expect.logfile</link></entry>
<entry>""</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.expect.match-max">expect.match_max</link></entry>
<entry>""</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.expect.timeout">
<term>
<parameter>expect.timeout</parameter>
<type>int</type>
</term>
<listitem>
<para>
データを待ち受ける際のタイムアウト時間です。
<function>expect_expectl</function> 関数で使用されます。
</para>
<para>
"-1" を指定すると、タイムアウトを発生させないようにします。
</para>
<note>
<para>
"0" を指定すると、<function>expect_expectl</function> 関数は
結果を直ちに返します。
</para>
</note>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.expect.loguser">
<term>
<parameter>expect.loguser</parameter>
<type>bool</type>
</term>
<listitem>
<para>
expect が、子プロセスの出力を標準出力に送るかどうかを指定します。
典型的な対話型プログラムは入力した内容を表示するので、これを使用すれば
対話の両方の側を表示することができます。
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.expect.logfile">
<term>
<parameter>expect.logfile</parameter>
<type>string</type>
</term>
<listitem>
<para>
子プロセスの出力内容が書き込まれるファイルの名前。もしファイルが
存在しない場合は新しく作成されます。
</para>
<note>
<para>
この設置が空欄でなかった場合、
<link linkend="ini.expect.loguser">expect.loguser</link> の設定内容に
かかわらず出力が書き込まれます。
</para>
</note>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.expect.match-max">
<term>
<parameter>expect.match_max</parameter>
<type>int</type>
</term>
<listitem>
<para>
パターン内のアスタリスクとのマッチに使うバッファのデフォルトサイズ
(2000 バイト) を変更します。
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->