inputrc.po 5.3 KB

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