Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

231 lines
9.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Free Software" and "Free Software Needs
  8. Free Documentation", with the Front-Cover Texts being "A GNU Manual,"
  9. and with the Back-Cover Texts as in (a) below.
  10. (a) The FSF's Back-Cover Text is: "You are free to copy and modify
  11. this GNU Manual. Buying copies from GNU Press supports the FSF in
  12. developing GNU and promoting software freedom." -->
  13. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  14. <head>
  15. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  16. <title>Miscellaneous Commands (Debugging with GDB)</title>
  17. <meta name="description" content="Miscellaneous Commands (Debugging with GDB)">
  18. <meta name="keywords" content="Miscellaneous Commands (Debugging with GDB)">
  19. <meta name="resource-type" content="document">
  20. <meta name="distribution" content="global">
  21. <meta name="Generator" content="makeinfo">
  22. <link href="index.html#Top" rel="start" title="Top">
  23. <link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
  24. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  25. <link href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" rel="up" title="Bindable Readline Commands">
  26. <link href="Readline-vi-Mode.html#Readline-vi-Mode" rel="next" title="Readline vi Mode">
  27. <link href="Keyboard-Macros.html#Keyboard-Macros" rel="prev" title="Keyboard Macros">
  28. <style type="text/css">
  29. <!--
  30. a.summary-letter {text-decoration: none}
  31. blockquote.indentedblock {margin-right: 0em}
  32. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  33. blockquote.smallquotation {font-size: smaller}
  34. div.display {margin-left: 3.2em}
  35. div.example {margin-left: 3.2em}
  36. div.lisp {margin-left: 3.2em}
  37. div.smalldisplay {margin-left: 3.2em}
  38. div.smallexample {margin-left: 3.2em}
  39. div.smalllisp {margin-left: 3.2em}
  40. kbd {font-style: oblique}
  41. pre.display {font-family: inherit}
  42. pre.format {font-family: inherit}
  43. pre.menu-comment {font-family: serif}
  44. pre.menu-preformatted {font-family: serif}
  45. pre.smalldisplay {font-family: inherit; font-size: smaller}
  46. pre.smallexample {font-size: smaller}
  47. pre.smallformat {font-family: inherit; font-size: smaller}
  48. pre.smalllisp {font-size: smaller}
  49. span.nolinebreak {white-space: nowrap}
  50. span.roman {font-family: initial; font-weight: normal}
  51. span.sansserif {font-family: sans-serif; font-weight: normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en">
  57. <a name="Miscellaneous-Commands"></a>
  58. <div class="header">
  59. <p>
  60. Previous: <a href="Keyboard-Macros.html#Keyboard-Macros" accesskey="p" rel="prev">Keyboard Macros</a>, Up: <a href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" accesskey="u" rel="up">Bindable Readline Commands</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  61. </div>
  62. <hr>
  63. <a name="Some-Miscellaneous-Commands"></a>
  64. <h4 class="subsection">32.4.8 Some Miscellaneous Commands</h4>
  65. <dl compact="compact">
  66. <dt><code>re-read-init-file (C-x C-r)</code>
  67. <a name="index-re_002dread_002dinit_002dfile-_0028C_002dx-C_002dr_0029"></a>
  68. </dt>
  69. <dd><p>Read in the contents of the <var>inputrc</var> file, and incorporate
  70. any bindings or variable assignments found there.
  71. </p>
  72. </dd>
  73. <dt><code>abort (C-g)</code>
  74. <a name="index-abort-_0028C_002dg_0029"></a>
  75. </dt>
  76. <dd><p>Abort the current editing command and
  77. ring the terminal&rsquo;s bell (subject to the setting of
  78. <code>bell-style</code>).
  79. </p>
  80. </dd>
  81. <dt><code>do-lowercase-version (M-A, M-B, M-<var>x</var>, &hellip;)</code>
  82. <a name="index-do_002dlowercase_002dversion-_0028M_002dA_002c-M_002dB_002c-M_002dx_002c-_2026_0029"></a>
  83. </dt>
  84. <dd><p>If the metafied character <var>x</var> is upper case, run the command
  85. that is bound to the corresponding metafied lower case character.
  86. The behavior is undefined if <var>x</var> is already lower case.
  87. </p>
  88. </dd>
  89. <dt><code>prefix-meta (<span class="key">ESC</span>)</code>
  90. <a name="index-prefix_002dmeta-_0028ESC_0029"></a>
  91. </dt>
  92. <dd><p>Metafy the next character typed. This is for keyboards
  93. without a meta key. Typing &lsquo;<samp><span class="key">ESC</span> f</samp>&rsquo; is equivalent to typing
  94. <kbd>M-f</kbd>.
  95. </p>
  96. </dd>
  97. <dt><code>undo (C-_ or C-x C-u)</code>
  98. <a name="index-undo-_0028C_002d_005f-or-C_002dx-C_002du_0029"></a>
  99. </dt>
  100. <dd><p>Incremental undo, separately remembered for each line.
  101. </p>
  102. </dd>
  103. <dt><code>revert-line (M-r)</code>
  104. <a name="index-revert_002dline-_0028M_002dr_0029"></a>
  105. </dt>
  106. <dd><p>Undo all changes made to this line. This is like executing the <code>undo</code>
  107. command enough times to get back to the beginning.
  108. </p>
  109. </dd>
  110. <dt><code>tilde-expand (M-~)</code>
  111. <a name="index-tilde_002dexpand-_0028M_002d_007e_0029"></a>
  112. </dt>
  113. <dd><p>Perform tilde expansion on the current word.
  114. </p>
  115. </dd>
  116. <dt><code>set-mark (C-@)</code>
  117. <a name="index-set_002dmark-_0028C_002d_0040_0029"></a>
  118. </dt>
  119. <dd><p>Set the mark to the point. If a
  120. numeric argument is supplied, the mark is set to that position.
  121. </p>
  122. </dd>
  123. <dt><code>exchange-point-and-mark (C-x C-x)</code>
  124. <a name="index-exchange_002dpoint_002dand_002dmark-_0028C_002dx-C_002dx_0029"></a>
  125. </dt>
  126. <dd><p>Swap the point with the mark. The current cursor position is set to
  127. the saved position, and the old cursor position is saved as the mark.
  128. </p>
  129. </dd>
  130. <dt><code>character-search (C-])</code>
  131. <a name="index-character_002dsearch-_0028C_002d_005d_0029"></a>
  132. </dt>
  133. <dd><p>A character is read and point is moved to the next occurrence of that
  134. character. A negative count searches for previous occurrences.
  135. </p>
  136. </dd>
  137. <dt><code>character-search-backward (M-C-])</code>
  138. <a name="index-character_002dsearch_002dbackward-_0028M_002dC_002d_005d_0029"></a>
  139. </dt>
  140. <dd><p>A character is read and point is moved to the previous occurrence
  141. of that character. A negative count searches for subsequent
  142. occurrences.
  143. </p>
  144. </dd>
  145. <dt><code>skip-csi-sequence ()</code>
  146. <a name="index-skip_002dcsi_002dsequence-_0028_0029"></a>
  147. </dt>
  148. <dd><p>Read enough characters to consume a multi-key sequence such as those
  149. defined for keys like Home and End. Such sequences begin with a
  150. Control Sequence Indicator (CSI), usually ESC-[. If this sequence is
  151. bound to &quot;\e[&quot;, keys producing such sequences will have no effect
  152. unless explicitly bound to a readline command, instead of inserting
  153. stray characters into the editing buffer. This is unbound by default,
  154. but usually bound to ESC-[.
  155. </p>
  156. </dd>
  157. <dt><code>insert-comment (M-#)</code>
  158. <a name="index-insert_002dcomment-_0028M_002d_0023_0029"></a>
  159. </dt>
  160. <dd><p>Without a numeric argument, the value of the <code>comment-begin</code>
  161. variable is inserted at the beginning of the current line.
  162. If a numeric argument is supplied, this command acts as a toggle: if
  163. the characters at the beginning of the line do not match the value
  164. of <code>comment-begin</code>, the value is inserted, otherwise
  165. the characters in <code>comment-begin</code> are deleted from the beginning of
  166. the line.
  167. In either case, the line is accepted as if a newline had been typed.
  168. </p>
  169. </dd>
  170. <dt><code>dump-functions ()</code>
  171. <a name="index-dump_002dfunctions-_0028_0029"></a>
  172. </dt>
  173. <dd><p>Print all of the functions and their key bindings to the
  174. Readline output stream. If a numeric argument is supplied,
  175. the output is formatted in such a way that it can be made part
  176. of an <var>inputrc</var> file. This command is unbound by default.
  177. </p>
  178. </dd>
  179. <dt><code>dump-variables ()</code>
  180. <a name="index-dump_002dvariables-_0028_0029"></a>
  181. </dt>
  182. <dd><p>Print all of the settable variables and their values to the
  183. Readline output stream. If a numeric argument is supplied,
  184. the output is formatted in such a way that it can be made part
  185. of an <var>inputrc</var> file. This command is unbound by default.
  186. </p>
  187. </dd>
  188. <dt><code>dump-macros ()</code>
  189. <a name="index-dump_002dmacros-_0028_0029"></a>
  190. </dt>
  191. <dd><p>Print all of the Readline key sequences bound to macros and the
  192. strings they output. If a numeric argument is supplied,
  193. the output is formatted in such a way that it can be made part
  194. of an <var>inputrc</var> file. This command is unbound by default.
  195. </p>
  196. </dd>
  197. <dt><code>emacs-editing-mode (C-e)</code>
  198. <a name="index-emacs_002dediting_002dmode-_0028C_002de_0029"></a>
  199. </dt>
  200. <dd><p>When in <code>vi</code> command mode, this causes a switch to <code>emacs</code>
  201. editing mode.
  202. </p>
  203. </dd>
  204. <dt><code>vi-editing-mode (M-C-j)</code>
  205. <a name="index-vi_002dediting_002dmode-_0028M_002dC_002dj_0029"></a>
  206. </dt>
  207. <dd><p>When in <code>emacs</code> editing mode, this causes a switch to <code>vi</code>
  208. editing mode.
  209. </p>
  210. </dd>
  211. </dl>
  212. <hr>
  213. <div class="header">
  214. <p>
  215. Previous: <a href="Keyboard-Macros.html#Keyboard-Macros" accesskey="p" rel="prev">Keyboard Macros</a>, Up: <a href="Bindable-Readline-Commands.html#Bindable-Readline-Commands" accesskey="u" rel="up">Bindable Readline Commands</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
  216. </div>
  217. </body>
  218. </html>