inputrc.po 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PACKAGE VERSION\n"
  10. "POT-Creation-Date: 2020-06-17 12:44+0800\n"
  11. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  12. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  13. "Language-Team: LANGUAGE <LL@li.org>\n"
  14. "Language: \n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #. type: Content of: <sect1><title>
  19. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:11
  20. msgid "Creating the /etc/inputrc File"
  21. msgstr ""
  22. #. type: Content of: <sect1><indexterm><primary>
  23. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:14
  24. msgid "/etc/inputrc"
  25. msgstr ""
  26. #. type: Content of: <sect1><para>
  27. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:17
  28. msgid ""
  29. "The <filename>inputrc</filename> file is the configuration file for the "
  30. "readline library, which provides editing capabilities while the user is "
  31. "entering a line from the terminal. It works by translating keyboard inputs "
  32. "into specific actions. Readline is used by bash and most other shells as "
  33. "well as many other applications."
  34. msgstr ""
  35. #. type: Content of: <sect1><para>
  36. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:23
  37. msgid ""
  38. "Most people do not need user-specific functionality so the command below "
  39. "creates a global <filename>/etc/inputrc</filename> used by everyone who logs "
  40. "in. If you later decide you need to override the defaults on a per user "
  41. "basis, you can create a <filename>.inputrc</filename> file in the user's "
  42. "home directory with the modified mappings."
  43. msgstr ""
  44. #. type: Content of: <sect1><para>
  45. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:29
  46. msgid ""
  47. "For more information on how to edit the <filename>inputrc</filename> file, "
  48. "see <command>info bash</command> under the <emphasis>Readline Init "
  49. "File</emphasis> section. <command>info readline</command> is also a good "
  50. "source of information."
  51. msgstr ""
  52. #. type: Content of: <sect1><para>
  53. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:34
  54. msgid ""
  55. "Below is a generic global <filename>inputrc</filename> along with comments "
  56. "to explain what the various options do. Note that comments cannot be on the "
  57. "same line as commands. Create the file using the following command:"
  58. msgstr ""
  59. #. type: Content of: <sect1><screen>
  60. #: /home/xry111/svn-repos/LFS-BOOK/chapter09/inputrc.xml:38
  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 ""