📄 readline_3.ps
字号:
2.5 G(gion)-.03 E F0(.)A F1(Commands f)87 636 Q(or Mo)-.25 E(ving)-.1 E(beginning\255of\255line \(C\255a\))108 648 Q F0(Mo)144 660 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G(he start of the current line.)-2.5 E F1(end\255of\255line \(C\255e\))108 672 Q F0(Mo)144 684 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G(he end of the line.)-2.5 E F1 -.25(fo)108 696 S(rward\255char \(C\255f\)).25 E F0(Mo)144 708 Q .3 -.15(ve f)-.15 H(orw).15 E(ard a character)-.1 E(.)-.55 E(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(5)195.95 E EP%%Page: 6 6%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10/Times-Bold@0 SF(backward\255char \(C\255b\))108 84 Q F0(Mo)144 96 Q .3-.15(ve b)-.15 H(ack a character).15 E(.)-.55 E F1 -.25(fo)108 108 S(rward\255w).25 E(ord \(M\255f\))-.1 E F0(Mo)144 120 Q .822 -.15(ve f)-.15 H(orw).15 E .522(ard to the end of the ne)-.1 F .523(xt w)-.15 F3.023(ord. W)-.1 F .523(ords are composed of alphanumeric characters \(let-)-.8 F(ters and digits\).)144 132 Q F1(backward\255w)108 144 Q(ord \(M\255b\))-.1 E F0(Mo)144 156 Q 1.71 -.15(ve b)-.15 H 1.41(ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91(ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F(characters \(letters and digits\).)144 168 Q F1(clear\255scr)108 180 Q(een \(C\255l\))-.18 E F0 .993(Clear the screen lea)144 192 R .993(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 G.993(th an ar).4 F .993(gument, refresh the)-.18 F(current line without clearing the screen.)144 204 Q F1 -.18(re)108 216S(draw\255curr).18 E(ent\255line)-.18 E F0(Refresh the current line.)144228 Q F1(Commands f)87 244.8 Q(or Manipulating the History)-.25 E(accept\255line \(Newline, Retur)108 256.8 Q(n\))-.15 E F0 .365(Accept the line re)144 268.8 R -.05(ga)-.15 G .364(rdless of where the cursor is.).05 F .364(If this line is non-empty)5.364 F 2.864(,i)-.65 G 2.864(tm)-2.864 G .364(ay be added to the)-2.864F .74(history list for future recall with)144 280.8 R F1(add_history\(\))3.24 E F0 5.741(.I)C 3.241(ft)-5.741 G .741(he line is a modi\214ed history line, the history)-3.241 F(line is restored to its original state.)144 292.8 Q F1(pr)108 304.8 Q-.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0(Fetch the pre)144316.8 Q(vious command from the history list, mo)-.25 E(ving back in the list.)-.15 E F1(next\255history \(C\255n\))108 328.8 QF0(Fetch the ne)144 340.8 Q(xt command from the history list, mo)-.15 E(ving forw)-.15 E(ard in the list.)-.1 E F1(beginning\255of\255history \(M\255<\))108 352.8 Q F0(Mo)144 364.8 Q .3-.15(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.)-.65 E F1(end\255of\255history \(M\255>\))108 376.8 Q F0(Mo)144 388.8 Q.3 -.15(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5(,i)-.65 G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18(re v)108 400.8 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F01.471(Search backw)144 412.8 R 1.471(ard starting at the current line and mo)-.1 F 1.47(ving `up' through the history as necessary)-.15 F(.)-.65 E(This is an incremental search.)144 424.8 Q F1 -.25(fo)108 436.8 S(rward\255sear).25 E(ch\255history \(C\255s\))-.18 E F0 1.131(Search forw)144 448.8 R 1.131(ard starting at the current line and mo)-.1 F 1.132(ving `do)-.15 F 1.132(wn' through the history as necessary)-.25 F(.)-.65 E(This is an incremental search.)144 460.8 Q F1(non\255incr)108 472.8 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H(rse\255sear).15 E(ch\255history \(M\255p\))-.18 E F0 .165(Search backw)144 484.8 R .164(ard through the history starting at the current line u\sing a non-incremental search for)-.1 F 2.5(as)144 496.8 S(tring supplied by the user)-2.5 E(.)-.55 E F1(non\255incr)108 508.8 Q(emental\255f)-.18 E(orward\255sear)-.25 E(ch\255history \(M\255n\))-.18E F0 1.353(Search forw)144 520.8 R 1.354(ard through the history using \a non-incremental search for a string supplied by the)-.1 F(user)144532.8 Q(.)-.55 E F1(history\255sear)108 544.8 Q(ch\255f)-.18 E(orward)-.25 E F0 .249(Search forw)144 556.8 R .249(ard through the history for\ the string of characters between the start of the current line)-.1 F(and the current cursor position \(the)144 568.8 Q/F2 10/Times-Italic@0SF(point)2.5 E F0 2.5(\). This)B(is a non-incremental search.)2.5 E F1(history\255sear)108 580.8 Q(ch\255backward)-.18 E F0 .95(Search backw)144 592.8 R .951(ard through the history for the string of characters b\etween the start of the current)-.1 F(line and the point.)144 604.8 Q(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 616.8 Q2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144628.8 R .622(gument to the pre)-.18 F .622(vious command \(usually the second w)-.25 F .622(ord on the pre)-.1 F.622(vious line\))-.25 F .794(at point.)144 640.8 R -.4(Wi)5.794 G .794(th an ar).4 F(gument)-.18 E F2(n)3.294 E F0 3.294(,i).24 G .794(nsert the)-3.294 F F2(n)3.294 E F0 .794(th w)B .794(ord from the pre)-.1 F .794(vious command \(the w)-.25 F .795(ords in the)-.1 F(pre)144652.8 Q .292(vious command be)-.25 F .292(gin with w)-.15 F .291(ord 0\).)-.1 F 2.791(An)5.291 G -2.25 -.15(eg a)-2.791 H(ti).15 E .591-.15(ve a)-.25 H -.18(rg).15 G .291(ument inserts the).18 F F2(n)2.791 EF0 .291(th w)B .291(ord from the end of)-.1 F(the pre)144 664.8 Q(vious command.)-.25 E F1(yank\255last\255ar)108 676.8 Q 2.5(g\()-.1 G-1.667(M\255. ,)-2.5 F -1.667(M\255_ \))2.5 F F0 1.307(Insert the last ar)144 688.8 R 1.307(gument to the pre)-.18 F 1.307(vious command \(the last w)-.25 F 1.308(ord of the pre)-.1 F 1.308(vious history entry\).)-.25 F -.4(Wi)144 700.8 S .736(th an ar).4 F.736(gument, beha)-.18 F 1.036 -.15(ve ex)-.2 H .736(actly lik).15 F(e)-.1 E F1(yank\255nth\255ar)3.235 E(g)-.1 E F0 5.735(.S)C(uccessi)-5.735E 1.035 -.15(ve c)-.25 H .735(alls to).15 F F1(yank\255last\255ar)3.235E(g)-.1 E F0(mo)3.235 E -.15(ve)-.15 G(back through the history list, inserting the last ar)144 712.8 Q(gument of each line in turn.)-.18 E(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(6)195.95 E EP%%Page: 7 7%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10/Times-Bold@0 SF(Commands f)87 84 Q(or Changing T)-.25 E(ext)-.92 E(delete\255char \(C\255d\))108 96 Q F0 .357(Delete the character at point.)144 108 R .358(If point is at the be)5.358 F .358(ginning of the line, there are no characters in the)-.15 F(line, and the last character typed w)144 120 Q(as not bound to)-.1 E F1(delete\255char)2.5 E F0 2.5(,t)C(hen return)-2.5 E/F2 9/Times-Bold@0 SF(EOF)2.5 E/F3 9/Times-Roman@0 SF(.)A F1(backward\255delete\255char \(Rubout\))108 132 Q F0 .553(Delete the character behind the cursor)144 144 R 5.553(.W)-.55 G .553(hen gi)-5.553 F -.15(ve)-.25 G 3.053(nan).15 G .553(umeric ar)-3.053 F.552(gument, sa)-.18 F .852 -.15(ve t)-.2 H .552(he deleted te).15 F.552(xt on)-.15 F(the kill ring.)144 156 Q F1 -.25(fo)108 168 S(rward\255backward\255delete\255char).25 E F0 .473(Delete the character under the cursor)144 180 R 2.973(,u)-.4 G .474(nless the cursor is at the end of the line, in which case the)-2.973 F(character behind the cursor is deleted.)144 192 Q F1(quoted\255insert \(C\255q, C\255v\))108 204 Q F0 1.229(Add the ne)144216 R 1.228(xt character that you type to the line v)-.15 F 3.728(erbatim. This)-.15 F 1.228(is ho)3.728 F 3.728(wt)-.25 G 3.728(oi)-3.728 G 1.228(nsert characters lik)-3.728 F(e)-.1 E F1(C\255q)144 228 QF0 2.5(,f)C(or e)-2.5 E(xample.)-.15 E F1(tab\255insert \(M-T)108 240 Q(AB\))-.9 E F0(Insert a tab character)144 252 Q(.)-.55 E F1(self\255insert \(a, b, A, 1, !, ...\))108 264 Q F0(Insert the character typed.)144 276 Q F1(transpose\255chars \(C\255t\))108 288 Q F0 .321(Drag the character before point forw)144 300 R .321(ard o)-.1 F -.15(ve)-.15 G 2.821(rt).15 G .321(he character at point, mo)-2.821 F .322(ving point forw)-.15 F .322(ard as well.)-.1 F 1.182(If point is at the end of the line, then this transposes the tw)144 312R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E -.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 324 Q(guments ha)-.18 E .3-.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G(ect.).25 E F1(transpose\255w)108 336 Q(ords \(M\255t\))-.1 E F0 .023(Drag the w)144348 R .023(ord before point past the w)-.1 F .023(ord after point, mo)-.1 F .023(ving point o)-.15 F -.15(ve)-.15 G 2.524(rt).15 G .024(hat w)-2.524 F .024(ord as well.)-.1 F .024(If point)5.024 F(is at the end of the line, this transposes the last tw)144 360 Q 2.5(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 372 Q(ord \(M\255u\))-.1 E F0 1.699(Uppercase the current \(or follo)144 384R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.998 -.15(ve a)-.25 H -.18(rg).15 G 1.698(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 396 S(rd, b).1 E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1(do)108 408 Q(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 420 Q 1.647(wercase the current \(or follo)-.25 F 1.647(wing\) w)-.25 F 4.147(ord. W)-.1 F 1.648(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.948 -.15(ve a)-.25 H -.18(rg).15 G 1.648(ument, lo).18 F 1.648(wercase the pre)-.25 F(vious)-.25 E -.1(wo)144 432 S(rd, b).1 E(ut do not mo)-.2 E .3-.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 444 Q(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 456R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 468 S(rd, b).1E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 480S(rwrite\255mode).1 E F0 -.8(To)144 492 S .437(ggle o).8 F -.15(ve)-.15G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437(xplicit positi)-.15 F .738 -.15(ve n)-.25 H .438(umeric ar).15 F .438(gument, switches to o)-.18 F -.15(ve)-.15 G .438(rwrite mode.).15 F -.4(Wi)144 504 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081-.15(ve n)-.25 H .781(umeric ar).15 F .781(gument, switches to insert mode.)-.18 F .78(This command af)5.781 F(fects)-.25 E(only)144 516 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi)4.394 E F0 1.894(mode does o)4.394 F -.15(ve)-.15 G 1.894(rwrite dif).15F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F/F4 10/Times-Italic@0 SF -.37(re)4.395 G(adline\(\)).37 E F0 1.895(starts in insert)4.395 F 3.969(mode. In)144 528 R -.15(ove)3.969 G1.469(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 EF0 1.468(replace the te)3.969 F 1.468(xt at point rather than)-.15 F.957(pushing the te)144 540 R .957(xt to the right.)-.15 F .958(Characters bound to)5.957 F F1(backward\255delete\255char)3.458 E F0.958(replace the character)3.458 F(before point with a space.)144 552 Q(By def)5 E(ault, this command is unbound.)-.1 E F1(Killing and Y)87568.8 Q(anking)-.85 E(kill\255line \(C\255k\))108 580.8 Q F0(Kill the te)144 592.8 Q(xt from point to the end of the line.)-.15 E F1(backward\255kill\255line \(C\255x Rubout\))108 604.8 Q F0(Kill backw)144 616.8 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1(unix\255line\255discard \(C\255u\))108 628.8 Q F0(Kill backw)144 640.8Q(ard from point to the be)-.1 E(ginning of the line.)-.15 E(The killed te)5 E(xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt)-2.5 G(he kill-ring.)-2.5 E F1(kill\255whole\255line)108 652.8 Q F0(Kill all characters on the current line, no matter where point is.)144664.8 Q F1(kill\255w)108 676.8 Q(ord \(M\255d\))-.1 E F0 1.308(Kill from point the end of the current w)144 688.8 R 1.308(ord, or if between w)-.1 F 1.308(ords, to the end of the ne)-.1 F 1.307(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 700.8 S(rd boundaries are the same as those used by).8 E F1 -.25(fo)2.5 G(rward\255w).25 E(ord)-.1 E F0(.)A(GNU Readline 4.3)72 768 Q(2002 January 22)126.24 E(7)195.95 E EP%%Page: 8 8%%BeginPageSetupBP%%EndPageSetup/F0 10/Times-Roman@0 SF 342.2(READLINE\(3\) READLINE\(3\))72 48 R/F1 10/Times-Bold@0 SF(backward\255kill\255w)108 84 Q(ord \(M\255Rubout\))-.1E F0(Kill the w)144 96 Q(ord behind point.)-.1 E -.8(Wo)5 G(rd boundaries are the same as those used by).8 E F1(backward\255w)2.5 E(ord)-.1 E F0(.)A F1(unix\255w)108 108 Q(ord\255rubout \(C\255w\))-.1 EF0 .364(Kill the w)144 120 R .364(ord behind point, using white space as a w)-.1 F .365(ord boundary)-.1F 5.365(.T)-.65 G .365(he killed te)-5.365 F .365(xt is sa)-.15 F -.15(ve)-.2 G 2.865(do).15 G 2.865(nt)-2.865 G(he)-2.865 E(kill-ring.)144132 Q F1(delete\255horizontal\255space \(M\255\\\))108 144 Q F0(Delete all spaces and tabs around point.)144 156 Q F1(kill\255r)108 168Q(egion)-.18 E F0 1.13(Kill the te)144 180 R 1.13(xt between the point and)-.15 F/F2 10/Times-Italic@0 SF(mark)3.63 E F0(\(sa)3.63 E -.15(ve)-.2 G 3.63(dc).15 G 1.13(ursor position\).)-3.63 F1.13(This te)6.13 F 1.13(xt is referred to as the)-.15 F F2 -.37(re)144192 S(gion)-.03 E F0(.)A F1(copy\255r)108 204 Q(egion\255as\255kill)-.18E F0(Cop)144 216 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E(gion to the kill b)-.15 E(uf)-.2 E(fer)-.25 E(.)-.55 E F1(copy\255backward\255w)108 228 Q(ord)-.1 E F0(Cop)144 240 Q 4.8(yt)-.1 G2.3(he w)-4.8 F 2.3(ord before point to the kill b)-.1 F(uf)-.2 E(fer)-.25 E 7.301(.T)-.55 G 2.301(he w)-7.301 F 2.301(ord boundaries are the same as)-.1 F F1(back-)4.801 E(ward\255w)144 252Q(ord)-.1 E F0(.)A F1(copy\255f)108 264 Q(orward\255w)-.25 E(ord)-.1 EF0(Cop)144 276 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008(ord follo)-.1F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25 E 7.007(.T)-.55 G 2.007(he w)-7.007 F 2.007(ord boundaries are the same as)-.1 F F1-.25(fo)4.507 G -.37(r-).25 G(ward\255w)144 288 Q(ord)-.1 E F0(.)A F1(yank \(C\255y\))108 300 Q F0 -1(Ya)144 312 S(nk the top of the kill ring into the b)1 E(uf)-.2 E(fer at point.)-.25E F1(yank\255pop \(M\255y\))108 324 Q F0(Rotate the kill ring, and yank the ne)144 336 Q 2.5(wt)-.25 G 2.5(op. Only)-2.5 F -.1(wo)2.5 G(rks follo).1 E(wing)-.25 E F1(yank)2.5 EF0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 352.8 Q(guments)-.1 E(digit\255ar)108 364.8 Q(gument \(M\2550, M\2551, ..., M\255\255\))-.1 E F0 .641(Add this digit to the ar)144 376.8 R .641(gument already accumulating, or start a ne)-.18 F 3.141(wa)-.25 G -.18
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -