Miscellaneous-Commands.html 9.3 KB

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