| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 | # SOME DESCRIPTIVE TITLE# Copyright (C) YEAR Free Software Foundation, Inc.# This file is distributed under the same license as the PACKAGE package.# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.##, fuzzymsgid ""msgstr """Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2020-06-17 12:44+0800\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <LL@li.org>\n""Language: \n""MIME-Version: 1.0\n""Content-Type: text/plain; charset=UTF-8\n""Content-Transfer-Encoding: 8bit\n"#. type: Content of: <sect1><sect1info><address>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:14#, no-wrapmsgid "&readline-url;"msgstr ""#. type: Content of: <sect1><sect1info>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:12msgid """<productname>readline</productname> ""<productnumber>&readline-version;</productnumber> <placeholder ""type=\"address\" id=\"0\"/>"msgstr ""#. type: Content of: <sect1><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:17msgid "Readline-&readline-version;"msgstr ""#. type: Content of: <sect1><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:20msgid "Readline"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:26msgid """The Readline package is a set of libraries that offers command-line editing ""and history capabilities."msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:30msgid "&buildtime;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:31msgid "&diskspace;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:34msgid "&readline-fin-sbu;"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:35msgid "&readline-fin-du;"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:42msgid "Installation of Readline"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:44msgid """Reinstalling Readline will cause the old libraries to be moved to ""<libraryname>.old. While this is normally not a problem, in some cases ""it can trigger a linking bug in <command>ldconfig</command>. This can be ""avoided by issuing the following two seds:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:49#, no-wrapmsgid """<userinput remap=\"pre\">sed -i '/MV.*old/d' Makefile.in\n""sed -i '/{OLDSUFF}/c:' support/shlib-install</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:52msgid "Prepare Readline for compilation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:54#, no-wrapmsgid """<userinput remap=\"configure\">./configure --prefix=/usr    \\\n""            --disable-static \\\n""            --with-curses    \\\n""            --docdir=/usr/share/doc/readline-&readline-version;</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:60msgid "The meaning of the configure option:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:63msgid "<parameter>--with-curses\"</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:65msgid """This option tells Readline that it can find the termcap library functions in ""the curses library, rather than a separate termcap library. It allows ""generating a correct <filename>readline.pc</filename> file."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:74msgid "Compile the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:76#, no-wrapmsgid "<userinput remap=\"make\">make SHLIB_LIBS=\"-lncursesw\"</userinput>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:79msgid "The meaning of the make option:"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:82msgid "<parameter>SHLIB_LIBS=\"-lncursesw\"</parameter>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:84msgid """This option forces Readline to link against the <filename ""class=\"libraryfile\">libncursesw</filename> library."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:91msgid "This package does not come with a test suite."msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:93msgid "Install the package:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:95#, no-wrapmsgid """<userinput remap=\"install\">make SHLIB_LIBS=\"-lncursesw\" ""install</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:97msgid """Now move the dynamic libraries to a more appropriate location and fix up ""some permissions and symbolic links:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:100#, no-wrapmsgid """<userinput remap=\"install\">mv -v /usr/lib/lib{readline,history}.so.* ""/lib\n""chmod -v u+w /lib/lib{readline,history}.so.*\n""ln -sfv ../../lib/$(readlink /usr/lib/libreadline.so) ""/usr/lib/libreadline.so\n""ln -sfv ../../lib/$(readlink /usr/lib/libhistory.so ) ""/usr/lib/libhistory.so</userinput>"msgstr ""#. type: Content of: <sect1><sect2><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:105msgid "If desired, install the documentation:"msgstr ""#. type: Content of: <sect1><sect2><screen>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:107#, no-wrapmsgid """<userinput remap=\"install\">install -v -m644 doc/*.{ps,pdf,html,dvi} ""/usr/share/doc/readline-&readline-version;</userinput>"msgstr ""#. type: Content of: <sect1><sect2><title>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:112msgid "Contents of Readline"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:115msgid "Installed libraries"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><segtitle>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:116msgid "Installed directories"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:119msgid "libhistory.so and libreadline.so"msgstr ""#. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:120msgid "/usr/include/readline and /usr/share/doc/readline-&readline-version;"msgstr ""#. type: Content of: <sect1><sect2><variablelist><bridgehead>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:126msgid "Short Descriptions"msgstr ""#. type: Content of: <sect1><sect2><variablelist>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:127msgid "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:131msgid "<filename class=\"libraryfile\">libhistory</filename>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:133msgid "Provides a consistent user interface for recalling lines of history"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:136msgid "libhistory"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><term>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:142msgid "<filename class=\"libraryfile\">libreadline</filename>"msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:144msgid """Provides a set of commands for manipulating text entered in an interactive ""session of a program."msgstr ""#. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary>#: /home/xry111/svn-repos/LFS-BOOK/chapter08/readline.xml:147msgid "libreadline"msgstr ""
 |