inputrc.po 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. msgid ""
  2. msgstr ""
  3. "Project-Id-Version: PACKAGE VERSION\n"
  4. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  5. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  6. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  7. "Language-Team: LANGUAGE <LL@li.org>\n"
  8. "Language: zh_CN\n"
  9. "MIME-Version: 1.0\n"
  10. "Content-Type: text/plain; charset=UTF-8\n"
  11. "Content-Transfer-Encoding: 8bit\n"
  12. "X-Generator: Translate Toolkit 2.2.5\n"
  13. #. type: Content of: <sect1><title>
  14. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:11
  15. msgid "Creating the /etc/inputrc File"
  16. msgstr "创建 /etc/inputrc 文件"
  17. #. type: Content of: <sect1><indexterm><primary>
  18. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:14
  19. msgid "/etc/inputrc"
  20. msgstr "/etc/inputrc"
  21. #. type: Content of: <sect1><para>
  22. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:17
  23. msgid ""
  24. "The <filename>inputrc</filename> file is the configuration file for the "
  25. "readline library, which provides editing capabilities while the user is "
  26. "entering a line from the terminal. It works by translating keyboard inputs "
  27. "into specific actions. Readline is used by bash and most other shells as "
  28. "well as many other applications."
  29. msgstr ""
  30. "<filename>inputrc</filename> 文件是 Readline 库的配置文件,该库在用户从终端"
  31. "输入命令行时提供编辑功能。它的工作原理是将键盘输入翻译为特定动作。"
  32. "Readline 被 Bash 和大多数其他 shell,以及许多其他程序使用。"
  33. #. type: Content of: <sect1><para>
  34. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:23
  35. msgid ""
  36. "Most people do not need user-specific functionality so the command below "
  37. "creates a global <filename>/etc/inputrc</filename> used by everyone who logs "
  38. "in. If you later decide you need to override the defaults on a per user "
  39. "basis, you can create a <filename>.inputrc</filename> file in the user's "
  40. "home directory with the modified mappings."
  41. msgstr ""
  42. "多数人不需要 Readline 的用户配置功能,因此以下命令创建全局的 <filename>/etc/"
  43. "inputrc</filename> 文件,供所有登录用户使用。如果您之后决定对于某个用户覆盖"
  44. "掉默认值,您可以在该用户的主目录下创建 <filename>.inputrc</filename> 文件,包"
  45. "含需要修改的映射。"
  46. #. type: Content of: <sect1><para>
  47. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:29
  48. msgid ""
  49. "For more information on how to edit the <filename>inputrc</filename> file, "
  50. "see <command>info bash</command> under the <emphasis>Readline Init File</"
  51. "emphasis> section. <command>info readline</command> is also a good source of "
  52. "information."
  53. msgstr ""
  54. "关于更多如何编写 <filename>inputrc</filename> 文件的信息,参考 "
  55. "<command>info bash</command> 中 <emphasis>Readline Init File</emphasis> 一"
  56. "节。<command>info readline</command> 也是一个很好的信息源。"
  57. #. type: Content of: <sect1><para>
  58. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:34
  59. msgid ""
  60. "Below is a generic global <filename>inputrc</filename> along with comments "
  61. "to explain what the various options do. Note that comments cannot be on the "
  62. "same line as commands. Create the file using the following command:"
  63. msgstr ""
  64. "下面是一个通用的全局 <filename>inputrc</filename> 文件,包含解释一些选项含义"
  65. "的注释。注意注释不能和命令写在同一行。执行以下命令创建该文件:"
  66. #. type: Content of: <sect1><screen>
  67. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:38
  68. #, no-wrap
  69. msgid ""
  70. "<userinput>cat &gt; /etc/inputrc &lt;&lt; \"EOF\"\n"
  71. "<literal># Begin /etc/inputrc\n"
  72. "# Modified by Chris Lynn &lt;roryo@roryo.dynup.net&gt;\n"
  73. "\n"
  74. "# Allow the command prompt to wrap to the next line\n"
  75. "set horizontal-scroll-mode Off\n"
  76. "\n"
  77. "# Enable 8bit input\n"
  78. "set meta-flag On\n"
  79. "set input-meta On\n"
  80. "\n"
  81. "# Turns off 8th bit stripping\n"
  82. "set convert-meta Off\n"
  83. "\n"
  84. "# Keep the 8th bit for display\n"
  85. "set output-meta On\n"
  86. "\n"
  87. "# none, visible or audible\n"
  88. "set bell-style none\n"
  89. "\n"
  90. "# All of the following map the escape sequence of the value\n"
  91. "# contained in the 1st argument to the readline specific functions\n"
  92. "\"\\eOd\": backward-word\n"
  93. "\"\\eOc\": forward-word\n"
  94. "\n"
  95. "# for linux console\n"
  96. "\"\\e[1~\": beginning-of-line\n"
  97. "\"\\e[4~\": end-of-line\n"
  98. "\"\\e[5~\": beginning-of-history\n"
  99. "\"\\e[6~\": end-of-history\n"
  100. "\"\\e[3~\": delete-char\n"
  101. "\"\\e[2~\": quoted-insert\n"
  102. "\n"
  103. "# for xterm\n"
  104. "\"\\eOH\": beginning-of-line\n"
  105. "\"\\eOF\": end-of-line\n"
  106. "\n"
  107. "# for Konsole\n"
  108. "\"\\e[H\": beginning-of-line\n"
  109. "\"\\e[F\": end-of-line\n"
  110. "\n"
  111. "# End /etc/inputrc</literal>\n"
  112. "EOF</userinput>"
  113. msgstr ""
  114. "<userinput>cat &gt; /etc/inputrc &lt;&lt; \"EOF\"\n"
  115. "<literal># Begin /etc/inputrc\n"
  116. "# Modified by Chris Lynn &lt;roryo@roryo.dynup.net&gt;\n"
  117. "\n"
  118. "# Allow the command prompt to wrap to the next line\n"
  119. "set horizontal-scroll-mode Off\n"
  120. "\n"
  121. "# Enable 8bit input\n"
  122. "set meta-flag On\n"
  123. "set input-meta On\n"
  124. "\n"
  125. "# Turns off 8th bit stripping\n"
  126. "set convert-meta Off\n"
  127. "\n"
  128. "# Keep the 8th bit for display\n"
  129. "set output-meta On\n"
  130. "\n"
  131. "# none, visible or audible\n"
  132. "set bell-style none\n"
  133. "\n"
  134. "# All of the following map the escape sequence of the value\n"
  135. "# contained in the 1st argument to the readline specific functions\n"
  136. "\"\\eOd\": backward-word\n"
  137. "\"\\eOc\": forward-word\n"
  138. "\n"
  139. "# for linux console\n"
  140. "\"\\e[1~\": beginning-of-line\n"
  141. "\"\\e[4~\": end-of-line\n"
  142. "\"\\e[5~\": beginning-of-history\n"
  143. "\"\\e[6~\": end-of-history\n"
  144. "\"\\e[3~\": delete-char\n"
  145. "\"\\e[2~\": quoted-insert\n"
  146. "\n"
  147. "# for xterm\n"
  148. "\"\\eOH\": beginning-of-line\n"
  149. "\"\\eOF\": end-of-line\n"
  150. "\n"
  151. "# for Konsole\n"
  152. "\"\\e[H\": beginning-of-line\n"
  153. "\"\\e[F\": end-of-line\n"
  154. "\n"
  155. "# End /etc/inputrc</literal>\n"
  156. "EOF</userinput>"