msgid "" msgstr "" "X-Pootle-Revision: 9999999\n" "X-Pootle-Path: /zh_CN/lfs/chapter08/expect.po\n" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-08-08 19:28+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 2.2.5\n" #. type: Content of:
#, no-wrap msgid "&expect-url;" msgstr "&expect-url;" #. type: Content of: msgid "" "expect &expect-version; " msgstr "" "expect &expect-version; " #. type: Content of: msgid "Expect-&expect-version;" msgstr "Expect-&expect-version;" #. type: Content of: <sect1><indexterm><primary> msgid "Expect" msgstr "Expect" #. type: Content of: <sect1><sect2><para> msgid "" "The <application>Expect</application> package contains tools for automating, " "via scripted dialogues, interactive applications such as <command>telnet</" "command>, <command>ftp</command>, <command>passwd</command>, <command>fsck</" "command>, <command>rlogin</command>, and <command>tip</command>. " "<application>Expect</application> is also useful for testing these same " "applications as well as easing all sorts of tasks that are prohibitively " "difficult with anything else. The <application>DejaGnu</application> " "framework is written in <application>Expect</application>." msgstr "" "<application>Expect</application> 软件包包含通过脚本控制的对话,自动化 " "<command>telnet</command>,<command>ftp</command>,<command>passwd</" "command>,<command>fsck</command>,<command>rlogin</command>,以及 " "<command>tip</command> 等交互应用的工具。<application>Expect</application> 对" "于测试这类程序也很有用,它简化了这类通过其他方式很难完成的工作。" "<application>DejaGnu</application> 框架是使用 <application>Expect</" "application> 编写的。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&expect-tmp-sbu;" msgstr "&expect-tmp-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&expect-tmp-du;" msgstr "&expect-tmp-du;" #. type: Content of: <sect1><sect2><title> msgid "Installation of Expect" msgstr "安装 Expect" #. type: Content of: <sect1><sect2><para> msgid "Prepare Expect for compilation:" msgstr "准备编译 Expect:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --with-tcl=/usr/lib \\\n" " --enable-shared \\\n" " --mandir=/usr/share/man \\\n" " --with-tclinclude=/usr/include</userinput>" msgstr "" "<userinput remap=\"configure\">./configure --prefix=/usr \\\n" " --with-tcl=/usr/lib \\\n" " --enable-shared \\\n" " --mandir=/usr/share/man \\\n" " --with-tclinclude=/usr/include</userinput>" #. type: Content of: <sect1><sect2><variablelist><title> msgid "The meaning of the configure options:" msgstr "配置选项的含义:" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<parameter>--with-tcl=/usr/lib</parameter>" msgstr "<parameter>--with-tcl=/usr/lib</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "" "This parameter is needed to tell <command>configure</command> where the " "<command>tclConfig.sh</command> script is located." msgstr "" "需要使用该选项告知 <command>configure</command> 配置脚本 <command>tclConfig." "sh</command> 的位置。" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<parameter>--with-tclinclude=/usr/include</parameter>" msgstr "<parameter>--with-tclinclude=/usr/include</parameter>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "This explicitly tells Expect where to find Tcl's internal headers." msgstr "该选项显式指定查找 Tcl 内部头文件的位置。" #. type: Content of: <sect1><sect2><para> msgid "Build the package:" msgstr "构建该软件包:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "<userinput remap=\"make\">make</userinput>" #. type: Content of: <sect1><sect2><para> msgid "To test the results, issue:" msgstr "运行以下命令,以测试编译结果:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"test\">make test</userinput>" msgstr "<userinput remap=\"test\">make test</userinput>" #. type: Content of: <sect1><sect2><para> msgid "Install the package:" msgstr "安装该软件包:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "" "<userinput remap=\"install\">make install\n" "ln -svf expect&expect-version;/libexpect&expect-version;.so /usr/lib</userinput>" msgstr "" "<userinput remap=\"install\">make install\n" "ln -svf expect&expect-version;/libexpect&expect-version;.so /usr/lib</userinput>" #. type: Content of: <sect1><sect2><title> msgid "Contents of Expect" msgstr "Expect 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed program" msgstr "安装的程序" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed library" msgstr "安装的库" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "expect" msgstr "expect" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "libexpect-&expect-lib-version;.so" msgstr "libexpect-&expect-lib-version;.so" #. type: Content of: <sect1><sect2><variablelist><bridgehead> msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> msgid "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<command>expect</command>" msgstr "<command>expect</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "Communicates with other interactive programs according to a script" msgstr "根据一个脚本与其他交互程序交流" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "" "<filename class=\"libraryfile\">libexpect-&expect-lib-version;.so</filename>" msgstr "" "<filename class=\"libraryfile\">libexpect-&expect-lib-version;.so</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "" "Contains functions that allow Expect to be used as a Tcl extension or to be " "used directly from C or C++ (without Tcl)" msgstr "" "包含一些函数,使得 Expect 可以作为 Tcl 扩展使用,也可以直接在 C 或 C++ 中使" "用 (不使用 Tcl)" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "libexpect-&expect-lib-version;" msgstr "libexpect-&expect-lib-version;"