Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

205 lines
8.5KB

  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>Commands For Text (Debugging with GDB)</title>
  17. <meta name="description" content="Commands For Text (Debugging with GDB)">
  18. <meta name="keywords" content="Commands For Text (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="Commands-For-Killing.html#Commands-For-Killing" rel="next" title="Commands For Killing">
  27. <link href="Commands-For-History.html#Commands-For-History" rel="prev" title="Commands For History">
  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="Commands-For-Text"></a>
  58. <div class="header">
  59. <p>
  60. Next: <a href="Commands-For-Killing.html#Commands-For-Killing" accesskey="n" rel="next">Commands For Killing</a>, Previous: <a href="Commands-For-History.html#Commands-For-History" accesskey="p" rel="prev">Commands For History</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="Commands-For-Changing-Text"></a>
  64. <h4 class="subsection">32.4.3 Commands For Changing Text</h4>
  65. <dl compact="compact">
  66. <dt><code><i>end-of-file</i> (usually C-d)</code>
  67. <a name="index-end_002dof_002dfile-_0028usually-C_002dd_0029"></a>
  68. </dt>
  69. <dd><p>The character indicating end-of-file as set, for example, by
  70. <code>stty</code>. If this character is read when there are no characters
  71. on the line, and point is at the beginning of the line, Readline
  72. interprets it as the end of input and returns <small>EOF</small>.
  73. </p>
  74. </dd>
  75. <dt><code>delete-char (C-d)</code>
  76. <a name="index-delete_002dchar-_0028C_002dd_0029"></a>
  77. </dt>
  78. <dd><p>Delete the character at point. If this function is bound to the
  79. same character as the tty <small>EOF</small> character, as <kbd>C-d</kbd>
  80. commonly is, see above for the effects.
  81. </p>
  82. </dd>
  83. <dt><code>backward-delete-char (Rubout)</code>
  84. <a name="index-backward_002ddelete_002dchar-_0028Rubout_0029"></a>
  85. </dt>
  86. <dd><p>Delete the character behind the cursor. A numeric argument means
  87. to kill the characters instead of deleting them.
  88. </p>
  89. </dd>
  90. <dt><code>forward-backward-delete-char ()</code>
  91. <a name="index-forward_002dbackward_002ddelete_002dchar-_0028_0029"></a>
  92. </dt>
  93. <dd><p>Delete the character under the cursor, unless the cursor is at the
  94. end of the line, in which case the character behind the cursor is
  95. deleted. By default, this is not bound to a key.
  96. </p>
  97. </dd>
  98. <dt><code>quoted-insert (C-q or C-v)</code>
  99. <a name="index-quoted_002dinsert-_0028C_002dq-or-C_002dv_0029"></a>
  100. </dt>
  101. <dd><p>Add the next character typed to the line verbatim. This is
  102. how to insert key sequences like <kbd>C-q</kbd>, for example.
  103. </p>
  104. </dd>
  105. <dt><code>tab-insert (M-<span class="key">TAB</span>)</code>
  106. <a name="index-tab_002dinsert-_0028M_002dTAB_0029"></a>
  107. </dt>
  108. <dd><p>Insert a tab character.
  109. </p>
  110. </dd>
  111. <dt><code>self-insert (a, b, A, 1, !, &hellip;)</code>
  112. <a name="index-self_002dinsert-_0028a_002c-b_002c-A_002c-1_002c-_0021_002c-_2026_0029"></a>
  113. </dt>
  114. <dd><p>Insert yourself.
  115. </p>
  116. </dd>
  117. <dt><code>bracketed-paste-begin ()</code>
  118. <a name="index-bracketed_002dpaste_002dbegin-_0028_0029"></a>
  119. </dt>
  120. <dd><p>This function is intended to be bound to the &quot;bracketed paste&quot; escape
  121. sequence sent by some terminals, and such a binding is assigned by default.
  122. It allows Readline to insert the pasted text as a single unit without treating
  123. each character as if it had been read from the keyboard. The characters
  124. are inserted as if each one was bound to <code>self-insert</code> instead of
  125. executing any editing commands.
  126. </p>
  127. </dd>
  128. <dt><code>transpose-chars (C-t)</code>
  129. <a name="index-transpose_002dchars-_0028C_002dt_0029"></a>
  130. </dt>
  131. <dd><p>Drag the character before the cursor forward over
  132. the character at the cursor, moving the
  133. cursor forward as well. If the insertion point
  134. is at the end of the line, then this
  135. transposes the last two characters of the line.
  136. Negative arguments have no effect.
  137. </p>
  138. </dd>
  139. <dt><code>transpose-words (M-t)</code>
  140. <a name="index-transpose_002dwords-_0028M_002dt_0029"></a>
  141. </dt>
  142. <dd><p>Drag the word before point past the word after point,
  143. moving point past that word as well.
  144. If the insertion point is at the end of the line, this transposes
  145. the last two words on the line.
  146. </p>
  147. </dd>
  148. <dt><code>upcase-word (M-u)</code>
  149. <a name="index-upcase_002dword-_0028M_002du_0029"></a>
  150. </dt>
  151. <dd><p>Uppercase the current (or following) word. With a negative argument,
  152. uppercase the previous word, but do not move the cursor.
  153. </p>
  154. </dd>
  155. <dt><code>downcase-word (M-l)</code>
  156. <a name="index-downcase_002dword-_0028M_002dl_0029"></a>
  157. </dt>
  158. <dd><p>Lowercase the current (or following) word. With a negative argument,
  159. lowercase the previous word, but do not move the cursor.
  160. </p>
  161. </dd>
  162. <dt><code>capitalize-word (M-c)</code>
  163. <a name="index-capitalize_002dword-_0028M_002dc_0029"></a>
  164. </dt>
  165. <dd><p>Capitalize the current (or following) word. With a negative argument,
  166. capitalize the previous word, but do not move the cursor.
  167. </p>
  168. </dd>
  169. <dt><code>overwrite-mode ()</code>
  170. <a name="index-overwrite_002dmode-_0028_0029"></a>
  171. </dt>
  172. <dd><p>Toggle overwrite mode. With an explicit positive numeric argument,
  173. switches to overwrite mode. With an explicit non-positive numeric
  174. argument, switches to insert mode. This command affects only
  175. <code>emacs</code> mode; <code>vi</code> mode does overwrite differently.
  176. Each call to <code>readline()</code> starts in insert mode.
  177. </p>
  178. <p>In overwrite mode, characters bound to <code>self-insert</code> replace
  179. the text at point rather than pushing the text to the right.
  180. Characters bound to <code>backward-delete-char</code> replace the character
  181. before point with a space.
  182. </p>
  183. <p>By default, this command is unbound.
  184. </p>
  185. </dd>
  186. </dl>
  187. <hr>
  188. <div class="header">
  189. <p>
  190. Next: <a href="Commands-For-Killing.html#Commands-For-Killing" accesskey="n" rel="next">Commands For Killing</a>, Previous: <a href="Commands-For-History.html#Commands-For-History" accesskey="p" rel="prev">Commands For History</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>
  191. </div>
  192. </body>
  193. </html>