inputrc.po 5.3 KB

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