mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
144 lines
3.9 KiB
XML
144 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: ca6054f609661c9d0513aad1e7db1d8fdf33bed8 Maintainer: leonardolara Status: ready --><!-- CREDITS: fernandowobeto, leonardolara -->
|
|
<section xmlns="http://docbook.org/ns/docbook" xml:id="expect.configuration">
|
|
&reftitle.runtime;
|
|
&extension.runtime;
|
|
<para>
|
|
Para configurar a extensão expect, existem opções de configuração
|
|
no <link linkend="configuration.file">arquivo de configuração</link> &php.ini;.
|
|
<table>
|
|
<title>&ConfigureOptions; de Expect</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/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.expect.loguser">expect.loguser</link></entry>
|
|
<entry>"1"</entry>
|
|
<entry><constant>INI_ALL</constant></entry>
|
|
<entry/>
|
|
</row>
|
|
<row>
|
|
<entry><link linkend="ini.expect.logfile">expect.logfile</link></entry>
|
|
<entry>""</entry>
|
|
<entry><constant>INI_ALL</constant></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/>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
&ini.php.constants;
|
|
</para>
|
|
|
|
&ini.descriptions.title;
|
|
|
|
<variablelist>
|
|
<varlistentry xml:id="ini.expect.timeout">
|
|
<term>
|
|
<parameter>expect.timeout</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Tempo limite para espera pelos dados, ao usar a
|
|
função <function>expect_expectl</function>.
|
|
</simpara>
|
|
<simpara>
|
|
Um valor "-1" desativa a ocorrência de um tempo limite.
|
|
</simpara>
|
|
<note>
|
|
<simpara>
|
|
Um valor "0" faz com que a função <function>expect_expectl</function>
|
|
retorne imediatamente.
|
|
</simpara>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.loguser">
|
|
<term>
|
|
<parameter>expect.loguser</parameter>
|
|
<type>bool</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Informa se Expect deve enviar qualquer saída gerada pelo processo para stdout.
|
|
Como os programas interativos normalmente refletem suas informações, isso geralmente é suficiente
|
|
para mostrar os dois lados da conversa.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.logfile">
|
|
<term>
|
|
<parameter>expect.logfile</parameter>
|
|
<type>string</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Nome do arquivo onde será gravada a saída do processo gerado.
|
|
Se este arquivo não existir, ele será criado.
|
|
</simpara>
|
|
<note>
|
|
<simpara>
|
|
Se esta configuração não estiver vazia, a saída será escrita independentemente do
|
|
valor de <link linkend="ini.expect.loguser">expect.loguser</link>.
|
|
</simpara>
|
|
</note>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="ini.expect.match-max">
|
|
<term>
|
|
<parameter>expect.match_max</parameter>
|
|
<type>int</type>
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Altera o tamanho padrão (2000 bytes) do buffer usado para corresponder aos asteriscos
|
|
nos padrões.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</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
|
|
-->
|