Skip to content

Commit 44aa905

Browse files
committed
[reference/readline] sync with en
1 parent 366da3e commit 44aa905

File tree

7 files changed

+25
-86
lines changed

7 files changed

+25
-86
lines changed

reference/readline/book.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa -->
55

66
<book xml:id="book.readline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
77
<?phpdoc extension-membership="bundledexternal" ?>
8-
<title>Readline</title>
8+
<title>GNU Readline</title>
99
<titleabbrev>Readline</titleabbrev>
1010

1111
<!-- {{{ preface -->
1212
<preface xml:id="intro.readline">
1313
&reftitle.intro;
1414
<para>
15-
readline 関数群は、libedit ライブラリへの
15+
readline 関数群は、GNU Readline ライブラリへの
1616
インターフェイスを実装したものです。これらの関数は、コマンドラインの
1717
編集機能を提供します。一例をあげると、Bash において文字を挿入したり
1818
コマンド履歴を走査したりする際に、矢印キーを使用することを

reference/readline/configure.xml

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: hirokawa Status: ready -->
44
<section xml:id="readline.installation" xmlns="http://docbook.org/ns/docbook">
55
&reftitle.install;
66
<para>
77
この関数を使用するには、readline サポートを有効にして CGI 版または CLI 版の
88
PHP をコンパイルする必要があります。PHP の configure に
9-
<option role="configure">--with-readline[=DIR]</option> を指定する必要が
10-
あります。
9+
<option role="configure">--with-readline[=DIR]</option> を指定する必要があります。
10+
readline の代替となる libedit を使う場合は、PHP の configure に
11+
<option role="configure">--with-libedit[=DIR]</option> を指定する必要があります。
1112
</para>
1213
<para>
13-
Windowsでは、この拡張モジュールは PHP 7.1.0からデフォルトで利用可能です
14+
Windowsでは、この拡張モジュールは PHP 7.1.0 からデフォルトで利用可能です
1415
</para>
15-
<simplesect role="changelog">
16-
&reftitle.changelog;
17-
<para>
18-
<informaltable>
19-
<tgroup cols="2">
20-
<thead>
21-
<row>
22-
<entry>&Version;</entry>
23-
<entry>&Description;</entry>
24-
</row>
25-
</thead>
26-
<tbody>
27-
<row>
28-
<entry>8.4.0</entry>
29-
<entry>
30-
configure オプション
31-
<option role="configure">--with-libedit</option>
32-
は削除されました。
33-
<option role="configure">--with-readline</option>
34-
を使用してください。
35-
<option role="configure">--with-readline</option>
36-
オプションは、pkg-config の使用するため DIR 引数を受け入れず、
37-
libedit ライブラリをリンクするようになりました。
38-
libedit ライブラリは、GPL でない GNU Readline の代替です。
39-
</entry>
40-
</row>
41-
</tbody>
42-
</tgroup>
43-
</informaltable>
44-
</para>
45-
</simplesect>
4616
</section>
4717

4818
<!-- Keep this comment at the end of the file

reference/readline/constants.xml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: f8e440fe2967dfdc9018e3cff560d62d2f2ec678 Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: mumumu Status: ready -->
44
<appendix xml:id="readline.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
&reftitle.constants;
66
&extension.constants;
@@ -16,39 +16,9 @@
1616
現状 <literal>readline</literal> または <literal>libedit</literal>
1717
のいずれかです。
1818
</simpara>
19-
<simpara>
20-
PHP 8.4.0 で削除されました。
21-
</simpara>
2219
</listitem>
2320
</varlistentry>
2421
</variablelist>
25-
26-
<formalpara>
27-
&reftitle.changelog;
28-
<para>
29-
<informaltable>
30-
<tgroup cols="2">
31-
<thead>
32-
<row>
33-
<entry>&Version;</entry>
34-
<entry>&Description;</entry>
35-
</row>
36-
</thead>
37-
<tbody>
38-
<row>
39-
<entry>8.4.0</entry>
40-
<entry>
41-
<constant>READLINE_LIB</constant> は削除されました。
42-
readline サポートに使われるライブラリは
43-
<literal>readline</literal>
44-
または、<literal>libedit</literal> になります。
45-
</entry>
46-
</row>
47-
</tbody>
48-
</tgroup>
49-
</informaltable>
50-
</para>
51-
</formalpara>
5222
</appendix>
5323
<!-- Keep this comment at the end of the file
5424
Local variables:

reference/readline/functions/readline-add-history.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: cef062f45e1ba5691158b591381a9a9efc1e346d Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xml:id="function.readline-add-history" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>bool</type><methodname>readline_add_history</methodname>
14+
<type>true</type><methodname>readline_add_history</methodname>
1515
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
@@ -38,7 +38,7 @@
3838
<refsect1 role="returnvalues">
3939
&reftitle.returnvalues;
4040
<para>
41-
&return.success;
41+
&return.true.always;
4242
</para>
4343
</refsect1>
4444
</refentry>

reference/readline/functions/readline-callback-handler-install.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5106807f258ed4b465f89b9faf4375f628e02b98 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: takagi Status: ready -->
44
<refentry xml:id="function.readline-callback-handler-install" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>readline_callback_handler_install</refname>
@@ -13,7 +13,7 @@
1313
<refsect1 role="description">
1414
&reftitle.description;
1515
<methodsynopsis>
16-
<type>bool</type><methodname>readline_callback_handler_install</methodname>
16+
<type>true</type><methodname>readline_callback_handler_install</methodname>
1717
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1818
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1919
</methodsynopsis>
@@ -60,7 +60,7 @@
6060
<refsect1 role="returnvalues">
6161
&reftitle.returnvalues;
6262
<para>
63-
&return.success;
63+
&return.true.always;
6464
</para>
6565
</refsect1>
6666

@@ -122,7 +122,6 @@ echo "Prompting disabled. All done.\n";
122122
</refsect1>
123123

124124
</refentry>
125-
126125
<!-- Keep this comment at the end of the file
127126
Local variables:
128127
mode: sgml

reference/readline/functions/readline-clear-history.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5106807f258ed4b465f89b9faf4375f628e02b98 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 2ab6e3ff1677d26786a443fa370719bfb4eba9cb Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xml:id="function.readline-clear-history" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>bool</type><methodname>readline_clear_history</methodname>
14+
<type>true</type><methodname>readline_clear_history</methodname>
1515
<void/>
1616
</methodsynopsis>
1717
<para>
@@ -27,11 +27,10 @@
2727
<refsect1 role="returnvalues">
2828
&reftitle.returnvalues;
2929
<para>
30-
&return.success;
30+
&return.true.always;
3131
</para>
3232
</refsect1>
3333
</refentry>
34-
3534
<!-- Keep this comment at the end of the file
3635
Local variables:
3736
mode: sgml

reference/readline/setup.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: b9582e11e41e0d06e1bd4a499ce6db383692759b Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 51779f7c42f39934403805a42b83cef7126a5fc1 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa -->
55

66
<chapter xml:id="readline.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -10,13 +10,14 @@
1010
<section xml:id="readline.requirements">
1111
&reftitle.required;
1212
<para>
13-
readline 関数を使用するには、libedit ライブラリをインストールすることが
14-
必要です。libedit ライブラリは、
15-
<link xlink:href="&url.libedit;">&url.libedit;</link>
16-
からダウンロード可能で、BSD ライセンスで配布されています。
13+
readline 関数を使用するには、libreadline ライブラリをインストールすることが
14+
必要です。libreadline ライブラリは、
15+
GNU Readline プロジェクトのホームページ
16+
<link xlink:href="&url.readline;">&url.readline;</link> からダウンロード可能です。
17+
これは、Bash の作者 Chet Ramey がメンテナンスしています。
1718
</para>
1819
<para>
19-
この関数を libeditライブラリで使用することも可能です。これは
20+
この関数を libedit ライブラリで使用することも可能です。これは
2021
readline ライブラリの代替品で、非 GPL です。
2122
libeditライブラリは BSD ライセンスで配布され、
2223
<link xlink:href="&url.libedit;">&url.libedit;</link> から入手可能です。

0 commit comments

Comments
 (0)