📄 readline_3.ps
字号:
(rg)-3.141 G 3.142(ument. M\255\255).18 F .642(starts a ne)3.142 F(g-)-.15 E(ati)144 388.8 Q .3 -.15(ve a)-.25 H -.18(rg).15 G(ument.).18 E F1(uni)108 400.8 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0 .779(This is another w)144 412.8 R .779(ay to specify an ar)-.1 F 3.279(gument. If)-.18 F .779(this command is follo)3.279 F .778(wed by one or more digits,)-.25 F 1.376(optionally with a leading minus sign, those digits de\214ne the ar)144424.8 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144436.8 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni)3.67 E -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0(ag)3.67 E 1.17(ain ends the numeric ar)-.05 F 1.17(gument, b)-.18 F 1.17(ut is other)-.2 F(-)-.2 E .898(wise ignored.)144 448.8 R .898(As a special case, if this command is immediately follo)5.898 F .898(wed by a character that is)-.25 F .243(neither a digit or minus sign, the ar)144 460.8 R .243(gument count for the ne)-.18 F .243(xt command is multiplied by four)-.15 F 5.242(.T)-.55 G(he)-5.242 E(ar)144 472.8 Q .378(gument count is initially one, so e)-.18 F -.15(xe)-.15 G .378(cuting this function the \214rst time mak).15 F .378(es the ar)-.1 F.378(gument count)-.18 F(four)144 484.8 Q 2.5(,as)-.4 G(econd time mak)-2.5 E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E F1(Completing)87 501.6 Q(complete \(T)108 513.6 Q(AB\))-.9 E F0 1.909(Attempt to perform completion on the te)144 525.6 R 1.908(xt before point.)-.15 F 1.908(The actual completion performed is)6.908F(application-speci\214c.)144 537.6 Q F1(Bash)5.517 E F0 3.017(,f)C .518(or instance, attempts completion treating the te)-3.017 F .518(xt as a v)-.15 F .518(ariable \(if the)-.25 F(te)144 549.6 Q .657(xt be)-.15 F .657(gins with)-.15 F F1($)3.156 E F0 .656(\), username \(if the te)B .656(xt be)-.15 F .656(gins with)-.15 F F1(~)3.156 E F0 .656(\), hostname \(if the te)B .656(xt be)-.15 F .656(gins with)-.15 F F1(@)3.156 E F0 .656(\), or)B .929(command \(including aliases and functions\) in turn.)144 561.6 R .93(If none of these produces a match, \214lename)5.929 F 1.274(completion is attempted.)144 573.6 R F1(Gdb)6.273 E F0 3.773(,o)C 3.773(nt)-3.773 G 1.273(he other hand, allo)-3.773 F 1.273(ws completion of program functions and)-.25 F -.25(va)144 585.6 S(riab\les, and only attempts \214lename completion under certain circumstance\s.).25 E F1(possible\255completions \(M\255?\))108 597.6 Q F0(List the possible completions of the te)144 609.6 Q(xt before point.)-.15 E F1(insert\255completions \(M\255*\))108 621.6 Q F0 .783(Insert all completions of the te)144 633.6 R .783(xt before point that w)-.15 F .783(ould ha)-.1 F 1.083 -.15(ve b)-.2 H.783(een generated by).15 F F1(possible\255com-)3.283 E(pletions)144645.6 Q F0(.)A F1(menu\255complete)108 657.6 Q F0 .929(Similar to)144669.6 R F1(complete)3.429 E F0 3.429(,b)C .929(ut replaces the w)-3.629F .929(ord to be completed with a single match from the list of)-.1 F1.193(possible completions.)144 681.6 R 1.193(Repeated e)6.193 F -.15(xe)-.15 G 1.193(cution of).15 F F1(menu\255complete)3.694 E F0 1.194(steps through the list of possible)3.694 F .829(completions, inserting each match in turn.)144 693.6 R .828(At the end of the list of completions, the bell is rung)5.828 F .965(\(subject to the setting of)144 705.6 R F1 .965(0and the original text is r)3.465 F(estor)-.18 E 3.465(ed. An)-.18 F(ar)3.465 E .966(gument of)-.1 F F2(n)3.466 E F1(mo)3.466 E -.1(ve)-.1 G(s).1 E F2(n)3.466 E F1(posi-)3.466 E 1.249(tions f)144 717.6 R 1.249(orward in the list of matches; a negati)-.25 F 1.449 -.1(ve a)-.1 H -.1(rg).1 G 1.248(ument may be used to mo).1 F 1.448 -.1(ve b)-.1 H(ackward).1 E(thr)144 729.6 Q(ough the list.)-.18 E(This command is intended to be bound to T)5 E(AB, b)-.9 E(ut is unbound by default.)-.2 E F0(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(8)195.95 E EP%%Page: 9 9%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10/Times-Bold@0 SF(delete\255char\255or\255list)108 84 Q F0 .373(Deletes the character under the cursor if not at the be)144 96 R .374(ginning or end of the line \(lik)-.15 F(e)-.1 E F1(delete-char)2.874 EF0(\).)A(If at the end of the line, beha)144 108 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F1(possible-completions)2.5 E F0(.)A F1 -.25(Ke)87 124.8 S(yboard Macr).25 E(os)-.18 E(start\255kbd\255macr)108136.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)).833 E F0(Be)144 148.8 Q(gin sa)-.15 E(ving the characters typed into the current k)-.2 E -.15(ey)-.1 G(board macro.).15 E F1(end\255kbd\255macr)108 160.8 Q 2.5(o\()-.18 G(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 172.8 Q(ving the characters typed into the current k)-.2 E -.15(ey)-.1 G(board macro and store the de\214nition.).15 E F1(call\255last\255kbd\255macr)108 184.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5E F0(Re-e)144 196.8 Q -.15(xe)-.15 G 1(cute the last k).15 F -.15(ey)-.1G .999(board macro de\214ned, by making the characters in the macro app\ear as if).15 F(typed at the k)144 208.8 Q -.15(ey)-.1 G(board.).15 E F1(Miscellaneous)87 225.6 Q -.18(re)108 237.6 S<ad72>.18 E(ead\255init\255\214le \(C\255x C\255r\))-.18 E F0 1.776(Read in the contents of the)144 249.6 R/F2 10/Times-Italic@0 SF(inputr)4.276 E(c)-.37 E F0 1.777(\214le, and incorporate an)4.276 F 4.277(yb)-.15 G 1.777(indings or v)-4.277 F 1.777(ariable assignments)-.25 F(found there.)144 261.6 Q F1(abort \(C\255g\))108 273.6 Q F0 3.249(Abort the current editing command and ring the terminal')144 285.6 R5.748(sb)-.55 G 3.248(ell \(subject to the setting of)-5.748 F F1(bell\255style)144 297.6 Q F0(\).)A F1(do\255upper)108 309.6 Q(case\255v)-.18 E(ersion \(M\255a, M\255b, M\255)-.1 E F2(x)A F1 2.5(,.)C(..\))-2.5 E F0 1.755(If the meta\214ed character)144 321.6 R F2(x)4.255 E F0 1.755(is lo)4.255 F 1.756(wercase, run the command that is bound to the corresponding)-.25 F(uppercase character)144 333.6 Q(.)-.55 E F1(pr)108 345.6 Q(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 357.6 Q(xt character typed.)-.15 E/F3 9/Times-Bold@0 SF(ESC)5 E F1(f)2.25 E F0(is equi)2.5 E -.25(va)-.25 G(lent to).25 E F1(Meta\255f)2.5 E F0(.)A F1(undo \(C\255_, C\255x C\255u\))108 369.6 Q F0(Incremental undo, separately remembered for each line.)144 381.6 Q F1-2.29 -.18(re v)108 393.6 T(ert\255line \(M\255r\)).08 E F0 1.095(Undo all changes made to this line.)144 405.6 R 1.095(This is lik)6.095F 3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 EF0 1.095(command enough times to)3.595 F(return the line to its initial state.)144 417.6 Q F1(tilde\255expand \(M\255&\))108 429.6 Q F0(Perform tilde e)144 441.6 Q(xpansion on the current w)-.15 E(ord.)-.1 E F1(set\255mark \(C\255@, M\255<space>\))108 453.6 Q F0(Set the mark to the point.)144 465.6 Q(If a numeric ar)5 E(gument is supplied, the mark is set to that position.)-.18 E F1(exchange\255point\255and\255mark \(C\255x C\255x\))108 477.6 Q F0(Sw)144 489.6 Q .282(ap the point with the mark.)-.1 F .283(The current cursor position is set to the sa)5.283 F -.15(ve)-.2 G2.783(dp).15 G .283(osition, and the old)-2.783 F(cursor position is sa)144 501.6 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1(character\255sear)108 513.6 Q(ch \(C\255]\))-.18 E F0 3.036(Ac)144525.6 S .536(haracter is read and point is mo)-3.036 F -.15(ve)-.15 G3.035(dt).15 G 3.035(ot)-3.035 G .535(he ne)-3.035 F .535(xt occurrence of that character)-.15 F 5.535(.A)-.55 G(ne)-2.5 E -.05(ga)-.15 G(ti).05 E .835 -.15(ve c)-.25 H(ount).15 E(searches for pre)144 537.6 Q(vious occurrences.)-.25 E F1(character\255sear)108 549.6 Q(ch\255backward \(M\255C\255]\))-.18 E F0 3.543(Ac)144 561.6 S 1.043(haracter is read and point is mo)-3.543 F -.15(ve)-.15 G 3.544(dt).15 G3.544(ot)-3.544 G 1.044(he pre)-3.544 F 1.044(vious occurrence of that character)-.25 F 6.044(.A)-.55 G(ne)-2.5 E-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(count searches for subsequent occurrences.)144 573.6 Q F1(insert\255comment \(M\255#\))108 585.6 Q F0 -.4(Wi)144 597.6 S .481(thout a numeric ar).4 F .481(gument, the v)-.18 F .481(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 -.25(va)2.981 G .48(riable is inserted at the).25 F(be)144 609.6 Q .097(ginning of the current line.)-.15 F .098(If a numeric ar)5.097 F .098(gument is supplied, this command acts as a toggle:)-.18 F(if)5.098 E.322(the characters at the be)144 621.6 R .321(ginning of the line do not match the v)-.15 F .321(alue of)-.25 F F1(comment\255begin)2.821 E F0 2.821(,t)C .321(he v)-2.821 F .321(alue is)-.25 F 1.013(inserted, otherwise the characters in)144 633.6 R F1(comment-begin)3.514 E F0 1.014(are deleted from the be)3.514 F 1.014(ginning of the line.)-.15 F 1.469(In either case, the line is accepted as if a ne)144 645.6 R 1.468(wline had been typed.)-.25 F 1.468(The def)6.468 F 1.468(ault v)-.1 F1.468(alue of)-.25 F F1(com-)3.968 E(ment\255begin)144 657.6 Q F0(mak)2.982 E .483(es the current line a shell comment.)-.1 F .483(If a numeric ar)5.483 F .483(gument causes the comment)-.18 F(character to be remo)144 669.6 Q -.15(ve)-.15 G(d, the line will be e).15 E -.15(xe)-.15 G(cuted by the shell.).15 E F1(dump\255functions)108681.6 Q F0 .627(Print all of the functions and their k)144 693.6 R .927-.15(ey b)-.1 H .626(indings to the readline output stream.).15 F .626(If a numeric ar)5.626 F(gu-)-.18 E(ment is supplied, the output is formatted in such a w)144 705.6 Q(ay that it can be made part of an)-.1 E F2(inputr)2.5 E(c)-.37 E F0(\214le.)2.5 E(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(9)195.95 E EP%%Page: 10 10%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10/Times-Bold@0 SF(dump\255v)108 84 Q(ariables)-.1 E F0 .283(Print all of the settable v)144 96 R .283(ariables and their v)-.25 F.283(alues to the readline output stream.)-.25 F .283(If a numeric ar)5.283 F(gu-)-.18 E(ment is supplied, the output is formatted in such a w)144 108 Q(ay that it can be made part of an)-.1 E/F2 10/Times-Italic@0 SF(inputr)2.5 E(c)-.37 E F0(\214le.)2.5 E F1(dump\255macr)108 120 Q(os)-.18 E F0.756(Print all of the readline k)144 132 R 1.056 -.15(ey s)-.1 H .756(equences bound to macros and the strings the).15 F 3.256(yo)-.15 G3.256(uput. If)-3.256 F 3.255(an)3.255 G(umeric)-3.255 E(ar)144 144 Q.528(gument is supplied, the output is formatted in such a w)-.18 F .528(ay that it can be made part of an)-.1 F F2(inputr)3.028 E(c)-.37 E F0(\214le.)144 156 Q F1(emacs\255editing\255mode \(C\255e\))108 168 Q F0(When in)144 180 Q F1(vi)2.5 E F0(command mode, this causes a switch to)2.5 E F1(emacs)2.5 E F0(editing mode.)2.5 E F1(vi\255editing\255mode \(M\255C\255j\))108 192 Q F0(When in)144 204 Q F1(emacs)2.5 E F0(editing mode, this causes a switch to)2.5 E F1(vi)2.5 EF0(editing mode.)2.5 E/F3 10.95/Times-Bold@0 SF(DEF)72 220.8 Q -.548(AU)-.986 G 2.014 -1.007(LT K).548 H(EY BINDINGS)1.007 E F0 .065(The follo)108 232.8 R .065(wing is a list of the def)-.25 F .065(ault emacs and vi bindings.)-.1 F .064(Characters with the eighth bit set are written as)5.064 F .615(M\255<character>, and are referred to as)108 244.8 R F2(meta\214ed)3.115 E F0 3.115(characters. The)3.115 F .616(printable ASCII characters not mentioned)3.116 F 1.116(in the list of emacs standard bindings are bound to the)108 256.8 R F1(self\255insert)3.615 E F0 1.115(function, which just inserts the gi)3.615 F -.15(ve)-.25 G(n).15 E .945(character into the input line.)108268.8 R .945(In vi insertion mode, all characters not speci\214cally me\ntioned are bound to)5.945 F F1(self\255insert)108 280.8 Q F0 5.359(.C)C.359(haracters assigned to signal generation by)-5.359 F F2(stty)2.859 EF0 .359(\(1\) or the terminal dri).32 F -.15(ve)-.25 G 1.159 -.4(r, s).15 H .358(uch as C-Z or C-C,).4 F .187(retain that function.)108 292.8R .187(Upper and lo)5.187 F .188(wer case meta\214ed characters are bou\nd to the same function in the emacs)-.25 F .305(mode meta k)108 304.8 R-.15(ey)-.1 G 2.805(map. The).15 F .305(remaining characters are unboun\d, which causes readline to ring the bell \(subject)2.805 F(to the setting of the)108 316.8 Q F1(bell\255style)2.5 E F0 -.25(va)2.5G(riable\).).25 E F1(Emacs Mode)87 333.6 Q F0(Emacs Standard bindings)151.2 345.6 Q 2.5("C-@" set-mark)151.2 369.6 R 2.5("C-A" be)151.2 381.6R(ginning-of-line)-.15 E 2.5("C-B" backw)151.2 393.6 R(ard-char)-.1 E2.5("C-D" delete-char)151.2 405.6 R 2.5("C-E" end-of-line)151.2 417.6 R2.5("C-F" forw)151.2 429.6 R(ard-char)-.1 E 2.5("C-G" abort)151.2 441.6R 2.5("C-H" backw)151.2 453.6 R(ard-delete-char)-.1 E 2.5("C-I" complete)151.2 465.6 R 2.5("C-J" accept-line)151.2 477.6 R 2.5("C-K" kill-line)151.2 489.6 R 2.5("C-L" clear)151.2 501.6 R(-screen)-.2E 2.5("C-M" accept-line)151.2 513.6 R 2.5("C-N" ne)151.2 525.6 R(xt-history)-.15 E 2.5("C-P" pre)151.2 537.6 R(vious-history)-.25 E 2.5("C-Q" quoted-insert)151.2 549.6 R 2.5("C-R" re)151.2 561.6 R -.15(ve)-.25 G(rse-search-history).15 E 2.5("C-S" forw)151.2 573.6 R(ard-search-history)-.1 E 2.5("C-T" transpose-chars)151.2 585.6 R 2.5("C-U" unix-line-discard)151.2 597.6 R 2.5("C-V" quoted-insert)151.2609.6 R 2.5("C-W" unix-w)151.2 621.6 R(ord-rubout)-.1 E 2.5("C-Y" yank)151.2 633.6 R 2.5("C-]" character)151.2 645.6 R(-search)-.2 E 2.5("C-_" undo)151.2 657.6 R 3.333("")151.2 669.6 S(to "/")-.833 E(self-insert)5 E 2.5("0" to)151.2 681.6 R 2.5("9" self-insert)2.5 F 2.5(":" to)151.2 693.6 R 2.5("~" self-insert)2.5 F 2.5("C-?" backw)151.2705.6 R(ard-delete-char)-.1 E(Emacs Meta bindings)151.2 722.4 Q(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(10)190.95 E EP%%Page: 11 11%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R 2.5("M-C-G" abort)151.2 84 R 2.5("M-C-H" backw)151.2 96 R(ard-kill-w)-.1 E(ord)-.1 E 2.5("M-C-I" tab-insert)151.2 108 R 2.5("M-C-J" vi-editing-mode)151.2 120 R 2.5("M-C-M" vi-editing-mode)151.2132 R 2.5("M-C-R" re)151.2 144 R -.15(ve)-.25 G(rt-line).15 E 2.5("M-C-Y" yank-nth-ar)151.2 156 R(g)-.18 E 2.5("M-C-[" complete)151.2 168R 2.5("M-C-]" character)151.2 180 R(-search-backw)-.2 E(ard)-.1 E 2.5("M-space" set-mark)151.2 192 R 2.5("M-#" insert-comment)151.2 204 R 2.5("M-&" tilde-e)151.2 216 R(x
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -