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