⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readline.3

📁 这个是LINUX下的GDB调度工具的源码
💻 3
📖 第 1 页 / 共 3 页
字号:
of these produces a match, filename completion is attempted..BR Gdb ,on the other hand,allows completion of program functions and variables, andonly attempts filename completion under certain circumstances..TP.B possible\-completions (M\-?)List the possible completions of the text before point..TP.B insert\-completions (M\-*)Insert all completions of the text before pointthat would have been generated by\fBpossible\-completions\fP..TP.B menu\-completeSimilar to \fBcomplete\fP, but replaces the word to be completedwith a single match from the list of possible completions.Repeated execution of \fBmenu\-complete\fP steps through the listof possible completions, inserting each match in turn.At the end of the list of completions, the bell is rung(subject to the setting of \Bbell\-style\fP)and the original text is restored.An argument of \fIn\fP moves \fIn\fP positions forward in the listof matches; a negative argument may be used to move backward through the list.This command is intended to be bound to \fBTAB\fP, but is unboundby default..TP.B delete\-char\-or\-listDeletes the character under the cursor if not at the beginning orend of the line (like \fBdelete-char\fP).If at the end of the line, behaves identically to\fBpossible-completions\fP..PD.SS Keyboard Macros.PP.PD 0.TP.B start\-kbd\-macro (C\-x (\^)Begin saving the characters typed into the current keyboard macro..TP.B end\-kbd\-macro (C\-x )\^)Stop saving the characters typed into the current keyboard macroand store the definition..TP.B call\-last\-kbd\-macro (C\-x e)Re-execute the last keyboard macro defined, by making the charactersin the macro appear as if typed at the keyboard..PD.SS Miscellaneous.PP.PD 0.TP.B re\-read\-init\-file (C\-x C\-r)Read in the contents of the \fIinputrc\fP file, and incorporateany bindings or variable assignments found there..TP.B abort (C\-g)Abort the current editing command andring the terminal's bell (subject to the setting of.BR bell\-style )..TP.B do\-uppercase\-version (M\-a, M\-b, M\-\fIx\fP, ...)If the metafied character \fIx\fP is lowercase, run the commandthat is bound to the corresponding uppercase character..TP.B prefix\-meta (ESC)Metafy the next character typed..SM.B ESC.B fis equivalent to.BR Meta\-f ..TP.B undo (C\-_, C\-x C\-u)Incremental undo, separately remembered for each line..TP.B revert\-line (M\-r)Undo all changes made to this line.  This is like executing the.B undocommand enough times to return the line to its initial state..TP.B tilde\-expand (M\-&)Perform tilde expansion on the current word..TP.B set\-mark (C\-@, M\-<space>)Set the mark to the point.  If anumeric argument is supplied, the mark is set to that position..TP.B exchange\-point\-and\-mark (C\-x C\-x)Swap the point with the mark.  The current cursor position is set tothe saved position, and the old cursor position is saved as the mark..TP.B character\-search (C\-])A character is read and point is moved to the next occurrence of thatcharacter.  A negative count searches for previous occurrences..TP.B character\-search\-backward (M\-C\-])A character is read and point is moved to the previous occurrence of thatcharacter.  A negative count searches for subsequent occurrences..TP.B insert\-comment (M\-#)Without a numeric argument, the value of the readline.B comment\-beginvariable is inserted at the beginning of the current line.If a numeric argument is supplied, this command acts as a toggle:  ifthe characters at the beginning of the line do not match the value   of \fBcomment\-begin\fP, the value is inserted, otherwise             the characters in \fBcomment-begin\fP are deleted from the beginning ofthe line.In either case, the line is accepted as if a newline had been typed.The default value of.B comment\-beginmakes the current line a shell comment.If a numeric argument causes the comment character to be removed, the linewill be executed by the shell..TP.B dump\-functionsPrint all of the functions and their key bindings to thereadline output stream.  If a numeric argument is supplied,the output is formatted in such a way that it can be made partof an \fIinputrc\fP file..TP.B dump\-variablesPrint all of the settable variables and their values to thereadline output stream.  If a numeric argument is supplied,the output is formatted in such a way that it can be made partof an \fIinputrc\fP file..TP.B dump\-macrosPrint all of the readline key sequences bound to macros and thestrings they ouput.  If a numeric argument is supplied,the output is formatted in such a way that it can be made partof an \fIinputrc\fP file..TP.B emacs\-editing\-mode (C\-e)When in.B vicommand mode, this causes a switch to.B emacsediting mode..TP.B vi\-editing\-mode (M\-C\-j)When in.B emacsediting mode, this causes a switch to.B viediting mode..PD.SH DEFAULT KEY BINDINGS.LPThe following is a list of the default emacs and vi bindings.Characters with the eighth bit set are written as M\-<character>, andare referred to as.I metafiedcharacters.The printable ASCII characters not mentioned in the list of emacsstandard bindings are bound to the.B self\-insertfunction, which just inserts the given character into the input line.In vi insertion mode, all characters not specifically mentioned arebound to.BR self\-insert .Characters assigned to signal generation by.IR stty (1)or the terminal driver, such as C-Z or C-C,retain that function.Upper and lower case metafied characters are bound to the same function inthe emacs mode meta keymap.The remaining characters are unbound, which causes readlineto ring the bell (subject to the setting of the.B bell\-stylevariable)..SS Emacs Mode.RS +.6i.nf.ta 2.5i.spEmacs Standard bindings.sp"C-@"  set-mark"C-A"  beginning-of-line"C-B"  backward-char"C-D"  delete-char"C-E"  end-of-line"C-F"  forward-char"C-G"  abort"C-H"  backward-delete-char"C-I"  complete"C-J"  accept-line"C-K"  kill-line"C-L"  clear-screen"C-M"  accept-line"C-N"  next-history"C-P"  previous-history"C-Q"  quoted-insert"C-R"  reverse-search-history"C-S"  forward-search-history"C-T"  transpose-chars"C-U"  unix-line-discard"C-V"  quoted-insert"C-W"  unix-word-rubout"C-Y"  yank"C-]"  character-search"C-_"  undo"\^ " to "/"  self-insert"0"  to "9"  self-insert":"  to "~"  self-insert"C-?"  backward-delete-char.PPEmacs Meta bindings.sp"M-C-G"  abort"M-C-H"  backward-kill-word"M-C-I"  tab-insert"M-C-J"  vi-editing-mode"M-C-M"  vi-editing-mode"M-C-R"  revert-line"M-C-Y"  yank-nth-arg"M-C-["  complete"M-C-]"  character-search-backward"M-space"  set-mark"M-#"  insert-comment"M-&"  tilde-expand"M-*"  insert-completions"M--"  digit-argument"M-."  yank-last-arg"M-0"  digit-argument"M-1"  digit-argument"M-2"  digit-argument"M-3"  digit-argument"M-4"  digit-argument"M-5"  digit-argument"M-6"  digit-argument"M-7"  digit-argument"M-8"  digit-argument"M-9"  digit-argument"M-<"  beginning-of-history"M-="  possible-completions"M->"  end-of-history"M-?"  possible-completions"M-B"  backward-word"M-C"  capitalize-word"M-D"  kill-word"M-F"  forward-word"M-L"  downcase-word"M-N"  non-incremental-forward-search-history"M-P"  non-incremental-reverse-search-history"M-R"  revert-line"M-T"  transpose-words"M-U"  upcase-word"M-Y"  yank-pop"M-\e"  delete-horizontal-space"M-~"  tilde-expand"M-C-?"  backward-kill-word"M-_"  yank-last-arg.PPEmacs Control-X bindings.sp"C-XC-G"  abort"C-XC-R"  re-read-init-file"C-XC-U"  undo"C-XC-X"  exchange-point-and-mark"C-X("  start-kbd-macro"C-X)"  end-kbd-macro"C-XE"  call-last-kbd-macro"C-XC-?"  backward-kill-line.sp.RE.SS VI Mode bindings.RS +.6i.nf.ta 2.5i.sp.PPVI Insert Mode functions.sp"C-D"  vi-eof-maybe"C-H"  backward-delete-char"C-I"  complete"C-J"  accept-line"C-M"  accept-line"C-R"  reverse-search-history"C-S"  forward-search-history"C-T"  transpose-chars"C-U"  unix-line-discard"C-V"  quoted-insert"C-W"  unix-word-rubout"C-Y"  yank"C-["  vi-movement-mode"C-_"  undo"\^ " to "~"  self-insert"C-?"  backward-delete-char.PPVI Command Mode functions.sp"C-D"  vi-eof-maybe"C-E"  emacs-editing-mode"C-G"  abort"C-H"  backward-char"C-J"  accept-line"C-K"  kill-line"C-L"  clear-screen"C-M"  accept-line"C-N"  next-history"C-P"  previous-history"C-Q"  quoted-insert"C-R"  reverse-search-history"C-S"  forward-search-history"C-T"  transpose-chars"C-U"  unix-line-discard"C-V"  quoted-insert"C-W"  unix-word-rubout"C-Y"  yank"C-_"  vi-undo"\^ "  forward-char"#"  insert-comment"$"  end-of-line"%"  vi-match"&"  vi-tilde-expand"*"  vi-complete"+"  next-history","  vi-char-search"-"  previous-history"."  vi-redo"/"  vi-search"0"  beginning-of-line"1" to "9"  vi-arg-digit";"  vi-char-search"="  vi-complete"?"  vi-search"A"  vi-append-eol"B"  vi-prev-word"C"  vi-change-to"D"  vi-delete-to"E"  vi-end-word"F"  vi-char-search"G"  vi-fetch-history"I"  vi-insert-beg"N"  vi-search-again"P"  vi-put"R"  vi-replace"S"  vi-subst"T"  vi-char-search"U"  revert-line"W"  vi-next-word"X"  backward-delete-char"Y"  vi-yank-to"\e"  vi-complete"^"  vi-first-print"_"  vi-yank-arg"`"  vi-goto-mark"a"  vi-append-mode"b"  vi-prev-word"c"  vi-change-to"d"  vi-delete-to"e"  vi-end-word"f"  vi-char-search"h"  backward-char"i"  vi-insertion-mode"j"  next-history"k"  prev-history"l"  forward-char"m"  vi-set-mark"n"  vi-search-again"p"  vi-put"r"  vi-change-char"s"  vi-subst"t"  vi-char-search"u"  vi-undo"w"  vi-next-word"x"  vi-delete"y"  vi-yank-to"|"  vi-column"~"  vi-change-case.RE.SH "SEE ALSO".PD 0.TP\fIThe Gnu Readline Library\fP, Brian Fox and Chet Ramey.TP\fIThe Gnu History Library\fP, Brian Fox and Chet Ramey.TP\fIbash\fP(1).PD.SH FILES.PD 0.TP.FN ~/.inputrcIndividual \fBreadline\fP initialization file.PD.SH AUTHORSBrian Fox, Free Software Foundation.brbfox@gnu.org.PPChet Ramey, Case Western Reserve University.brchet@ins.CWRU.Edu.SH BUG REPORTSIf you find a bug in.B readline,you should report it.  But first, you shouldmake sure that it really is a bug, and that it appears in the latestversion of the.B readlinelibrary that you have..PPOnce you have determined that a bug actually exists, mail abug report to \fIbug\-readline\fP@\fIgnu.org\fP.If you have a fix, you are welcome to mail thatas well!  Suggestions and `philosophical' bug reports may be mailedto \fPbug-readline\fP@\fIgnu.org\fP or posted to the Usenetnewsgroup.BR gnu.bash.bug ..PPComments and bug reports concerningthis manual page should be directed to.IR chet@ins.CWRU.Edu ..SH BUGS.PPIt's too big and too slow.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -