rluser.es.po 122 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the PACKAGE package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: \n"
  9. "POT-Creation-Date: 2018-01-24 16:43+0100\n"
  10. "PO-Revision-Date: 2018-01-31 00:48+0100\n"
  11. "Language-Team: \n"
  12. "MIME-Version: 1.0\n"
  13. "Content-Type: text/plain; charset=UTF-8\n"
  14. "Content-Transfer-Encoding: 8bit\n"
  15. "X-Generator: Poedit 2.0.4\n"
  16. "Last-Translator: \n"
  17. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  18. "Language: es\n"
  19. #. type: chapter
  20. #: rluser.texi:42 rluser.texi:43
  21. #, no-wrap
  22. msgid "Command Line Editing"
  23. msgstr "Edición en Línea de Órdenes"
  24. #. type: Plain text
  25. #: rluser.texi:47
  26. msgid ""
  27. "This chapter describes the basic features of the @sc{gnu} command line "
  28. "editing interface."
  29. msgstr ""
  30. "Este capítulo describe las funcionalidades básicas de la interfaz de edición "
  31. "en línea de órdenes de @sc{gnu}."
  32. #. type: ifset
  33. #: rluser.texi:60
  34. msgid ""
  35. "Command line editing is provided by the Readline library, which is used by "
  36. "several different programs, including Bash. Command line editing is enabled "
  37. "by default when using an interactive shell, unless the @option{--noediting} "
  38. "option is supplied at shell invocation. Line editing is also used when "
  39. "using the @option{-e} option to the @code{read} builtin command (@pxref{Bash "
  40. "Builtins}). By default, the line editing commands are similar to those of "
  41. "Emacs. A vi-style line editing interface is also available. Line editing "
  42. "can be enabled at any time using the @option{-o emacs} or @option{-o vi} "
  43. "options to the @code{set} builtin command (@pxref{The Set Builtin}), or "
  44. "disabled using the @option{+o emacs} or @option{+o vi} options to @code{set}."
  45. msgstr ""
  46. #. type: node
  47. #: rluser.texi:70 rluser.texi:80
  48. #, no-wrap
  49. msgid "Introduction and Notation"
  50. msgstr ""
  51. #. type: menuentry
  52. #: rluser.texi:70
  53. msgid "Notation used in this text."
  54. msgstr ""
  55. #. type: section
  56. #: rluser.texi:70 rluser.texi:118 rluser.texi:119
  57. #, no-wrap
  58. msgid "Readline Interaction"
  59. msgstr ""
  60. #. type: menuentry
  61. #: rluser.texi:70
  62. msgid "The minimum set of commands for editing a line."
  63. msgstr ""
  64. #. type: section
  65. #: rluser.texi:70 rluser.texi:334 rluser.texi:335
  66. #, no-wrap
  67. msgid "Readline Init File"
  68. msgstr "Archivo de Inicialización de Readline"
  69. #. type: menuentry
  70. #: rluser.texi:70
  71. msgid "Customizing Readline from a user's view."
  72. msgstr ""
  73. #. type: section
  74. #: rluser.texi:70 rluser.texi:1080 rluser.texi:1081
  75. #, no-wrap
  76. msgid "Bindable Readline Commands"
  77. msgstr ""
  78. #. type: menuentry
  79. #: rluser.texi:70
  80. msgid "A description of most of the Readline commands available for binding"
  81. msgstr ""
  82. #. type: section
  83. #: rluser.texi:70 rluser.texi:1746 rluser.texi:1747
  84. #, no-wrap
  85. msgid "Readline vi Mode"
  86. msgstr ""
  87. #. type: menuentry
  88. #: rluser.texi:70
  89. msgid "A short description of how to make Readline behave like the vi editor."
  90. msgstr ""
  91. #. type: ifset
  92. #: rluser.texi:77
  93. msgid ""
  94. "* Programmable Completion::\tHow to specify the possible completions for a "
  95. "specific command. * Programmable Completion Builtins::\tBuiltin commands to "
  96. "specify how to complete arguments for a particular command. * A "
  97. "Programmable Completion Example::\tAn example shell function for generating "
  98. "possible completions."
  99. msgstr ""
  100. #. type: section
  101. #: rluser.texi:81
  102. #, no-wrap
  103. msgid "Introduction to Line Editing"
  104. msgstr ""
  105. #. type: Plain text
  106. #: rluser.texi:85
  107. msgid ""
  108. "The following paragraphs describe the notation used to represent keystrokes."
  109. msgstr ""
  110. #. type: Plain text
  111. #: rluser.texi:89
  112. msgid ""
  113. "The text @kbd{C-k} is read as `Control-K' and describes the character "
  114. "produced when the @key{k} key is pressed while the Control key is depressed."
  115. msgstr ""
  116. #. type: Plain text
  117. #: rluser.texi:100
  118. msgid ""
  119. "The text @kbd{M-k} is read as `Meta-K' and describes the character produced "
  120. "when the Meta key (if you have one) is depressed, and the @key{k} key is "
  121. "pressed. The Meta key is labeled @key{ALT} on many keyboards. On keyboards "
  122. "with two keys labeled @key{ALT} (usually to either side of the space bar), "
  123. "the @key{ALT} on the left side is generally set to work as a Meta key. The "
  124. "@key{ALT} key on the right may also be configured to work as a Meta key or "
  125. "may be configured as some other modifier, such as a Compose key for typing "
  126. "accented characters."
  127. msgstr ""
  128. #. type: Plain text
  129. #: rluser.texi:105
  130. msgid ""
  131. "If you do not have a Meta or @key{ALT} key, or another key working as a Meta "
  132. "key, the identical keystroke can be generated by typing @key{ESC} "
  133. "@emph{first}, and then typing @key{k}. Either process is known as "
  134. "@dfn{metafying} the @key{k} key."
  135. msgstr ""
  136. #. type: Plain text
  137. #: rluser.texi:108
  138. msgid ""
  139. "The text @kbd{M-C-k} is read as `Meta-Control-k' and describes the character "
  140. "produced by @dfn{metafying} @kbd{C-k}."
  141. msgstr ""
  142. #. type: Plain text
  143. #: rluser.texi:117
  144. msgid ""
  145. "In addition, several keys have their own names. Specifically, @key{DEL}, "
  146. "@key{ESC}, @key{LFD}, @key{SPC}, @key{RET}, and @key{TAB} all stand for "
  147. "themselves when seen in this text, or in an init file (@pxref{Readline Init "
  148. "File}). If your keyboard lacks a @key{LFD} key, typing @key{C-j} will "
  149. "produce the desired character. The @key{RET} key may be labeled "
  150. "@key{Return} or @key{Enter} on some keyboards."
  151. msgstr ""
  152. #. type: cindex
  153. #: rluser.texi:120
  154. #, no-wrap
  155. msgid "interaction, readline"
  156. msgstr ""
  157. #. type: Plain text
  158. #: rluser.texi:132
  159. msgid ""
  160. "Often during an interactive session you type in a long line of text, only to "
  161. "notice that the first word on the line is misspelled. The Readline library "
  162. "gives you a set of commands for manipulating the text as you type it in, "
  163. "allowing you to just fix your typo, and not forcing you to retype the "
  164. "majority of the line. Using these editing commands, you move the cursor to "
  165. "the place that needs correction, and delete or insert the text of the "
  166. "corrections. Then, when you are satisfied with the line, you simply press "
  167. "@key{RET}. You do not have to be at the end of the line to press @key{RET}; "
  168. "the entire line is accepted regardless of the location of the cursor within "
  169. "the line."
  170. msgstr ""
  171. #. type: subsection
  172. #: rluser.texi:139 rluser.texi:141 rluser.texi:142
  173. #, no-wrap
  174. msgid "Readline Bare Essentials"
  175. msgstr ""
  176. #. type: menuentry
  177. #: rluser.texi:139
  178. msgid "The least you need to know about Readline."
  179. msgstr ""
  180. #. type: subsection
  181. #: rluser.texi:139 rluser.texi:187 rluser.texi:188
  182. #, no-wrap
  183. msgid "Readline Movement Commands"
  184. msgstr ""
  185. #. type: menuentry
  186. #: rluser.texi:139
  187. msgid "Moving about the input line."
  188. msgstr ""
  189. #. type: subsection
  190. #: rluser.texi:139 rluser.texi:214 rluser.texi:215
  191. #, no-wrap
  192. msgid "Readline Killing Commands"
  193. msgstr ""
  194. #. type: menuentry
  195. #: rluser.texi:139
  196. msgid "How to delete text, and how to get it back!"
  197. msgstr ""
  198. #. type: subsection
  199. #: rluser.texi:139 rluser.texi:271 rluser.texi:272
  200. #, no-wrap
  201. msgid "Readline Arguments"
  202. msgstr ""
  203. #. type: menuentry
  204. #: rluser.texi:139
  205. msgid "Giving numeric arguments to commands."
  206. msgstr ""
  207. #. type: node
  208. #: rluser.texi:139 rluser.texi:289
  209. #, no-wrap
  210. msgid "Searching"
  211. msgstr ""
  212. #. type: menuentry
  213. #: rluser.texi:139
  214. msgid "Searching through previous lines."
  215. msgstr ""
  216. #. type: cindex
  217. #: rluser.texi:143
  218. #, no-wrap
  219. msgid "notation, readline"
  220. msgstr ""
  221. #. type: cindex
  222. #: rluser.texi:144
  223. #, no-wrap
  224. msgid "command editing"
  225. msgstr ""
  226. #. type: cindex
  227. #: rluser.texi:145
  228. #, no-wrap
  229. msgid "editing command lines"
  230. msgstr ""
  231. #. type: Plain text
  232. #: rluser.texi:151
  233. msgid ""
  234. "In order to enter characters into the line, simply type them. The typed "
  235. "character appears where the cursor was, and then the cursor moves one space "
  236. "to the right. If you mistype a character, you can use your erase character "
  237. "to back up and delete the mistyped character."
  238. msgstr ""
  239. #. type: Plain text
  240. #: rluser.texi:157
  241. msgid ""
  242. "Sometimes you may mistype a character, and not notice the error until you "
  243. "have typed several other characters. In that case, you can type @kbd{C-b} "
  244. "to move the cursor to the left, and then correct your mistake. Afterwards, "
  245. "you can move the cursor to the right with @kbd{C-f}."
  246. msgstr ""
  247. #. type: Plain text
  248. #: rluser.texi:164
  249. msgid ""
  250. "When you add text in the middle of a line, you will notice that characters "
  251. "to the right of the cursor are `pushed over' to make room for the text that "
  252. "you have inserted. Likewise, when you delete text behind the cursor, "
  253. "characters to the right of the cursor are `pulled back' to fill in the blank "
  254. "space created by the removal of the text. A list of the bare essentials for "
  255. "editing the text of an input line follows."
  256. msgstr ""
  257. #. type: kbd{#1}
  258. #: rluser.texi:166
  259. #, no-wrap
  260. msgid "C-b"
  261. msgstr ""
  262. #. type: table
  263. #: rluser.texi:168
  264. msgid "Move back one character."
  265. msgstr ""
  266. #. type: kbd{#1}
  267. #: rluser.texi:168
  268. #, no-wrap
  269. msgid "C-f"
  270. msgstr ""
  271. #. type: table
  272. #: rluser.texi:170
  273. msgid "Move forward one character."
  274. msgstr ""
  275. #. type: item
  276. #: rluser.texi:170
  277. #, no-wrap
  278. msgid "@key{DEL} or @key{Backspace}"
  279. msgstr ""
  280. #. type: table
  281. #: rluser.texi:172
  282. msgid "Delete the character to the left of the cursor."
  283. msgstr ""
  284. #. type: kbd{#1}
  285. #: rluser.texi:172
  286. #, no-wrap
  287. msgid "C-d"
  288. msgstr ""
  289. #. type: table
  290. #: rluser.texi:174
  291. msgid "Delete the character underneath the cursor."
  292. msgstr ""
  293. #. type: w{#1}
  294. #: rluser.texi:174
  295. #, no-wrap
  296. msgid "Printing characters"
  297. msgstr ""
  298. #. type: table
  299. #: rluser.texi:176
  300. msgid "Insert the character into the line at the cursor."
  301. msgstr ""
  302. #. type: item
  303. #: rluser.texi:176
  304. #, no-wrap
  305. msgid "@kbd{C-_} or @kbd{C-x C-u}"
  306. msgstr ""
  307. #. type: table
  308. #: rluser.texi:179
  309. msgid ""
  310. "Undo the last editing command. You can undo all the way back to an empty "
  311. "line."
  312. msgstr ""
  313. #. type: Plain text
  314. #: rluser.texi:186
  315. msgid ""
  316. "(Depending on your configuration, the @key{Backspace} key be set to delete "
  317. "the character to the left of the cursor and the @key{DEL} key set to delete "
  318. "the character underneath the cursor, like @kbd{C-d}, rather than the "
  319. "character to the left of the cursor.)"
  320. msgstr ""
  321. #. type: Plain text
  322. #: rluser.texi:196
  323. msgid ""
  324. "The above table describes the most basic keystrokes that you need in order "
  325. "to do editing of the input line. For your convenience, many other commands "
  326. "have been added in addition to @kbd{C-b}, @kbd{C-f}, @kbd{C-d}, and "
  327. "@key{DEL}. Here are some commands for moving more rapidly about the line."
  328. msgstr ""
  329. #. type: item
  330. #: rluser.texi:198
  331. #, no-wrap
  332. msgid "C-a"
  333. msgstr ""
  334. #. type: table
  335. #: rluser.texi:200
  336. msgid "Move to the start of the line."
  337. msgstr ""
  338. #. type: item
  339. #: rluser.texi:200
  340. #, no-wrap
  341. msgid "C-e"
  342. msgstr ""
  343. #. type: Plain text
  344. #: rluser.texi:202 rluser.texi:1116
  345. msgid "Move to the end of the line."
  346. msgstr ""
  347. #. type: item
  348. #: rluser.texi:202
  349. #, no-wrap
  350. msgid "M-f"
  351. msgstr ""
  352. #. type: table
  353. #: rluser.texi:204
  354. msgid "Move forward a word, where a word is composed of letters and digits."
  355. msgstr ""
  356. #. type: item
  357. #: rluser.texi:204
  358. #, no-wrap
  359. msgid "M-b"
  360. msgstr ""
  361. #. type: table
  362. #: rluser.texi:206
  363. msgid "Move backward a word."
  364. msgstr ""
  365. #. type: item
  366. #: rluser.texi:206
  367. #, no-wrap
  368. msgid "C-l"
  369. msgstr ""
  370. #. type: table
  371. #: rluser.texi:208
  372. msgid "Clear the screen, reprinting the current line at the top."
  373. msgstr ""
  374. #. type: Plain text
  375. #: rluser.texi:213
  376. msgid ""
  377. "Notice how @kbd{C-f} moves forward a character, while @kbd{M-f} moves "
  378. "forward a word. It is a loose convention that control keystrokes operate on "
  379. "characters while meta keystrokes operate on words."
  380. msgstr ""
  381. #. type: cindex
  382. #: rluser.texi:217
  383. #, no-wrap
  384. msgid "killing text"
  385. msgstr ""
  386. #. type: cindex
  387. #: rluser.texi:218
  388. #, no-wrap
  389. msgid "yanking text"
  390. msgstr ""
  391. #. type: Plain text
  392. #: rluser.texi:224
  393. msgid ""
  394. "@dfn{Killing} text means to delete the text from the line, but to save it "
  395. "away for later use, usually by @dfn{yanking} (re-inserting) it back into "
  396. "the line. (`Cut' and `paste' are more recent jargon for `kill' and `yank'.)"
  397. msgstr ""
  398. #. type: Plain text
  399. #: rluser.texi:228
  400. msgid ""
  401. "If the description for a command says that it `kills' text, then you can be "
  402. "sure that you can get the text back in a different (or the same) place "
  403. "later."
  404. msgstr ""
  405. #. type: Plain text
  406. #: rluser.texi:235
  407. msgid ""
  408. "When you use a kill command, the text is saved in a @dfn{kill-ring}. Any "
  409. "number of consecutive kills save all of the killed text together, so that "
  410. "when you yank it back, you get it all. The kill ring is not line specific; "
  411. "the text that you killed on a previously typed line is available to be "
  412. "yanked back later, when you are typing another line."
  413. msgstr ""
  414. #. type: cindex
  415. #: rluser.texi:235
  416. #, no-wrap
  417. msgid "kill ring"
  418. msgstr ""
  419. #. type: Plain text
  420. #: rluser.texi:238
  421. msgid "Here is the list of commands for killing text."
  422. msgstr ""
  423. #. type: item
  424. #: rluser.texi:240
  425. #, no-wrap
  426. msgid "C-k"
  427. msgstr ""
  428. #. type: table
  429. #: rluser.texi:242
  430. msgid "Kill the text from the current cursor position to the end of the line."
  431. msgstr ""
  432. #. type: item
  433. #: rluser.texi:243
  434. #, no-wrap
  435. msgid "M-d"
  436. msgstr ""
  437. #. type: table
  438. #: rluser.texi:247
  439. msgid ""
  440. "Kill from the cursor to the end of the current word, or, if between words, "
  441. "to the end of the next word. Word boundaries are the same as those used by "
  442. "@kbd{M-f}."
  443. msgstr ""
  444. #. type: item
  445. #: rluser.texi:248
  446. #, no-wrap
  447. msgid "M-@key{DEL}"
  448. msgstr ""
  449. #. type: table
  450. #: rluser.texi:252
  451. msgid ""
  452. "Kill from the cursor the start of the current word, or, if between words, to "
  453. "the start of the previous word. Word boundaries are the same as those used "
  454. "by @kbd{M-b}."
  455. msgstr ""
  456. #. type: item
  457. #: rluser.texi:253
  458. #, no-wrap
  459. msgid "C-w"
  460. msgstr ""
  461. #. type: table
  462. #: rluser.texi:256
  463. msgid ""
  464. "Kill from the cursor to the previous whitespace. This is different than "
  465. "@kbd{M-@key{DEL}} because the word boundaries differ."
  466. msgstr ""
  467. #. type: Plain text
  468. #: rluser.texi:261
  469. msgid ""
  470. "Here is how to @dfn{yank} the text back into the line. Yanking means to "
  471. "copy the most-recently-killed text from the kill buffer."
  472. msgstr ""
  473. #. type: item
  474. #: rluser.texi:263
  475. #, no-wrap
  476. msgid "C-y"
  477. msgstr ""
  478. #. type: table
  479. #: rluser.texi:265
  480. msgid "Yank the most recently killed text back into the buffer at the cursor."
  481. msgstr ""
  482. #. type: item
  483. #: rluser.texi:266
  484. #, no-wrap
  485. msgid "M-y"
  486. msgstr ""
  487. #. type: table
  488. #: rluser.texi:269
  489. msgid ""
  490. "Rotate the kill-ring, and yank the new top. You can only do this if the "
  491. "prior command is @kbd{C-y} or @kbd{M-y}."
  492. msgstr ""
  493. #. type: Plain text
  494. #: rluser.texi:280
  495. msgid ""
  496. "You can pass numeric arguments to Readline commands. Sometimes the argument "
  497. "acts as a repeat count, other times it is the @i{sign} of the argument that "
  498. "is significant. If you pass a negative argument to a command which normally "
  499. "acts in a forward direction, that command will act in a backward direction. "
  500. "For example, to kill text back to the start of the line, you might type "
  501. "@samp{M-- C-k}."
  502. msgstr ""
  503. #. type: Plain text
  504. #: rluser.texi:288
  505. msgid ""
  506. "The general way to pass numeric arguments to a command is to type meta "
  507. "digits before the command. If the first `digit' typed is a minus sign "
  508. "(@samp{-}), then the sign of the argument will be negative. Once you have "
  509. "typed one meta digit to get the argument started, you can type the remainder "
  510. "of the digits, and then the command. For example, to give the @kbd{C-d} "
  511. "command an argument of 10, you could type @samp{M-1 0 C-d}, which will "
  512. "delete the next ten characters on the input line."
  513. msgstr ""
  514. #. type: subsection
  515. #: rluser.texi:290
  516. #, no-wrap
  517. msgid "Searching for Commands in the History"
  518. msgstr ""
  519. #. type: Plain text
  520. #: rluser.texi:293
  521. msgid "Readline provides commands for searching through the command history"
  522. msgstr ""
  523. #. type: ifset
  524. #: rluser.texi:295
  525. msgid "(@pxref{Bash History Facilities})"
  526. msgstr ""
  527. #. type: Plain text
  528. #: rluser.texi:298
  529. msgid ""
  530. "for lines containing a specified string. There are two search modes: "
  531. "@dfn{incremental} and @dfn{non-incremental}."
  532. msgstr ""
  533. #. type: Plain text
  534. #: rluser.texi:314
  535. msgid ""
  536. "Incremental searches begin before the user has finished typing the search "
  537. "string. As each character of the search string is typed, Readline displays "
  538. "the next entry from the history matching the string typed so far. An "
  539. "incremental search requires only as many characters as needed to find the "
  540. "desired history entry. To search backward in the history for a particular "
  541. "string, type @kbd{C-r}. Typing @kbd{C-s} searches forward through the "
  542. "history. The characters present in the value of the @code{isearch-"
  543. "terminators} variable are used to terminate an incremental search. If that "
  544. "variable has not been assigned a value, the @key{ESC} and @kbd{C-J} "
  545. "characters will terminate an incremental search. @kbd{C-g} will abort an "
  546. "incremental search and restore the original line. When the search is "
  547. "terminated, the history entry containing the search string becomes the "
  548. "current line."
  549. msgstr ""
  550. #. type: Plain text
  551. #: rluser.texi:325
  552. msgid ""
  553. "To find other matching entries in the history list, type @kbd{C-r} or @kbd{C-"
  554. "s} as appropriate. This will search backward or forward in the history for "
  555. "the next entry matching the search string typed so far. Any other key "
  556. "sequence bound to a Readline command will terminate the search and execute "
  557. "that command. For instance, a @key{RET} will terminate the search and "
  558. "accept the line, thereby executing the command from the history list. A "
  559. "movement command will terminate the search, make the last line found the "
  560. "current line, and begin editing."
  561. msgstr ""
  562. #. type: Plain text
  563. #: rluser.texi:329
  564. msgid ""
  565. "Readline remembers the last incremental search string. If two @kbd{C-r}s "
  566. "are typed without any intervening characters defining a new search string, "
  567. "any remembered search string is used."
  568. msgstr ""
  569. #. type: Plain text
  570. #: rluser.texi:333
  571. msgid ""
  572. "Non-incremental searches read the entire search string before starting to "
  573. "search for matching history lines. The search string may be typed by the "
  574. "user or be part of the contents of the current line."
  575. msgstr ""
  576. #. type: cindex
  577. #: rluser.texi:336
  578. #, no-wrap
  579. msgid "initialization file, readline"
  580. msgstr ""
  581. #. type: Plain text
  582. #: rluser.texi:344
  583. msgid ""
  584. "Although the Readline library comes with a set of Emacs-like keybindings "
  585. "installed by default, it is possible to use a different set of keybindings. "
  586. "Any user can customize programs that use Readline by putting commands in an "
  587. "@dfn{inputrc} file, conventionally in his home directory. The name of this"
  588. msgstr ""
  589. #. type: ifset
  590. #: rluser.texi:346
  591. msgid "file is taken from the value of the shell variable @env{INPUTRC}. If"
  592. msgstr ""
  593. #. type: ifclear
  594. #: rluser.texi:349
  595. msgid ""
  596. "file is taken from the value of the environment variable @env{INPUTRC}. If"
  597. msgstr ""
  598. #. type: Plain text
  599. #: rluser.texi:353
  600. msgid ""
  601. "that variable is unset, the default is @file{~/.inputrc}. If that file does "
  602. "not exist or cannot be read, the ultimate default is @file{/etc/inputrc}."
  603. msgstr ""
  604. #. type: Plain text
  605. #: rluser.texi:356
  606. msgid ""
  607. "When a program which uses the Readline library starts up, the init file is "
  608. "read, and the key bindings are set."
  609. msgstr ""
  610. #. type: Plain text
  611. #: rluser.texi:359
  612. msgid ""
  613. "In addition, the @code{C-x C-r} command re-reads this init file, thus "
  614. "incorporating any changes that you might have made to it."
  615. msgstr ""
  616. #. type: subsection
  617. #: rluser.texi:362 rluser.texi:368 rluser.texi:369
  618. #, no-wrap
  619. msgid "Readline Init File Syntax"
  620. msgstr ""
  621. #. type: menuentry
  622. #: rluser.texi:362
  623. msgid "Syntax for the commands in the inputrc file."
  624. msgstr ""
  625. #. type: subsection
  626. #: rluser.texi:364 rluser.texi:905 rluser.texi:906
  627. #, no-wrap
  628. msgid "Conditional Init Constructs"
  629. msgstr ""
  630. #. type: menuentry
  631. #: rluser.texi:364
  632. msgid "Conditional key bindings in the inputrc file."
  633. msgstr ""
  634. #. type: subsection
  635. #: rluser.texi:366 rluser.texi:971 rluser.texi:972
  636. #, no-wrap
  637. msgid "Sample Init File"
  638. msgstr ""
  639. #. type: menuentry
  640. #: rluser.texi:366
  641. msgid "An example inputrc file."
  642. msgstr ""
  643. #. type: Plain text
  644. #: rluser.texi:377
  645. msgid ""
  646. "There are only a few basic constructs allowed in the Readline init file. "
  647. "Blank lines are ignored. Lines beginning with a @samp{#} are comments. "
  648. "Lines beginning with a @samp{$} indicate conditional constructs "
  649. "(@pxref{Conditional Init Constructs}). Other lines denote variable settings "
  650. "and key bindings."
  651. msgstr ""
  652. #. type: item
  653. #: rluser.texi:379
  654. #, no-wrap
  655. msgid "Variable Settings"
  656. msgstr ""
  657. #. type: table
  658. #: rluser.texi:384
  659. msgid ""
  660. "You can modify the run-time behavior of Readline by altering the values of "
  661. "variables in Readline using the @code{set} command within the init file. "
  662. "The syntax is simple:"
  663. msgstr ""
  664. #. type: example
  665. #: rluser.texi:387
  666. #, no-wrap
  667. msgid "set @var{variable} @var{value}\n"
  668. msgstr ""
  669. #. type: table
  670. #: rluser.texi:393
  671. msgid ""
  672. "Here, for example, is how to change from the default Emacs-like key binding "
  673. "to use @code{vi} line editing commands:"
  674. msgstr ""
  675. #. type: example
  676. #: rluser.texi:396
  677. #, no-wrap
  678. msgid "set editing-mode vi\n"
  679. msgstr ""
  680. #. type: table
  681. #: rluser.texi:400
  682. msgid ""
  683. "Variable names and values, where appropriate, are recognized without regard "
  684. "to case. Unrecognized variable names are ignored."
  685. msgstr ""
  686. #. type: table
  687. #: rluser.texi:404
  688. msgid ""
  689. "Boolean variables (those that can be set to on or off) are set to on if the "
  690. "value is null or empty, @var{on} (case-insensitive), or 1. Any other value "
  691. "results in the variable being set to off."
  692. msgstr ""
  693. #. type: ifset
  694. #: rluser.texi:408
  695. msgid ""
  696. "The @w{@code{bind -V}} command lists the current Readline variable names and "
  697. "values. @xref{Bash Builtins}."
  698. msgstr ""
  699. #. type: table
  700. #: rluser.texi:412
  701. msgid ""
  702. "A great deal of run-time behavior is changeable with the following variables."
  703. msgstr ""
  704. #. type: cindex
  705. #: rluser.texi:413
  706. #, no-wrap
  707. msgid "variables, readline"
  708. msgstr ""
  709. #. type: vindex
  710. #: rluser.texi:416 rluser.texi:417
  711. #, no-wrap
  712. msgid "bell-style"
  713. msgstr ""
  714. #. type: table
  715. #: rluser.texi:423
  716. msgid ""
  717. "Controls what happens when Readline wants to ring the terminal bell. If set "
  718. "to @samp{none}, Readline never rings the bell. If set to @samp{visible}, "
  719. "Readline uses a visible bell if one is available. If set to @samp{audible} "
  720. "(the default), Readline attempts to ring the terminal's bell."
  721. msgstr ""
  722. #. type: vindex
  723. #: rluser.texi:424 rluser.texi:425
  724. #, no-wrap
  725. msgid "bind-tty-special-chars"
  726. msgstr ""
  727. #. type: table
  728. #: rluser.texi:429
  729. msgid ""
  730. "If set to @samp{on} (the default), Readline attempts to bind the control "
  731. "characters treated specially by the kernel's terminal driver to their "
  732. "Readline equivalents."
  733. msgstr ""
  734. #. type: vindex
  735. #: rluser.texi:430 rluser.texi:431
  736. #, no-wrap
  737. msgid "blink-matching-paren"
  738. msgstr ""
  739. #. type: table
  740. #: rluser.texi:435
  741. msgid ""
  742. "If set to @samp{on}, Readline attempts to briefly move the cursor to an "
  743. "opening parenthesis when a closing parenthesis is inserted. The default is "
  744. "@samp{off}."
  745. msgstr ""
  746. #. type: vindex
  747. #: rluser.texi:436 rluser.texi:437
  748. #, no-wrap
  749. msgid "colored-completion-prefix"
  750. msgstr ""
  751. #. type: table
  752. #: rluser.texi:443
  753. msgid ""
  754. "If set to @samp{on}, when listing completions, Readline displays the common "
  755. "prefix of the set of possible completions using a different color. The "
  756. "color definitions are taken from the value of the @env{LS_COLORS} "
  757. "environment variable. The default is @samp{off}."
  758. msgstr ""
  759. #. type: vindex
  760. #: rluser.texi:444 rluser.texi:445
  761. #, no-wrap
  762. msgid "colored-stats"
  763. msgstr ""
  764. #. type: table
  765. #: rluser.texi:451
  766. msgid ""
  767. "If set to @samp{on}, Readline displays possible completions using different "
  768. "colors to indicate their file type. The color definitions are taken from "
  769. "the value of the @env{LS_COLORS} environment variable. The default is "
  770. "@samp{off}."
  771. msgstr ""
  772. #. type: vindex
  773. #: rluser.texi:452 rluser.texi:453
  774. #, no-wrap
  775. msgid "comment-begin"
  776. msgstr ""
  777. #. type: table
  778. #: rluser.texi:457
  779. msgid ""
  780. "The string to insert at the beginning of the line when the @code{insert-"
  781. "comment} command is executed. The default value is @code{\"#\"}."
  782. msgstr ""
  783. #. type: vindex
  784. #: rluser.texi:458 rluser.texi:459
  785. #, no-wrap
  786. msgid "completion-display-width"
  787. msgstr ""
  788. #. type: table
  789. #: rluser.texi:466
  790. msgid ""
  791. "The number of screen columns used to display possible matches when "
  792. "performing completion. The value is ignored if it is less than 0 or greater "
  793. "than the terminal screen width. A value of 0 will cause matches to be "
  794. "displayed one per line. The default value is -1."
  795. msgstr ""
  796. #. type: vindex
  797. #: rluser.texi:467 rluser.texi:468
  798. #, no-wrap
  799. msgid "completion-ignore-case"
  800. msgstr ""
  801. #. type: table
  802. #: rluser.texi:472
  803. msgid ""
  804. "If set to @samp{on}, Readline performs filename matching and completion in a "
  805. "case-insensitive fashion. The default value is @samp{off}."
  806. msgstr ""
  807. #. type: vindex
  808. #: rluser.texi:473 rluser.texi:474
  809. #, no-wrap
  810. msgid "completion-map-case"
  811. msgstr ""
  812. #. type: table
  813. #: rluser.texi:478
  814. msgid ""
  815. "If set to @samp{on}, and @var{completion-ignore-case} is enabled, Readline "
  816. "treats hyphens (@samp{-}) and underscores (@samp{_}) as equivalent when "
  817. "performing case-insensitive filename matching and completion."
  818. msgstr ""
  819. #. type: vindex
  820. #: rluser.texi:479 rluser.texi:480
  821. #, no-wrap
  822. msgid "completion-prefix-display-length"
  823. msgstr ""
  824. #. type: table
  825. #: rluser.texi:485
  826. msgid ""
  827. "The length in characters of the common prefix of a list of possible "
  828. "completions that is displayed without modification. When set to a value "
  829. "greater than zero, common prefixes longer than this value are replaced with "
  830. "an ellipsis when displaying possible completions."
  831. msgstr ""
  832. #. type: vindex
  833. #: rluser.texi:486 rluser.texi:487
  834. #, no-wrap
  835. msgid "completion-query-items"
  836. msgstr ""
  837. #. type: table
  838. #: rluser.texi:496
  839. msgid ""
  840. "The number of possible completions that determines when the user is asked "
  841. "whether the list of possibilities should be displayed. If the number of "
  842. "possible completions is greater than this value, Readline will ask the user "
  843. "whether or not he wishes to view them; otherwise, they are simply listed. "
  844. "This variable must be set to an integer value greater than or equal to 0. A "
  845. "negative value means Readline should never ask. The default limit is "
  846. "@code{100}."
  847. msgstr ""
  848. #. type: vindex
  849. #: rluser.texi:497 rluser.texi:498
  850. #, no-wrap
  851. msgid "convert-meta"
  852. msgstr ""
  853. #. type: table
  854. #: rluser.texi:505
  855. msgid ""
  856. "If set to @samp{on}, Readline will convert characters with the eighth bit "
  857. "set to an @sc{ascii} key sequence by stripping the eighth bit and prefixing "
  858. "an @key{ESC} character, converting them to a meta-prefixed key sequence. "
  859. "The default value is @samp{on}, but will be set to @samp{off} if the locale "
  860. "is one that contains eight-bit characters."
  861. msgstr ""
  862. #. type: vindex
  863. #: rluser.texi:506 rluser.texi:507
  864. #, no-wrap
  865. msgid "disable-completion"
  866. msgstr ""
  867. #. type: table
  868. #: rluser.texi:511
  869. msgid ""
  870. "If set to @samp{On}, Readline will inhibit word completion. Completion "
  871. "characters will be inserted into the line as if they had been mapped to "
  872. "@code{self-insert}. The default is @samp{off}."
  873. msgstr ""
  874. #. type: vindex
  875. #: rluser.texi:512 rluser.texi:513
  876. #, no-wrap
  877. msgid "echo-control-characters"
  878. msgstr ""
  879. #. type: table
  880. #: rluser.texi:517
  881. msgid ""
  882. "When set to @samp{on}, on operating systems that indicate they support it, "
  883. "readline echoes a character corresponding to a signal generated from the "
  884. "keyboard. The default is @samp{on}."
  885. msgstr ""
  886. #. type: vindex
  887. #: rluser.texi:518 rluser.texi:519
  888. #, no-wrap
  889. msgid "editing-mode"
  890. msgstr ""
  891. #. type: table
  892. #: rluser.texi:524
  893. msgid ""
  894. "The @code{editing-mode} variable controls which default set of key bindings "
  895. "is used. By default, Readline starts up in Emacs editing mode, where the "
  896. "keystrokes are most similar to Emacs. This variable can be set to either "
  897. "@samp{emacs} or @samp{vi}."
  898. msgstr ""
  899. #. type: vindex
  900. #: rluser.texi:525 rluser.texi:526
  901. #, no-wrap
  902. msgid "emacs-mode-string"
  903. msgstr ""
  904. #. type: table
  905. #: rluser.texi:535
  906. msgid ""
  907. "This string is displayed immediately before the last line of the primary "
  908. "prompt when emacs editing mode is active. The value is expanded like a key "
  909. "binding, so the standard set of meta- and control prefixes and backslash "
  910. "escape sequences is available. Use the @samp{\\1} and @samp{\\2} escapes to "
  911. "begin and end sequences of non-printing characters, which can be used to "
  912. "embed a terminal control sequence into the mode string. The default is "
  913. "@samp{@@}."
  914. msgstr ""
  915. #. type: vindex
  916. #: rluser.texi:536 rluser.texi:537
  917. #, no-wrap
  918. msgid "enable-bracketed-paste"
  919. msgstr ""
  920. #. type: table
  921. #: rluser.texi:543
  922. msgid ""
  923. "When set to @samp{On}, Readline will configure the terminal in a way that "
  924. "will enable it to insert each paste into the editing buffer as a single "
  925. "string of characters, instead of treating each character as if it had been "
  926. "read from the keyboard. This can prevent pasted characters from being "
  927. "interpreted as editing commands. The default is @samp{off}."
  928. msgstr ""
  929. #. type: vindex
  930. #: rluser.texi:544 rluser.texi:545
  931. #, no-wrap
  932. msgid "enable-keypad"
  933. msgstr ""
  934. #. type: table
  935. #: rluser.texi:549
  936. msgid ""
  937. "When set to @samp{on}, Readline will try to enable the application keypad "
  938. "when it is called. Some systems need this to enable the arrow keys. The "
  939. "default is @samp{off}."
  940. msgstr ""
  941. #. type: item
  942. #: rluser.texi:550
  943. #, no-wrap
  944. msgid "enable-meta-key"
  945. msgstr ""
  946. #. type: table
  947. #: rluser.texi:555
  948. msgid ""
  949. "When set to @samp{on}, Readline will try to enable any meta modifier key the "
  950. "terminal claims to support when it is called. On many terminals, the meta "
  951. "key is used to send eight-bit characters. The default is @samp{on}."
  952. msgstr ""
  953. #. type: vindex
  954. #: rluser.texi:556 rluser.texi:557
  955. #, no-wrap
  956. msgid "expand-tilde"
  957. msgstr ""
  958. #. type: table
  959. #: rluser.texi:560
  960. msgid ""
  961. "If set to @samp{on}, tilde expansion is performed when Readline attempts "
  962. "word completion. The default is @samp{off}."
  963. msgstr ""
  964. #. type: vindex
  965. #: rluser.texi:561 rluser.texi:562
  966. #, no-wrap
  967. msgid "history-preserve-point"
  968. msgstr ""
  969. #. type: table
  970. #: rluser.texi:567
  971. msgid ""
  972. "If set to @samp{on}, the history code attempts to place the point (the "
  973. "current cursor position) at the same location on each history line retrieved "
  974. "with @code{previous-history} or @code{next-history}. The default is "
  975. "@samp{off}."
  976. msgstr ""
  977. #. type: vindex
  978. #: rluser.texi:568 rluser.texi:569
  979. #, no-wrap
  980. msgid "history-size"
  981. msgstr ""
  982. #. type: table
  983. #: rluser.texi:578
  984. msgid ""
  985. "Set the maximum number of history entries saved in the history list. If set "
  986. "to zero, any existing history entries are deleted and no new entries are "
  987. "saved. If set to a value less than zero, the number of history entries is "
  988. "not limited. By default, the number of history entries is not limited. If "
  989. "an attempt is made to set @var{history-size} to a non-numeric value, the "
  990. "maximum number of history entries will be set to 500."
  991. msgstr ""
  992. #. type: vindex
  993. #: rluser.texi:579 rluser.texi:580
  994. #, no-wrap
  995. msgid "horizontal-scroll-mode"
  996. msgstr ""
  997. #. type: table
  998. #: rluser.texi:586
  999. msgid ""
  1000. "This variable can be set to either @samp{on} or @samp{off}. Setting it to "
  1001. "@samp{on} means that the text of the lines being edited will scroll "
  1002. "horizontally on a single screen line when they are longer than the width of "
  1003. "the screen, instead of wrapping onto a new screen line. By default, this "
  1004. "variable is set to @samp{off}."
  1005. msgstr ""
  1006. #. type: vindex
  1007. #: rluser.texi:587 rluser.texi:588
  1008. #, no-wrap
  1009. msgid "input-meta"
  1010. msgstr ""
  1011. #. type: vindex
  1012. #: rluser.texi:589
  1013. #, no-wrap
  1014. msgid "meta-flag"
  1015. msgstr ""
  1016. #. type: table
  1017. #: rluser.texi:596
  1018. msgid ""
  1019. "If set to @samp{on}, Readline will enable eight-bit input (it will not clear "
  1020. "the eighth bit in the characters it reads), regardless of what the terminal "
  1021. "claims it can support. The default value is @samp{off}, but Readline will "
  1022. "set it to @samp{on} if the locale contains eight-bit characters. The name "
  1023. "@code{meta-flag} is a synonym for this variable."
  1024. msgstr ""
  1025. #. type: vindex
  1026. #: rluser.texi:597 rluser.texi:598
  1027. #, no-wrap
  1028. msgid "isearch-terminators"
  1029. msgstr ""
  1030. #. type: table
  1031. #: rluser.texi:603
  1032. msgid ""
  1033. "The string of characters that should terminate an incremental search without "
  1034. "subsequently executing the character as a command (@pxref{Searching}). If "
  1035. "this variable has not been given a value, the characters @key{ESC} and "
  1036. "@kbd{C-J} will terminate an incremental search."
  1037. msgstr ""
  1038. #. type: vindex
  1039. #: rluser.texi:604 rluser.texi:605
  1040. #, no-wrap
  1041. msgid "keymap"
  1042. msgstr ""
  1043. #. type: table
  1044. #: rluser.texi:621
  1045. msgid ""
  1046. "Sets Readline's idea of the current keymap for key binding commands. "
  1047. "Acceptable @code{keymap} names are @code{emacs}, @code{emacs-standard}, "
  1048. "@code{emacs-meta}, @code{emacs-ctlx}, @code{vi}, @code{vi-move}, @code{vi-"
  1049. "command}, and @code{vi-insert}. @code{vi} is equivalent to @code{vi-"
  1050. "command} (@code{vi-move} is also a synonym); @code{emacs} is equivalent to "
  1051. "@code{emacs-standard}. The default value is @code{emacs}. The value of the "
  1052. "@code{editing-mode} variable also affects the default keymap."
  1053. msgstr ""
  1054. #. type: item
  1055. #: rluser.texi:622
  1056. #, no-wrap
  1057. msgid "keyseq-timeout"
  1058. msgstr ""
  1059. #. type: table
  1060. #: rluser.texi:637
  1061. msgid ""
  1062. "Specifies the duration Readline will wait for a character when reading an "
  1063. "ambiguous key sequence (one that can form a complete key sequence using the "
  1064. "input read so far, or can take additional input to complete a longer key "
  1065. "sequence). If no input is received within the timeout, Readline will use "
  1066. "the shorter but complete key sequence. Readline uses this value to "
  1067. "determine whether or not input is available on the current input source "
  1068. "(@code{rl_instream} by default). The value is specified in milliseconds, so "
  1069. "a value of 1000 means that Readline will wait one second for additional "
  1070. "input. If this variable is set to a value less than or equal to zero, or to "
  1071. "a non-numeric value, Readline will wait until another key is pressed to "
  1072. "decide which key sequence to complete. The default value is @code{500}."
  1073. msgstr ""
  1074. #. type: item
  1075. #: rluser.texi:638
  1076. #, no-wrap
  1077. msgid "mark-directories"
  1078. msgstr ""
  1079. #. type: table
  1080. #: rluser.texi:641
  1081. msgid ""
  1082. "If set to @samp{on}, completed directory names have a slash appended. The "
  1083. "default is @samp{on}."
  1084. msgstr ""
  1085. #. type: vindex
  1086. #: rluser.texi:642 rluser.texi:643
  1087. #, no-wrap
  1088. msgid "mark-modified-lines"
  1089. msgstr ""
  1090. #. type: table
  1091. #: rluser.texi:647
  1092. msgid ""
  1093. "This variable, when set to @samp{on}, causes Readline to display an asterisk "
  1094. "(@samp{*}) at the start of history lines which have been modified. This "
  1095. "variable is @samp{off} by default."
  1096. msgstr ""
  1097. #. type: vindex
  1098. #: rluser.texi:648 rluser.texi:649
  1099. #, no-wrap
  1100. msgid "mark-symlinked-directories"
  1101. msgstr ""
  1102. #. type: table
  1103. #: rluser.texi:654
  1104. msgid ""
  1105. "If set to @samp{on}, completed names which are symbolic links to directories "
  1106. "have a slash appended (subject to the value of @code{mark-directories}). "
  1107. "The default is @samp{off}."
  1108. msgstr ""
  1109. #. type: vindex
  1110. #: rluser.texi:655 rluser.texi:656
  1111. #, no-wrap
  1112. msgid "match-hidden-files"
  1113. msgstr ""
  1114. #. type: table
  1115. #: rluser.texi:663
  1116. msgid ""
  1117. "This variable, when set to @samp{on}, causes Readline to match files whose "
  1118. "names begin with a @samp{.} (hidden files) when performing filename "
  1119. "completion. If set to @samp{off}, the leading @samp{.} must be supplied by "
  1120. "the user in the filename to be completed. This variable is @samp{on} by "
  1121. "default."
  1122. msgstr ""
  1123. #. type: vindex
  1124. #: rluser.texi:664 rluser.texi:665
  1125. #, no-wrap
  1126. msgid "menu-complete-display-prefix"
  1127. msgstr ""
  1128. #. type: table
  1129. #: rluser.texi:669
  1130. msgid ""
  1131. "If set to @samp{on}, menu completion displays the common prefix of the list "
  1132. "of possible completions (which may be empty) before cycling through the "
  1133. "list. The default is @samp{off}."
  1134. msgstr ""
  1135. #. type: vindex
  1136. #: rluser.texi:670 rluser.texi:671
  1137. #, no-wrap
  1138. msgid "output-meta"
  1139. msgstr ""
  1140. #. type: table
  1141. #: rluser.texi:677
  1142. msgid ""
  1143. "If set to @samp{on}, Readline will display characters with the eighth bit "
  1144. "set directly rather than as a meta-prefixed escape sequence. The default is "
  1145. "@samp{off}, but Readline will set it to @samp{on} if the locale contains "
  1146. "eight-bit characters."
  1147. msgstr ""
  1148. #. type: vindex
  1149. #: rluser.texi:678 rluser.texi:679
  1150. #, no-wrap
  1151. msgid "page-completions"
  1152. msgstr ""
  1153. #. type: table
  1154. #: rluser.texi:683
  1155. msgid ""
  1156. "If set to @samp{on}, Readline uses an internal @code{more}-like pager to "
  1157. "display a screenful of possible completions at a time. This variable is "
  1158. "@samp{on} by default."
  1159. msgstr ""
  1160. #. type: item
  1161. #: rluser.texi:684
  1162. #, no-wrap
  1163. msgid "print-completions-horizontally"
  1164. msgstr ""
  1165. #. type: table
  1166. #: rluser.texi:688
  1167. msgid ""
  1168. "If set to @samp{on}, Readline will display completions with matches sorted "
  1169. "horizontally in alphabetical order, rather than down the screen. The "
  1170. "default is @samp{off}."
  1171. msgstr ""
  1172. #. type: vindex
  1173. #: rluser.texi:689 rluser.texi:690
  1174. #, no-wrap
  1175. msgid "revert-all-at-newline"
  1176. msgstr ""
  1177. #. type: table
  1178. #: rluser.texi:695
  1179. msgid ""
  1180. "If set to @samp{on}, Readline will undo all changes to history lines before "
  1181. "returning when @code{accept-line} is executed. By default, history lines "
  1182. "may be modified and retain individual undo lists across calls to "
  1183. "@code{readline}. The default is @samp{off}."
  1184. msgstr ""
  1185. #. type: vindex
  1186. #: rluser.texi:696 rluser.texi:697
  1187. #, no-wrap
  1188. msgid "show-all-if-ambiguous"
  1189. msgstr ""
  1190. #. type: table
  1191. #: rluser.texi:703
  1192. msgid ""
  1193. "This alters the default behavior of the completion functions. If set to "
  1194. "@samp{on}, words which have more than one possible completion cause the "
  1195. "matches to be listed immediately instead of ringing the bell. The default "
  1196. "value is @samp{off}."
  1197. msgstr ""
  1198. #. type: vindex
  1199. #: rluser.texi:704 rluser.texi:705
  1200. #, no-wrap
  1201. msgid "show-all-if-unmodified"
  1202. msgstr ""
  1203. #. type: table
  1204. #: rluser.texi:714
  1205. msgid ""
  1206. "This alters the default behavior of the completion functions in a fashion "
  1207. "similar to @var{show-all-if-ambiguous}. If set to @samp{on}, words which "
  1208. "have more than one possible completion without any possible partial "
  1209. "completion (the possible completions don't share a common prefix) cause the "
  1210. "matches to be listed immediately instead of ringing the bell. The default "
  1211. "value is @samp{off}."
  1212. msgstr ""
  1213. #. type: vindex
  1214. #: rluser.texi:715 rluser.texi:716
  1215. #, no-wrap
  1216. msgid "show-mode-in-prompt"
  1217. msgstr ""
  1218. #. type: table
  1219. #: rluser.texi:721
  1220. msgid ""
  1221. "If set to @samp{on}, add a character to the beginning of the prompt "
  1222. "indicating the editing mode: emacs, vi command, or vi insertion. The mode "
  1223. "strings are user-settable. The default value is @samp{off}."
  1224. msgstr ""
  1225. #. type: vindex
  1226. #: rluser.texi:722 rluser.texi:723
  1227. #, no-wrap
  1228. msgid "skip-completed-text"
  1229. msgstr ""
  1230. #. type: table
  1231. #: rluser.texi:735
  1232. msgid ""
  1233. "If set to @samp{on}, this alters the default completion behavior when "
  1234. "inserting a single match into the line. It's only active when performing "
  1235. "completion in the middle of a word. If enabled, readline does not insert "
  1236. "characters from the completion that match characters after point in the word "
  1237. "being completed, so portions of the word following the cursor are not "
  1238. "duplicated. For instance, if this is enabled, attempting completion when "
  1239. "the cursor is after the @samp{e} in @samp{Makefile} will result in "
  1240. "@samp{Makefile} rather than @samp{Makefilefile}, assuming there is a single "
  1241. "possible completion. The default value is @samp{off}."
  1242. msgstr ""
  1243. #. type: vindex
  1244. #: rluser.texi:736 rluser.texi:737
  1245. #, no-wrap
  1246. msgid "vi-cmd-mode-string"
  1247. msgstr ""
  1248. #. type: table
  1249. #: rluser.texi:747
  1250. msgid ""
  1251. "This string is displayed immediately before the last line of the primary "
  1252. "prompt when vi editing mode is active and in command mode. The value is "
  1253. "expanded like a key binding, so the standard set of meta- and control "
  1254. "prefixes and backslash escape sequences is available. Use the @samp{\\1} "
  1255. "and @samp{\\2} escapes to begin and end sequences of non-printing "
  1256. "characters, which can be used to embed a terminal control sequence into the "
  1257. "mode string. The default is @samp{(cmd)}."
  1258. msgstr ""
  1259. #. type: vindex
  1260. #: rluser.texi:748 rluser.texi:749
  1261. #, no-wrap
  1262. msgid "vi-ins-mode-string"
  1263. msgstr ""
  1264. #. type: table
  1265. #: rluser.texi:759
  1266. msgid ""
  1267. "This string is displayed immediately before the last line of the primary "
  1268. "prompt when vi editing mode is active and in insertion mode. The value is "
  1269. "expanded like a key binding, so the standard set of meta- and control "
  1270. "prefixes and backslash escape sequences is available. Use the @samp{\\1} "
  1271. "and @samp{\\2} escapes to begin and end sequences of non-printing "
  1272. "characters, which can be used to embed a terminal control sequence into the "
  1273. "mode string. The default is @samp{(ins)}."
  1274. msgstr ""
  1275. #. type: vindex
  1276. #: rluser.texi:760 rluser.texi:761
  1277. #, no-wrap
  1278. msgid "visible-stats"
  1279. msgstr ""
  1280. #. type: table
  1281. #: rluser.texi:765
  1282. msgid ""
  1283. "If set to @samp{on}, a character denoting a file's type is appended to the "
  1284. "filename when listing possible completions. The default is @samp{off}."
  1285. msgstr ""
  1286. #. type: item
  1287. #: rluser.texi:768
  1288. #, no-wrap
  1289. msgid "Key Bindings"
  1290. msgstr ""
  1291. #. type: table
  1292. #: rluser.texi:774
  1293. msgid ""
  1294. "The syntax for controlling key bindings in the init file is simple. First "
  1295. "you need to find the name of the command that you want to change. The "
  1296. "following sections contain tables of the command name, the default "
  1297. "keybinding, if any, and a short description of what the command does."
  1298. msgstr ""
  1299. #. type: table
  1300. #: rluser.texi:783
  1301. msgid ""
  1302. "Once you know the name of the command, simply place on a line in the init "
  1303. "file the name of the key you wish to bind the command to, a colon, and then "
  1304. "the name of the command. There can be no space between the key name and the "
  1305. "colon -- that will be interpreted as part of the key name. The name of the "
  1306. "key can be expressed in different ways, depending on what you find most "
  1307. "comfortable."
  1308. msgstr ""
  1309. #. type: table
  1310. #: rluser.texi:786
  1311. msgid ""
  1312. "In addition to command names, readline allows keys to be bound to a string "
  1313. "that is inserted when the key is pressed (a @var{macro})."
  1314. msgstr ""
  1315. #. type: ifset
  1316. #: rluser.texi:791
  1317. msgid ""
  1318. "The @w{@code{bind -p}} command displays Readline function names and bindings "
  1319. "in a format that can put directly into an initialization file. @xref{Bash "
  1320. "Builtins}."
  1321. msgstr ""
  1322. #. type: w{#1}
  1323. #: rluser.texi:794
  1324. #, no-wrap
  1325. msgid "@var{keyname}: @var{function-name} or @var{macro}"
  1326. msgstr ""
  1327. #. type: table
  1328. #: rluser.texi:796
  1329. msgid ""
  1330. "@var{keyname} is the name of a key spelled out in English. For example:"
  1331. msgstr ""
  1332. #. type: example
  1333. #: rluser.texi:800
  1334. #, no-wrap
  1335. msgid ""
  1336. "Control-u: universal-argument\n"
  1337. "Meta-Rubout: backward-kill-word\n"
  1338. "Control-o: \"> output\"\n"
  1339. msgstr ""
  1340. #. type: table
  1341. #: rluser.texi:808
  1342. msgid ""
  1343. "In the above example, @kbd{C-u} is bound to the function @code{universal-"
  1344. "argument}, @kbd{M-DEL} is bound to the function @code{backward-kill-word}, "
  1345. "and @kbd{C-o} is bound to run the macro expressed on the right hand side "
  1346. "(that is, to insert the text @samp{> output} into the line)."
  1347. msgstr ""
  1348. #. type: table
  1349. #: rluser.texi:823
  1350. msgid ""
  1351. "A number of symbolic character names are recognized while processing this "
  1352. "key binding syntax: @var{DEL}, @var{ESC}, @var{ESCAPE}, @var{LFD}, "
  1353. "@var{NEWLINE}, @var{RET}, @var{RETURN}, @var{RUBOUT}, @var{SPACE}, "
  1354. "@var{SPC}, and @var{TAB}."
  1355. msgstr ""
  1356. #. type: w{#1}
  1357. #: rluser.texi:824
  1358. #, no-wrap
  1359. msgid "\"@var{keyseq}\": @var{function-name} or @var{macro}"
  1360. msgstr ""
  1361. #. type: table
  1362. #: rluser.texi:830
  1363. msgid ""
  1364. "@var{keyseq} differs from @var{keyname} above in that strings denoting an "
  1365. "entire key sequence can be specified, by placing the key sequence in double "
  1366. "quotes. Some @sc{gnu} Emacs style key escapes can be used, as in the "
  1367. "following example, but the special character names are not recognized."
  1368. msgstr ""
  1369. #. type: example
  1370. #: rluser.texi:835
  1371. #, no-wrap
  1372. msgid ""
  1373. "\"\\C-u\": universal-argument\n"
  1374. "\"\\C-x\\C-r\": re-read-init-file\n"
  1375. "\"\\e[11~\": \"Function Key 1\"\n"
  1376. msgstr ""
  1377. #. type: table
  1378. #: rluser.texi:842
  1379. msgid ""
  1380. "In the above example, @kbd{C-u} is again bound to the function "
  1381. "@code{universal-argument} (just as it was in the first example), "
  1382. "@samp{@kbd{C-x} @kbd{C-r}} is bound to the function @code{re-read-init-"
  1383. "file}, and @samp{@key{ESC} @key{[} @key{1} @key{1} @key{~}} is bound to "
  1384. "insert the text @samp{Function Key 1}."
  1385. msgstr ""
  1386. #. type: table
  1387. #: rluser.texi:847
  1388. msgid ""
  1389. "The following @sc{gnu} Emacs style escape sequences are available when "
  1390. "specifying key sequences:"
  1391. msgstr ""
  1392. #. type: kbd{#1}
  1393. #: rluser.texi:849
  1394. #, no-wrap
  1395. msgid "\\C-"
  1396. msgstr ""
  1397. #. type: table
  1398. #: rluser.texi:851
  1399. msgid "control prefix"
  1400. msgstr ""
  1401. #. type: kbd{#1}
  1402. #: rluser.texi:851
  1403. #, no-wrap
  1404. msgid "\\M-"
  1405. msgstr ""
  1406. #. type: table
  1407. #: rluser.texi:853
  1408. msgid "meta prefix"
  1409. msgstr ""
  1410. #. type: kbd{#1}
  1411. #: rluser.texi:853
  1412. #, no-wrap
  1413. msgid "\\e"
  1414. msgstr ""
  1415. #. type: table
  1416. #: rluser.texi:855
  1417. msgid "an escape character"
  1418. msgstr ""
  1419. #. type: kbd{#1}
  1420. #: rluser.texi:855
  1421. #, no-wrap
  1422. msgid "\\\\"
  1423. msgstr ""
  1424. #. type: table
  1425. #: rluser.texi:857
  1426. msgid "backslash"
  1427. msgstr ""
  1428. #. type: kbd{#1}
  1429. #: rluser.texi:857
  1430. #, no-wrap
  1431. msgid "\\\""
  1432. msgstr ""
  1433. #. type: table
  1434. #: rluser.texi:859
  1435. msgid "@key{\"}, a double quotation mark"
  1436. msgstr ""
  1437. #. type: kbd{#1}
  1438. #: rluser.texi:859
  1439. #, no-wrap
  1440. msgid "\\'"
  1441. msgstr ""
  1442. #. type: table
  1443. #: rluser.texi:861
  1444. msgid "@key{'}, a single quote or apostrophe"
  1445. msgstr ""
  1446. #. type: table
  1447. #: rluser.texi:865
  1448. msgid ""
  1449. "In addition to the @sc{gnu} Emacs style escape sequences, a second set of "
  1450. "backslash escapes is available:"
  1451. msgstr ""
  1452. #. type: item
  1453. #: rluser.texi:867
  1454. #, no-wrap
  1455. msgid "\\a"
  1456. msgstr ""
  1457. #. type: table
  1458. #: rluser.texi:869
  1459. msgid "alert (bell)"
  1460. msgstr ""
  1461. #. type: item
  1462. #: rluser.texi:869
  1463. #, no-wrap
  1464. msgid "\\b"
  1465. msgstr ""
  1466. #. type: table
  1467. #: rluser.texi:871
  1468. msgid "backspace"
  1469. msgstr ""
  1470. #. type: item
  1471. #: rluser.texi:871
  1472. #, no-wrap
  1473. msgid "\\d"
  1474. msgstr ""
  1475. #. type: table
  1476. #: rluser.texi:873
  1477. msgid "delete"
  1478. msgstr ""
  1479. #. type: item
  1480. #: rluser.texi:873
  1481. #, no-wrap
  1482. msgid "\\f"
  1483. msgstr ""
  1484. #. type: table
  1485. #: rluser.texi:875
  1486. msgid "form feed"
  1487. msgstr ""
  1488. #. type: item
  1489. #: rluser.texi:875
  1490. #, no-wrap
  1491. msgid "\\n"
  1492. msgstr ""
  1493. #. type: table
  1494. #: rluser.texi:877
  1495. msgid "newline"
  1496. msgstr ""
  1497. #. type: item
  1498. #: rluser.texi:877
  1499. #, no-wrap
  1500. msgid "\\r"
  1501. msgstr ""
  1502. #. type: table
  1503. #: rluser.texi:879
  1504. msgid "carriage return"
  1505. msgstr ""
  1506. #. type: item
  1507. #: rluser.texi:879
  1508. #, no-wrap
  1509. msgid "\\t"
  1510. msgstr ""
  1511. #. type: table
  1512. #: rluser.texi:881
  1513. msgid "horizontal tab"
  1514. msgstr ""
  1515. #. type: item
  1516. #: rluser.texi:881
  1517. #, no-wrap
  1518. msgid "\\v"
  1519. msgstr ""
  1520. #. type: table
  1521. #: rluser.texi:883
  1522. msgid "vertical tab"
  1523. msgstr ""
  1524. #. type: item
  1525. #: rluser.texi:883
  1526. #, no-wrap
  1527. msgid "\\@var{nnn}"
  1528. msgstr ""
  1529. #. type: table
  1530. #: rluser.texi:886
  1531. msgid ""
  1532. "the eight-bit character whose value is the octal value @var{nnn} (one to "
  1533. "three digits)"
  1534. msgstr ""
  1535. #. type: item
  1536. #: rluser.texi:886
  1537. #, no-wrap
  1538. msgid "\\x@var{HH}"
  1539. msgstr ""
  1540. #. type: table
  1541. #: rluser.texi:889
  1542. msgid ""
  1543. "the eight-bit character whose value is the hexadecimal value @var{HH} (one "
  1544. "or two hex digits)"
  1545. msgstr ""
  1546. #. type: table
  1547. #: rluser.texi:899
  1548. msgid ""
  1549. "When entering the text of a macro, single or double quotes must be used to "
  1550. "indicate a macro definition. Unquoted text is assumed to be a function "
  1551. "name. In the macro body, the backslash escapes described above are "
  1552. "expanded. Backslash will quote any other character in the macro text, "
  1553. "including @samp{\"} and @samp{'}. For example, the following binding will "
  1554. "make @samp{@kbd{C-x} \\} insert a single @samp{\\} into the line:"
  1555. msgstr ""
  1556. #. type: example
  1557. #: rluser.texi:901
  1558. #, no-wrap
  1559. msgid "\"\\C-x\\\\\": \"\\\\\"\n"
  1560. msgstr ""
  1561. #. type: Plain text
  1562. #: rluser.texi:912
  1563. msgid ""
  1564. "Readline implements a facility similar in spirit to the conditional "
  1565. "compilation features of the C preprocessor which allows key bindings and "
  1566. "variable settings to be performed as the result of tests. There are four "
  1567. "parser directives used."
  1568. msgstr ""
  1569. #. type: item
  1570. #: rluser.texi:914
  1571. #, no-wrap
  1572. msgid "$if"
  1573. msgstr ""
  1574. #. type: table
  1575. #: rluser.texi:919
  1576. msgid ""
  1577. "The @code{$if} construct allows bindings to be made based on the editing "
  1578. "mode, the terminal being used, or the application using Readline. The text "
  1579. "of the test extends to the end of the line; no characters are required to "
  1580. "isolate it."
  1581. msgstr ""
  1582. #. type: item
  1583. #: rluser.texi:921
  1584. #, no-wrap
  1585. msgid "mode"
  1586. msgstr ""
  1587. #. type: table
  1588. #: rluser.texi:928
  1589. msgid ""
  1590. "The @code{mode=} form of the @code{$if} directive is used to test whether "
  1591. "Readline is in @code{emacs} or @code{vi} mode. This may be used in "
  1592. "conjunction with the @samp{set keymap} command, for instance, to set "
  1593. "bindings in the @code{emacs-standard} and @code{emacs-ctlx} keymaps only if "
  1594. "Readline is starting out in @code{emacs} mode."
  1595. msgstr ""
  1596. #. type: item
  1597. #: rluser.texi:929
  1598. #, no-wrap
  1599. msgid "term"
  1600. msgstr ""
  1601. #. type: table
  1602. #: rluser.texi:937
  1603. msgid ""
  1604. "The @code{term=} form may be used to include terminal-specific key bindings, "
  1605. "perhaps to bind the key sequences output by the terminal's function keys. "
  1606. "The word on the right side of the @samp{=} is tested against both the full "
  1607. "name of the terminal and the portion of the terminal name before the first "
  1608. "@samp{-}. This allows @code{sun} to match both @code{sun} and @code{sun-"
  1609. "cmd}, for instance."
  1610. msgstr ""
  1611. #. type: item
  1612. #: rluser.texi:938
  1613. #, no-wrap
  1614. msgid "application"
  1615. msgstr ""
  1616. #. type: table
  1617. #: rluser.texi:946
  1618. msgid ""
  1619. "The @var{application} construct is used to include application-specific "
  1620. "settings. Each program using the Readline library sets the @var{application "
  1621. "name}, and you can test for a particular value. This could be used to bind "
  1622. "key sequences to functions useful for a specific program. For instance, the "
  1623. "following command adds a key sequence that quotes the current or previous "
  1624. "word in Bash:"
  1625. msgstr ""
  1626. #. type: example
  1627. #: rluser.texi:951
  1628. #, no-wrap
  1629. msgid ""
  1630. "$if Bash\n"
  1631. "# Quote the current or previous word\n"
  1632. "\"\\C-xq\": \"\\eb\\\"\\ef\\\"\"\n"
  1633. "$endif\n"
  1634. msgstr ""
  1635. #. type: item
  1636. #: rluser.texi:954
  1637. #, no-wrap
  1638. msgid "$endif"
  1639. msgstr ""
  1640. #. type: table
  1641. #: rluser.texi:957
  1642. msgid ""
  1643. "This command, as seen in the previous example, terminates an @code{$if} "
  1644. "command."
  1645. msgstr ""
  1646. #. type: item
  1647. #: rluser.texi:958
  1648. #, no-wrap
  1649. msgid "$else"
  1650. msgstr ""
  1651. #. type: table
  1652. #: rluser.texi:961
  1653. msgid ""
  1654. "Commands in this branch of the @code{$if} directive are executed if the test "
  1655. "fails."
  1656. msgstr ""
  1657. #. type: item
  1658. #: rluser.texi:962
  1659. #, no-wrap
  1660. msgid "$include"
  1661. msgstr ""
  1662. #. type: table
  1663. #: rluser.texi:966
  1664. msgid ""
  1665. "This directive takes a single filename as an argument and reads commands and "
  1666. "bindings from that file. For example, the following directive reads from "
  1667. "@file{/etc/inputrc}:"
  1668. msgstr ""
  1669. #. type: example
  1670. #: rluser.texi:968
  1671. #, no-wrap
  1672. msgid "$include /etc/inputrc\n"
  1673. msgstr ""
  1674. #. type: Plain text
  1675. #: rluser.texi:976
  1676. msgid ""
  1677. "Here is an example of an @var{inputrc} file. This illustrates key binding, "
  1678. "variable assignment, and conditional syntax."
  1679. msgstr ""
  1680. #. type: example
  1681. #: rluser.texi:989
  1682. #, no-wrap
  1683. msgid ""
  1684. "# This file controls the behaviour of line input editing for\n"
  1685. "# programs that use the GNU Readline library. Existing\n"
  1686. "# programs include FTP, Bash, and GDB.\n"
  1687. "#\n"
  1688. "# You can re-read the inputrc file with C-x C-r.\n"
  1689. "# Lines beginning with '#' are comments.\n"
  1690. "#\n"
  1691. "# First, include any system-wide bindings and variable\n"
  1692. "# assignments from /etc/Inputrc\n"
  1693. "$include /etc/Inputrc\n"
  1694. "\n"
  1695. msgstr ""
  1696. #. type: example
  1697. #: rluser.texi:992
  1698. #, no-wrap
  1699. msgid ""
  1700. "#\n"
  1701. "# Set various bindings for emacs mode.\n"
  1702. "\n"
  1703. msgstr ""
  1704. #. type: example
  1705. #: rluser.texi:994
  1706. #, no-wrap
  1707. msgid ""
  1708. "set editing-mode emacs \n"
  1709. "\n"
  1710. msgstr ""
  1711. #. type: example
  1712. #: rluser.texi:996
  1713. #, no-wrap
  1714. msgid ""
  1715. "$if mode=emacs\n"
  1716. "\n"
  1717. msgstr ""
  1718. #. type: example
  1719. #: rluser.texi:998
  1720. #, no-wrap
  1721. msgid ""
  1722. "Meta-Control-h:\tbackward-kill-word\tText after the function name is ignored\n"
  1723. "\n"
  1724. msgstr ""
  1725. #. type: example
  1726. #: rluser.texi:1027
  1727. #, no-wrap
  1728. msgid ""
  1729. "#\n"
  1730. "# Arrow keys in keypad mode\n"
  1731. "#\n"
  1732. "#\"\\M-OD\": backward-char\n"
  1733. "#\"\\M-OC\": forward-char\n"
  1734. "#\"\\M-OA\": previous-history\n"
  1735. "#\"\\M-OB\": next-history\n"
  1736. "#\n"
  1737. "# Arrow keys in ANSI mode\n"
  1738. "#\n"
  1739. "\"\\M-[D\": backward-char\n"
  1740. "\"\\M-[C\": forward-char\n"
  1741. "\"\\M-[A\": previous-history\n"
  1742. "\"\\M-[B\": next-history\n"
  1743. "#\n"
  1744. "# Arrow keys in 8 bit keypad mode\n"
  1745. "#\n"
  1746. "#\"\\M-\\C-OD\": backward-char\n"
  1747. "#\"\\M-\\C-OC\": forward-char\n"
  1748. "#\"\\M-\\C-OA\": previous-history\n"
  1749. "#\"\\M-\\C-OB\": next-history\n"
  1750. "#\n"
  1751. "# Arrow keys in 8 bit ANSI mode\n"
  1752. "#\n"
  1753. "#\"\\M-\\C-[D\": backward-char\n"
  1754. "#\"\\M-\\C-[C\": forward-char\n"
  1755. "#\"\\M-\\C-[A\": previous-history\n"
  1756. "#\"\\M-\\C-[B\": next-history\n"
  1757. "\n"
  1758. msgstr ""
  1759. #. type: example
  1760. #: rluser.texi:1029
  1761. #, no-wrap
  1762. msgid ""
  1763. "C-q: quoted-insert\n"
  1764. "\n"
  1765. msgstr ""
  1766. #. type: example
  1767. #: rluser.texi:1031
  1768. #, no-wrap
  1769. msgid ""
  1770. "$endif\n"
  1771. "\n"
  1772. msgstr ""
  1773. #. type: example
  1774. #: rluser.texi:1034
  1775. #, no-wrap
  1776. msgid ""
  1777. "# An old-style binding. This happens to be the default.\n"
  1778. "TAB: complete\n"
  1779. "\n"
  1780. msgstr ""
  1781. #. type: example
  1782. #: rluser.texi:1053
  1783. #, no-wrap
  1784. msgid ""
  1785. "# Macros that are convenient for shell interaction\n"
  1786. "$if Bash\n"
  1787. "# edit the path\n"
  1788. "\"\\C-xp\": \"PATH=$@{PATH@}\\e\\C-e\\C-a\\ef\\C-f\"\n"
  1789. "# prepare to type a quoted word --\n"
  1790. "# insert open and close double quotes\n"
  1791. "# and move to just after the open quote\n"
  1792. "\"\\C-x\\\"\": \"\\\"\\\"\\C-b\"\n"
  1793. "# insert a backslash (testing backslash escapes\n"
  1794. "# in sequences and macros)\n"
  1795. "\"\\C-x\\\\\": \"\\\\\"\n"
  1796. "# Quote the current or previous word\n"
  1797. "\"\\C-xq\": \"\\eb\\\"\\ef\\\"\"\n"
  1798. "# Add a binding to refresh the line, which is unbound\n"
  1799. "\"\\C-xr\": redraw-current-line\n"
  1800. "# Edit variable on current line.\n"
  1801. "\"\\M-\\C-v\": \"\\C-a\\C-k$\\C-y\\M-\\C-e\\C-a\\C-y=\"\n"
  1802. "$endif\n"
  1803. "\n"
  1804. msgstr ""
  1805. #. type: example
  1806. #: rluser.texi:1056
  1807. #, no-wrap
  1808. msgid ""
  1809. "# use a visible bell if one is available\n"
  1810. "set bell-style visible\n"
  1811. "\n"
  1812. msgstr ""
  1813. #. type: example
  1814. #: rluser.texi:1059
  1815. #, no-wrap
  1816. msgid ""
  1817. "# don't strip characters to 7 bits when reading\n"
  1818. "set input-meta on\n"
  1819. "\n"
  1820. msgstr ""
  1821. #. type: example
  1822. #: rluser.texi:1063
  1823. #, no-wrap
  1824. msgid ""
  1825. "# allow iso-latin1 characters to be inserted rather\n"
  1826. "# than converted to prefix-meta sequences\n"
  1827. "set convert-meta off\n"
  1828. "\n"
  1829. msgstr ""
  1830. #. type: example
  1831. #: rluser.texi:1067
  1832. #, no-wrap
  1833. msgid ""
  1834. "# display characters with the eighth bit set directly\n"
  1835. "# rather than as meta-prefixed characters\n"
  1836. "set output-meta on\n"
  1837. "\n"
  1838. msgstr ""
  1839. #. type: example
  1840. #: rluser.texi:1071
  1841. #, no-wrap
  1842. msgid ""
  1843. "# if there are more than 150 possible completions for\n"
  1844. "# a word, ask the user if he wants to see all of them\n"
  1845. "set completion-query-items 150\n"
  1846. "\n"
  1847. msgstr ""
  1848. #. type: example
  1849. #: rluser.texi:1078
  1850. #, no-wrap
  1851. msgid ""
  1852. "# For FTP\n"
  1853. "$if Ftp\n"
  1854. "\"\\C-xg\": \"get \\M-?\"\n"
  1855. "\"\\C-xt\": \"put \\M-?\"\n"
  1856. "\"\\M-.\": yank-last-arg\n"
  1857. "$endif\n"
  1858. msgstr ""
  1859. #. type: subsection
  1860. #: rluser.texi:1092 rluser.texi:1108 rluser.texi:1109
  1861. #, no-wrap
  1862. msgid "Commands For Moving"
  1863. msgstr ""
  1864. #. type: menuentry
  1865. #: rluser.texi:1092
  1866. msgid "Moving about the line."
  1867. msgstr ""
  1868. #. type: node
  1869. #: rluser.texi:1092 rluser.texi:1150
  1870. #, no-wrap
  1871. msgid "Commands For History"
  1872. msgstr "Instrucciones para el Historial"
  1873. #. type: menuentry
  1874. #: rluser.texi:1092
  1875. msgid "Getting at previous lines."
  1876. msgstr ""
  1877. #. type: node
  1878. #: rluser.texi:1092 rluser.texi:1258
  1879. #, no-wrap
  1880. msgid "Commands For Text"
  1881. msgstr ""
  1882. #. type: menuentry
  1883. #: rluser.texi:1092
  1884. msgid "Commands for changing text."
  1885. msgstr ""
  1886. #. type: node
  1887. #: rluser.texi:1092 rluser.texi:1345
  1888. #, no-wrap
  1889. msgid "Commands For Killing"
  1890. msgstr ""
  1891. #. type: menuentry
  1892. #: rluser.texi:1092
  1893. msgid "Commands for killing and yanking."
  1894. msgstr ""
  1895. #. type: node
  1896. #: rluser.texi:1092 rluser.texi:1421
  1897. #, no-wrap
  1898. msgid "Numeric Arguments"
  1899. msgstr ""
  1900. #. type: menuentry
  1901. #: rluser.texi:1092
  1902. msgid "Specifying numeric arguments, repeat counts."
  1903. msgstr ""
  1904. #. type: node
  1905. #: rluser.texi:1092 rluser.texi:1444
  1906. #, no-wrap
  1907. msgid "Commands For Completion"
  1908. msgstr "Instrucciones para Compleción"
  1909. #. type: menuentry
  1910. #: rluser.texi:1092
  1911. msgid "Getting Readline to do the typing for you."
  1912. msgstr ""
  1913. #. type: subsection
  1914. #: rluser.texi:1092 rluser.texi:1559 rluser.texi:1560
  1915. #, no-wrap
  1916. msgid "Keyboard Macros"
  1917. msgstr ""
  1918. #. type: menuentry
  1919. #: rluser.texi:1092
  1920. msgid "Saving and re-executing typed characters"
  1921. msgstr ""
  1922. #. type: node
  1923. #: rluser.texi:1092 rluser.texi:1580
  1924. #, no-wrap
  1925. msgid "Miscellaneous Commands"
  1926. msgstr ""
  1927. #. type: menuentry
  1928. #: rluser.texi:1092
  1929. msgid "Other miscellaneous commands."
  1930. msgstr ""
  1931. #. type: Plain text
  1932. #: rluser.texi:1096
  1933. msgid ""
  1934. "This section describes Readline commands that may be bound to key sequences."
  1935. msgstr ""
  1936. #. type: ifset
  1937. #: rluser.texi:1100
  1938. msgid ""
  1939. "You can list your key bindings by executing @w{@code{bind -P}} or, for a "
  1940. "more terse format, suitable for an @var{inputrc} file, @w{@code{bind -p}}. "
  1941. "(@xref{Bash Builtins}.)"
  1942. msgstr ""
  1943. #. type: Plain text
  1944. #: rluser.texi:1102
  1945. msgid ""
  1946. "Command names without an accompanying key sequence are unbound by default."
  1947. msgstr ""
  1948. #. type: Plain text
  1949. #: rluser.texi:1107
  1950. msgid ""
  1951. "In the following descriptions, @dfn{point} refers to the current cursor "
  1952. "position, and @dfn{mark} refers to a cursor position saved by the @code{set-"
  1953. "mark} command. The text between the point and mark is referred to as the "
  1954. "@dfn{region}."
  1955. msgstr ""
  1956. #. type: Plain text
  1957. #: rluser.texi:1111 rluser.texi:1154 rluser.texi:1262 rluser.texi:1349
  1958. #: rluser.texi:1424 rluser.texi:1448 rluser.texi:1562 rluser.texi:1583
  1959. msgid "@ftable @code"
  1960. msgstr ""
  1961. #. type: item
  1962. #: rluser.texi:1111
  1963. #, no-wrap
  1964. msgid "beginning-of-line (C-a)"
  1965. msgstr ""
  1966. #. type: Plain text
  1967. #: rluser.texi:1113
  1968. msgid "Move to the start of the current line."
  1969. msgstr ""
  1970. #. type: item
  1971. #: rluser.texi:1114
  1972. #, no-wrap
  1973. msgid "end-of-line (C-e)"
  1974. msgstr ""
  1975. #. type: item
  1976. #: rluser.texi:1117
  1977. #, no-wrap
  1978. msgid "forward-char (C-f)"
  1979. msgstr ""
  1980. #. type: Plain text
  1981. #: rluser.texi:1119
  1982. msgid "Move forward a character."
  1983. msgstr ""
  1984. #. type: item
  1985. #: rluser.texi:1120
  1986. #, no-wrap
  1987. msgid "backward-char (C-b)"
  1988. msgstr ""
  1989. #. type: Plain text
  1990. #: rluser.texi:1122
  1991. msgid "Move back a character."
  1992. msgstr ""
  1993. #. type: item
  1994. #: rluser.texi:1123
  1995. #, no-wrap
  1996. msgid "forward-word (M-f)"
  1997. msgstr ""
  1998. #. type: Plain text
  1999. #: rluser.texi:1126
  2000. msgid ""
  2001. "Move forward to the end of the next word. Words are composed of letters and "
  2002. "digits."
  2003. msgstr ""
  2004. #. type: item
  2005. #: rluser.texi:1127
  2006. #, no-wrap
  2007. msgid "backward-word (M-b)"
  2008. msgstr ""
  2009. #. type: Plain text
  2010. #: rluser.texi:1130
  2011. msgid ""
  2012. "Move back to the start of the current or previous word. Words are composed "
  2013. "of letters and digits."
  2014. msgstr ""
  2015. #. type: item
  2016. #: rluser.texi:1132
  2017. #, no-wrap
  2018. msgid "shell-forward-word ()"
  2019. msgstr ""
  2020. #. type: ifset
  2021. #: rluser.texi:1135
  2022. msgid ""
  2023. "Move forward to the end of the next word. Words are delimited by non-quoted "
  2024. "shell metacharacters."
  2025. msgstr ""
  2026. #. type: item
  2027. #: rluser.texi:1136
  2028. #, no-wrap
  2029. msgid "shell-backward-word ()"
  2030. msgstr ""
  2031. #. type: ifset
  2032. #: rluser.texi:1139
  2033. msgid ""
  2034. "Move back to the start of the current or previous word. Words are delimited "
  2035. "by non-quoted shell metacharacters."
  2036. msgstr ""
  2037. #. type: item
  2038. #: rluser.texi:1141
  2039. #, no-wrap
  2040. msgid "clear-screen (C-l)"
  2041. msgstr ""
  2042. #. type: Plain text
  2043. #: rluser.texi:1144
  2044. msgid ""
  2045. "Clear the screen and redraw the current line, leaving the current line at "
  2046. "the top of the screen."
  2047. msgstr ""
  2048. #. type: item
  2049. #: rluser.texi:1145
  2050. #, no-wrap
  2051. msgid "redraw-current-line ()"
  2052. msgstr ""
  2053. #. type: Plain text
  2054. #: rluser.texi:1147
  2055. msgid "Refresh the current line. By default, this is unbound."
  2056. msgstr ""
  2057. #. type: subsection
  2058. #: rluser.texi:1151
  2059. #, no-wrap
  2060. msgid "Commands For Manipulating The History"
  2061. msgstr ""
  2062. #. type: item
  2063. #: rluser.texi:1154
  2064. #, no-wrap
  2065. msgid "accept-line (Newline or Return)"
  2066. msgstr ""
  2067. #. type: ifset
  2068. #: rluser.texi:1162
  2069. msgid ""
  2070. "Accept the line regardless of where the cursor is. If this line is non-"
  2071. "empty, add it to the history list according to the setting of the "
  2072. "@env{HISTCONTROL} and @env{HISTIGNORE} variables. If this line is a "
  2073. "modified history line, then restore the history line to its original state."
  2074. msgstr ""
  2075. #. type: ifclear
  2076. #: rluser.texi:1170
  2077. msgid ""
  2078. "Accept the line regardless of where the cursor is. If this line is non-"
  2079. "empty, it may be added to the history list for future recall with "
  2080. "@code{add_history()}. If this line is a modified history line, the history "
  2081. "line is restored to its original state."
  2082. msgstr ""
  2083. #. type: item
  2084. #: rluser.texi:1172
  2085. #, no-wrap
  2086. msgid "previous-history (C-p)"
  2087. msgstr ""
  2088. #. type: Plain text
  2089. #: rluser.texi:1174
  2090. msgid "Move `back' through the history list, fetching the previous command."
  2091. msgstr ""
  2092. #. type: item
  2093. #: rluser.texi:1175
  2094. #, no-wrap
  2095. msgid "next-history (C-n)"
  2096. msgstr ""
  2097. #. type: Plain text
  2098. #: rluser.texi:1177
  2099. msgid "Move `forward' through the history list, fetching the next command."
  2100. msgstr ""
  2101. #. type: item
  2102. #: rluser.texi:1178
  2103. #, no-wrap
  2104. msgid "beginning-of-history (M-<)"
  2105. msgstr ""
  2106. #. type: Plain text
  2107. #: rluser.texi:1180
  2108. msgid "Move to the first line in the history."
  2109. msgstr ""
  2110. #. type: item
  2111. #: rluser.texi:1181
  2112. #, no-wrap
  2113. msgid "end-of-history (M->)"
  2114. msgstr ""
  2115. #. type: Plain text
  2116. #: rluser.texi:1184
  2117. msgid ""
  2118. "Move to the end of the input history, i.e., the line currently being entered."
  2119. msgstr ""
  2120. #. type: item
  2121. #: rluser.texi:1185
  2122. #, no-wrap
  2123. msgid "reverse-search-history (C-r)"
  2124. msgstr ""
  2125. #. type: Plain text
  2126. #: rluser.texi:1188
  2127. msgid ""
  2128. "Search backward starting at the current line and moving `up' through the "
  2129. "history as necessary. This is an incremental search."
  2130. msgstr ""
  2131. #. type: item
  2132. #: rluser.texi:1189
  2133. #, no-wrap
  2134. msgid "forward-search-history (C-s)"
  2135. msgstr ""
  2136. #. type: Plain text
  2137. #: rluser.texi:1192
  2138. msgid ""
  2139. "Search forward starting at the current line and moving `down' through the "
  2140. "history as necessary. This is an incremental search."
  2141. msgstr ""
  2142. #. type: item
  2143. #: rluser.texi:1193
  2144. #, no-wrap
  2145. msgid "non-incremental-reverse-search-history (M-p)"
  2146. msgstr ""
  2147. #. type: Plain text
  2148. #: rluser.texi:1198
  2149. msgid ""
  2150. "Search backward starting at the current line and moving `up' through the "
  2151. "history as necessary using a non-incremental search for a string supplied by "
  2152. "the user. The search string may match anywhere in a history line."
  2153. msgstr ""
  2154. #. type: item
  2155. #: rluser.texi:1199
  2156. #, no-wrap
  2157. msgid "non-incremental-forward-search-history (M-n)"
  2158. msgstr ""
  2159. #. type: Plain text
  2160. #: rluser.texi:1204
  2161. msgid ""
  2162. "Search forward starting at the current line and moving `down' through the "
  2163. "history as necessary using a non-incremental search for a string supplied by "
  2164. "the user. The search string may match anywhere in a history line."
  2165. msgstr ""
  2166. #. type: item
  2167. #: rluser.texi:1205
  2168. #, no-wrap
  2169. msgid "history-search-forward ()"
  2170. msgstr ""
  2171. #. type: Plain text
  2172. #: rluser.texi:1211
  2173. msgid ""
  2174. "Search forward through the history for the string of characters between the "
  2175. "start of the current line and the point. The search string must match at "
  2176. "the beginning of a history line. This is a non-incremental search. By "
  2177. "default, this command is unbound."
  2178. msgstr ""
  2179. #. type: item
  2180. #: rluser.texi:1212
  2181. #, no-wrap
  2182. msgid "history-search-backward ()"
  2183. msgstr ""
  2184. #. type: Plain text
  2185. #: rluser.texi:1218
  2186. msgid ""
  2187. "Search backward through the history for the string of characters between the "
  2188. "start of the current line and the point. The search string must match at "
  2189. "the beginning of a history line. This is a non-incremental search. By "
  2190. "default, this command is unbound."
  2191. msgstr ""
  2192. #. type: item
  2193. #: rluser.texi:1219
  2194. #, no-wrap
  2195. msgid "history-substr-search-forward ()"
  2196. msgstr ""
  2197. #. type: Plain text
  2198. #: rluser.texi:1225
  2199. msgid ""
  2200. "Search forward through the history for the string of characters between the "
  2201. "start of the current line and the point. The search string may match "
  2202. "anywhere in a history line. This is a non-incremental search. By default, "
  2203. "this command is unbound."
  2204. msgstr ""
  2205. #. type: item
  2206. #: rluser.texi:1226
  2207. #, no-wrap
  2208. msgid "history-substr-search-backward ()"
  2209. msgstr ""
  2210. #. type: Plain text
  2211. #: rluser.texi:1232
  2212. msgid ""
  2213. "Search backward through the history for the string of characters between the "
  2214. "start of the current line and the point. The search string may match "
  2215. "anywhere in a history line. This is a non-incremental search. By default, "
  2216. "this command is unbound."
  2217. msgstr ""
  2218. #. type: item
  2219. #: rluser.texi:1233
  2220. #, no-wrap
  2221. msgid "yank-nth-arg (M-C-y)"
  2222. msgstr ""
  2223. #. type: Plain text
  2224. #: rluser.texi:1242
  2225. msgid ""
  2226. "Insert the first argument to the previous command (usually the second word "
  2227. "on the previous line) at point. With an argument @var{n}, insert the @var{n}"
  2228. "th word from the previous command (the words in the previous command begin "
  2229. "with word 0). A negative argument inserts the @var{n}th word from the end "
  2230. "of the previous command. Once the argument @var{n} is computed, the "
  2231. "argument is extracted as if the @samp{!@var{n}} history expansion had been "
  2232. "specified."
  2233. msgstr ""
  2234. #. type: item
  2235. #: rluser.texi:1243
  2236. #, no-wrap
  2237. msgid "yank-last-arg (M-. or M-_)"
  2238. msgstr ""
  2239. #. type: Plain text
  2240. #: rluser.texi:1255
  2241. msgid ""
  2242. "Insert last argument to the previous command (the last word of the previous "
  2243. "history entry). With a numeric argument, behave exactly like @code{yank-nth-"
  2244. "arg}. Successive calls to @code{yank-last-arg} move back through the "
  2245. "history list, inserting the last word (or the word specified by the argument "
  2246. "to the first call) of each line in turn. Any numeric argument supplied to "
  2247. "these successive calls determines the direction to move through the "
  2248. "history. A negative argument switches the direction through the history "
  2249. "(back or forward). The history expansion facilities are used to extract the "
  2250. "last argument, as if the @samp{!$} history expansion had been specified."
  2251. msgstr ""
  2252. #. type: subsection
  2253. #: rluser.texi:1259
  2254. #, no-wrap
  2255. msgid "Commands For Changing Text"
  2256. msgstr ""
  2257. #. type: item
  2258. #: rluser.texi:1263
  2259. #, no-wrap
  2260. msgid "@i{end-of-file} (usually C-d)"
  2261. msgstr ""
  2262. #. type: Plain text
  2263. #: rluser.texi:1268
  2264. msgid ""
  2265. "The character indicating end-of-file as set, for example, by @code{stty}. "
  2266. "If this character is read when there are no characters on the line, and "
  2267. "point is at the beginning of the line, Readline interprets it as the end of "
  2268. "input and returns @sc{eof}."
  2269. msgstr ""
  2270. #. type: item
  2271. #: rluser.texi:1269
  2272. #, no-wrap
  2273. msgid "delete-char (C-d)"
  2274. msgstr ""
  2275. #. type: Plain text
  2276. #: rluser.texi:1273
  2277. msgid ""
  2278. "Delete the character at point. If this function is bound to the same "
  2279. "character as the tty @sc{eof} character, as @kbd{C-d} commonly is, see above "
  2280. "for the effects."
  2281. msgstr ""
  2282. #. type: item
  2283. #: rluser.texi:1274
  2284. #, no-wrap
  2285. msgid "backward-delete-char (Rubout)"
  2286. msgstr ""
  2287. #. type: Plain text
  2288. #: rluser.texi:1277
  2289. msgid ""
  2290. "Delete the character behind the cursor. A numeric argument means to kill "
  2291. "the characters instead of deleting them."
  2292. msgstr ""
  2293. #. type: item
  2294. #: rluser.texi:1278
  2295. #, no-wrap
  2296. msgid "forward-backward-delete-char ()"
  2297. msgstr ""
  2298. #. type: Plain text
  2299. #: rluser.texi:1282
  2300. msgid ""
  2301. "Delete the character under the cursor, unless the cursor is at the end of "
  2302. "the line, in which case the character behind the cursor is deleted. By "
  2303. "default, this is not bound to a key."
  2304. msgstr ""
  2305. #. type: item
  2306. #: rluser.texi:1283
  2307. #, no-wrap
  2308. msgid "quoted-insert (C-q or C-v)"
  2309. msgstr ""
  2310. #. type: Plain text
  2311. #: rluser.texi:1286
  2312. msgid ""
  2313. "Add the next character typed to the line verbatim. This is how to insert "
  2314. "key sequences like @kbd{C-q}, for example."
  2315. msgstr ""
  2316. #. type: item
  2317. #: rluser.texi:1288
  2318. #, no-wrap
  2319. msgid "tab-insert (M-@key{TAB})"
  2320. msgstr ""
  2321. #. type: ifclear
  2322. #: rluser.texi:1290
  2323. msgid "Insert a tab character."
  2324. msgstr ""
  2325. #. type: item
  2326. #: rluser.texi:1292
  2327. #, no-wrap
  2328. msgid "self-insert (a, b, A, 1, !, @dots{})"
  2329. msgstr ""
  2330. #. type: Plain text
  2331. #: rluser.texi:1294
  2332. msgid "Insert yourself."
  2333. msgstr ""
  2334. #. type: item
  2335. #: rluser.texi:1295
  2336. #, no-wrap
  2337. msgid "bracketed-paste-begin ()"
  2338. msgstr ""
  2339. #. type: Plain text
  2340. #: rluser.texi:1302
  2341. msgid ""
  2342. "This function is intended to be bound to the \"bracketed paste\" escape "
  2343. "sequence sent by some terminals, and such a binding is assigned by default. "
  2344. "It allows Readline to insert the pasted text as a single unit without "
  2345. "treating each character as if it had been read from the keyboard. The "
  2346. "characters are inserted as if each one was bound to @code{self-insert}) "
  2347. "instead of executing any editing commands."
  2348. msgstr ""
  2349. #. type: item
  2350. #: rluser.texi:1303
  2351. #, no-wrap
  2352. msgid "transpose-chars (C-t)"
  2353. msgstr ""
  2354. #. type: Plain text
  2355. #: rluser.texi:1310
  2356. msgid ""
  2357. "Drag the character before the cursor forward over the character at the "
  2358. "cursor, moving the cursor forward as well. If the insertion point is at the "
  2359. "end of the line, then this transposes the last two characters of the line. "
  2360. "Negative arguments have no effect."
  2361. msgstr ""
  2362. #. type: item
  2363. #: rluser.texi:1311
  2364. #, no-wrap
  2365. msgid "transpose-words (M-t)"
  2366. msgstr ""
  2367. #. type: Plain text
  2368. #: rluser.texi:1316
  2369. msgid ""
  2370. "Drag the word before point past the word after point, moving point past that "
  2371. "word as well. If the insertion point is at the end of the line, this "
  2372. "transposes the last two words on the line."
  2373. msgstr ""
  2374. #. type: item
  2375. #: rluser.texi:1317
  2376. #, no-wrap
  2377. msgid "upcase-word (M-u)"
  2378. msgstr ""
  2379. #. type: Plain text
  2380. #: rluser.texi:1320
  2381. msgid ""
  2382. "Uppercase the current (or following) word. With a negative argument, "
  2383. "uppercase the previous word, but do not move the cursor."
  2384. msgstr ""
  2385. #. type: item
  2386. #: rluser.texi:1321
  2387. #, no-wrap
  2388. msgid "downcase-word (M-l)"
  2389. msgstr ""
  2390. #. type: Plain text
  2391. #: rluser.texi:1324
  2392. msgid ""
  2393. "Lowercase the current (or following) word. With a negative argument, "
  2394. "lowercase the previous word, but do not move the cursor."
  2395. msgstr ""
  2396. #. type: item
  2397. #: rluser.texi:1325
  2398. #, no-wrap
  2399. msgid "capitalize-word (M-c)"
  2400. msgstr ""
  2401. #. type: Plain text
  2402. #: rluser.texi:1328
  2403. msgid ""
  2404. "Capitalize the current (or following) word. With a negative argument, "
  2405. "capitalize the previous word, but do not move the cursor."
  2406. msgstr ""
  2407. #. type: item
  2408. #: rluser.texi:1329
  2409. #, no-wrap
  2410. msgid "overwrite-mode ()"
  2411. msgstr ""
  2412. #. type: Plain text
  2413. #: rluser.texi:1335
  2414. msgid ""
  2415. "Toggle overwrite mode. With an explicit positive numeric argument, switches "
  2416. "to overwrite mode. With an explicit non-positive numeric argument, switches "
  2417. "to insert mode. This command affects only @code{emacs} mode; @code{vi} mode "
  2418. "does overwrite differently. Each call to @code{readline()} starts in insert "
  2419. "mode."
  2420. msgstr ""
  2421. #. type: Plain text
  2422. #: rluser.texi:1340
  2423. msgid ""
  2424. "In overwrite mode, characters bound to @code{self-insert} replace the text "
  2425. "at point rather than pushing the text to the right. Characters bound to "
  2426. "@code{backward-delete-char} replace the character before point with a space."
  2427. msgstr ""
  2428. #. type: Plain text
  2429. #: rluser.texi:1342
  2430. msgid "By default, this command is unbound."
  2431. msgstr ""
  2432. #. type: subsection
  2433. #: rluser.texi:1346
  2434. #, no-wrap
  2435. msgid "Killing And Yanking"
  2436. msgstr ""
  2437. #. type: item
  2438. #: rluser.texi:1350
  2439. #, no-wrap
  2440. msgid "kill-line (C-k)"
  2441. msgstr ""
  2442. #. type: Plain text
  2443. #: rluser.texi:1352
  2444. msgid "Kill the text from point to the end of the line."
  2445. msgstr ""
  2446. #. type: item
  2447. #: rluser.texi:1353
  2448. #, no-wrap
  2449. msgid "backward-kill-line (C-x Rubout)"
  2450. msgstr ""
  2451. #. type: Plain text
  2452. #: rluser.texi:1355 rluser.texi:1358
  2453. msgid "Kill backward from the cursor to the beginning of the current line."
  2454. msgstr ""
  2455. #. type: item
  2456. #: rluser.texi:1356
  2457. #, no-wrap
  2458. msgid "unix-line-discard (C-u)"
  2459. msgstr ""
  2460. #. type: item
  2461. #: rluser.texi:1359
  2462. #, no-wrap
  2463. msgid "kill-whole-line ()"
  2464. msgstr ""
  2465. #. type: Plain text
  2466. #: rluser.texi:1362
  2467. msgid ""
  2468. "Kill all characters on the current line, no matter where point is. By "
  2469. "default, this is unbound."
  2470. msgstr ""
  2471. #. type: item
  2472. #: rluser.texi:1363
  2473. #, no-wrap
  2474. msgid "kill-word (M-d)"
  2475. msgstr ""
  2476. #. type: Plain text
  2477. #: rluser.texi:1367
  2478. msgid ""
  2479. "Kill from point to the end of the current word, or if between words, to the "
  2480. "end of the next word. Word boundaries are the same as @code{forward-word}."
  2481. msgstr ""
  2482. #. type: item
  2483. #: rluser.texi:1368
  2484. #, no-wrap
  2485. msgid "backward-kill-word (M-@key{DEL})"
  2486. msgstr ""
  2487. #. type: Plain text
  2488. #: rluser.texi:1371
  2489. msgid ""
  2490. "Kill the word behind point. Word boundaries are the same as @code{backward-"
  2491. "word}."
  2492. msgstr ""
  2493. #. type: item
  2494. #: rluser.texi:1373
  2495. #, no-wrap
  2496. msgid "shell-kill-word ()"
  2497. msgstr ""
  2498. #. type: ifset
  2499. #: rluser.texi:1377
  2500. msgid ""
  2501. "Kill from point to the end of the current word, or if between words, to the "
  2502. "end of the next word. Word boundaries are the same as @code{shell-forward-"
  2503. "word}."
  2504. msgstr ""
  2505. #. type: item
  2506. #: rluser.texi:1378
  2507. #, no-wrap
  2508. msgid "shell-backward-kill-word ()"
  2509. msgstr ""
  2510. #. type: ifset
  2511. #: rluser.texi:1381
  2512. msgid ""
  2513. "Kill the word behind point. Word boundaries are the same as @code{shell-"
  2514. "backward-word}."
  2515. msgstr ""
  2516. #. type: item
  2517. #: rluser.texi:1383
  2518. #, no-wrap
  2519. msgid "unix-word-rubout (C-w)"
  2520. msgstr ""
  2521. #. type: Plain text
  2522. #: rluser.texi:1386
  2523. msgid ""
  2524. "Kill the word behind point, using white space as a word boundary. The "
  2525. "killed text is saved on the kill-ring."
  2526. msgstr ""
  2527. #. type: item
  2528. #: rluser.texi:1387
  2529. #, no-wrap
  2530. msgid "unix-filename-rubout ()"
  2531. msgstr ""
  2532. #. type: Plain text
  2533. #: rluser.texi:1391
  2534. msgid ""
  2535. "Kill the word behind point, using white space and the slash character as the "
  2536. "word boundaries. The killed text is saved on the kill-ring."
  2537. msgstr ""
  2538. #. type: item
  2539. #: rluser.texi:1392
  2540. #, no-wrap
  2541. msgid "delete-horizontal-space ()"
  2542. msgstr ""
  2543. #. type: Plain text
  2544. #: rluser.texi:1394
  2545. msgid "Delete all spaces and tabs around point. By default, this is unbound."
  2546. msgstr ""
  2547. #. type: item
  2548. #: rluser.texi:1395
  2549. #, no-wrap
  2550. msgid "kill-region ()"
  2551. msgstr ""
  2552. #. type: Plain text
  2553. #: rluser.texi:1398
  2554. msgid ""
  2555. "Kill the text in the current region. By default, this command is unbound."
  2556. msgstr ""
  2557. #. type: item
  2558. #: rluser.texi:1399
  2559. #, no-wrap
  2560. msgid "copy-region-as-kill ()"
  2561. msgstr ""
  2562. #. type: Plain text
  2563. #: rluser.texi:1402
  2564. msgid ""
  2565. "Copy the text in the region to the kill buffer, so it can be yanked right "
  2566. "away. By default, this command is unbound."
  2567. msgstr ""
  2568. #. type: item
  2569. #: rluser.texi:1403
  2570. #, no-wrap
  2571. msgid "copy-backward-word ()"
  2572. msgstr ""
  2573. #. type: Plain text
  2574. #: rluser.texi:1407
  2575. msgid ""
  2576. "Copy the word before point to the kill buffer. The word boundaries are the "
  2577. "same as @code{backward-word}. By default, this command is unbound."
  2578. msgstr ""
  2579. #. type: item
  2580. #: rluser.texi:1408
  2581. #, no-wrap
  2582. msgid "copy-forward-word ()"
  2583. msgstr ""
  2584. #. type: Plain text
  2585. #: rluser.texi:1412
  2586. msgid ""
  2587. "Copy the word following point to the kill buffer. The word boundaries are "
  2588. "the same as @code{forward-word}. By default, this command is unbound."
  2589. msgstr ""
  2590. #. type: item
  2591. #: rluser.texi:1413
  2592. #, no-wrap
  2593. msgid "yank (C-y)"
  2594. msgstr ""
  2595. #. type: Plain text
  2596. #: rluser.texi:1415
  2597. msgid "Yank the top of the kill ring into the buffer at point."
  2598. msgstr ""
  2599. #. type: item
  2600. #: rluser.texi:1416
  2601. #, no-wrap
  2602. msgid "yank-pop (M-y)"
  2603. msgstr ""
  2604. #. type: Plain text
  2605. #: rluser.texi:1419
  2606. msgid ""
  2607. "Rotate the kill-ring, and yank the new top. You can only do this if the "
  2608. "prior command is @code{yank} or @code{yank-pop}."
  2609. msgstr ""
  2610. #. type: subsection
  2611. #: rluser.texi:1422
  2612. #, no-wrap
  2613. msgid "Specifying Numeric Arguments"
  2614. msgstr ""
  2615. #. type: item
  2616. #: rluser.texi:1425
  2617. #, no-wrap
  2618. msgid "digit-argument (@kbd{M-0}, @kbd{M-1}, @dots{} @kbd{M--})"
  2619. msgstr ""
  2620. #. type: Plain text
  2621. #: rluser.texi:1428
  2622. msgid ""
  2623. "Add this digit to the argument already accumulating, or start a new "
  2624. "argument. @kbd{M--} starts a negative argument."
  2625. msgstr ""
  2626. #. type: item
  2627. #: rluser.texi:1429
  2628. #, no-wrap
  2629. msgid "universal-argument ()"
  2630. msgstr ""
  2631. #. type: Plain text
  2632. #: rluser.texi:1442
  2633. msgid ""
  2634. "This is another way to specify an argument. If this command is followed by "
  2635. "one or more digits, optionally with a leading minus sign, those digits "
  2636. "define the argument. If the command is followed by digits, executing "
  2637. "@code{universal-argument} again ends the numeric argument, but is otherwise "
  2638. "ignored. As a special case, if this command is immediately followed by a "
  2639. "character that is neither a digit nor minus sign, the argument count for the "
  2640. "next command is multiplied by four. The argument count is initially one, so "
  2641. "executing this function the first time makes the argument count four, a "
  2642. "second time makes the argument count sixteen, and so on. By default, this "
  2643. "is not bound to a key."
  2644. msgstr ""
  2645. #. type: subsection
  2646. #: rluser.texi:1445
  2647. #, no-wrap
  2648. msgid "Letting Readline Type For You"
  2649. msgstr ""
  2650. #. type: item
  2651. #: rluser.texi:1448
  2652. #, no-wrap
  2653. msgid "complete (@key{TAB})"
  2654. msgstr ""
  2655. #. type: Plain text
  2656. #: rluser.texi:1451
  2657. msgid ""
  2658. "Attempt to perform completion on the text before point. The actual "
  2659. "completion performed is application-specific."
  2660. msgstr ""
  2661. #. type: ifset
  2662. #: rluser.texi:1457
  2663. msgid ""
  2664. "Bash attempts completion treating the text as a variable (if the text begins "
  2665. "with @samp{$}), username (if the text begins with @samp{~}), hostname (if "
  2666. "the text begins with @samp{@@}), or command (including aliases and "
  2667. "functions) in turn. If none of these produces a match, filename completion "
  2668. "is attempted."
  2669. msgstr ""
  2670. #. type: ifclear
  2671. #: rluser.texi:1460
  2672. msgid "The default is filename completion."
  2673. msgstr ""
  2674. #. type: item
  2675. #: rluser.texi:1462
  2676. #, no-wrap
  2677. msgid "possible-completions (M-?)"
  2678. msgstr ""
  2679. #. type: Plain text
  2680. #: rluser.texi:1467
  2681. msgid ""
  2682. "List the possible completions of the text before point. When displaying "
  2683. "completions, Readline sets the number of columns used for display to the "
  2684. "value of @code{completion-display-width}, the value of the environment "
  2685. "variable @env{COLUMNS}, or the screen width, in that order."
  2686. msgstr ""
  2687. #. type: item
  2688. #: rluser.texi:1468
  2689. #, no-wrap
  2690. msgid "insert-completions (M-*)"
  2691. msgstr ""
  2692. #. type: Plain text
  2693. #: rluser.texi:1471
  2694. msgid ""
  2695. "Insert all completions of the text before point that would have been "
  2696. "generated by @code{possible-completions}."
  2697. msgstr ""
  2698. #. type: item
  2699. #: rluser.texi:1472
  2700. #, no-wrap
  2701. msgid "menu-complete ()"
  2702. msgstr ""
  2703. #. type: Plain text
  2704. #: rluser.texi:1485
  2705. msgid ""
  2706. "Similar to @code{complete}, but replaces the word to be completed with a "
  2707. "single match from the list of possible completions. Repeated execution of "
  2708. "@code{menu-complete} steps through the list of possible completions, "
  2709. "inserting each match in turn. At the end of the list of completions, the "
  2710. "bell is rung (subject to the setting of @code{bell-style}) and the original "
  2711. "text is restored. An argument of @var{n} moves @var{n} positions forward in "
  2712. "the list of matches; a negative argument may be used to move backward "
  2713. "through the list. This command is intended to be bound to @key{TAB}, but is "
  2714. "unbound by default."
  2715. msgstr ""
  2716. #. type: item
  2717. #: rluser.texi:1486
  2718. #, no-wrap
  2719. msgid "menu-complete-backward ()"
  2720. msgstr ""
  2721. #. type: Plain text
  2722. #: rluser.texi:1490
  2723. msgid ""
  2724. "Identical to @code{menu-complete}, but moves backward through the list of "
  2725. "possible completions, as if @code{menu-complete} had been given a negative "
  2726. "argument."
  2727. msgstr ""
  2728. #. type: item
  2729. #: rluser.texi:1491
  2730. #, no-wrap
  2731. msgid "delete-char-or-list ()"
  2732. msgstr ""
  2733. #. type: Plain text
  2734. #: rluser.texi:1497
  2735. msgid ""
  2736. "Deletes the character under the cursor if not at the beginning or end of the "
  2737. "line (like @code{delete-char}). If at the end of the line, behaves "
  2738. "identically to @code{possible-completions}. This command is unbound by "
  2739. "default."
  2740. msgstr ""
  2741. #. type: item
  2742. #: rluser.texi:1499
  2743. #, no-wrap
  2744. msgid "complete-filename (M-/)"
  2745. msgstr ""
  2746. #. type: ifset
  2747. #: rluser.texi:1501
  2748. msgid "Attempt filename completion on the text before point."
  2749. msgstr ""
  2750. #. type: item
  2751. #: rluser.texi:1502
  2752. #, no-wrap
  2753. msgid "possible-filename-completions (C-x /)"
  2754. msgstr ""
  2755. #. type: ifset
  2756. #: rluser.texi:1505
  2757. msgid ""
  2758. "List the possible completions of the text before point, treating it as a "
  2759. "filename."
  2760. msgstr ""
  2761. #. type: item
  2762. #: rluser.texi:1506
  2763. #, no-wrap
  2764. msgid "complete-username (M-~)"
  2765. msgstr ""
  2766. #. type: ifset
  2767. #: rluser.texi:1509
  2768. msgid "Attempt completion on the text before point, treating it as a username."
  2769. msgstr ""
  2770. #. type: item
  2771. #: rluser.texi:1510
  2772. #, no-wrap
  2773. msgid "possible-username-completions (C-x ~)"
  2774. msgstr ""
  2775. #. type: ifset
  2776. #: rluser.texi:1513
  2777. msgid ""
  2778. "List the possible completions of the text before point, treating it as a "
  2779. "username."
  2780. msgstr ""
  2781. #. type: item
  2782. #: rluser.texi:1514
  2783. #, no-wrap
  2784. msgid "complete-variable (M-$)"
  2785. msgstr ""
  2786. #. type: ifset
  2787. #: rluser.texi:1517
  2788. msgid ""
  2789. "Attempt completion on the text before point, treating it as a shell variable."
  2790. msgstr ""
  2791. #. type: item
  2792. #: rluser.texi:1518
  2793. #, no-wrap
  2794. msgid "possible-variable-completions (C-x $)"
  2795. msgstr ""
  2796. #. type: ifset
  2797. #: rluser.texi:1521
  2798. msgid ""
  2799. "List the possible completions of the text before point, treating it as a "
  2800. "shell variable."
  2801. msgstr ""
  2802. #. type: item
  2803. #: rluser.texi:1522
  2804. #, no-wrap
  2805. msgid "complete-hostname (M-@@)"
  2806. msgstr ""
  2807. #. type: ifset
  2808. #: rluser.texi:1525
  2809. msgid "Attempt completion on the text before point, treating it as a hostname."
  2810. msgstr ""
  2811. #. type: item
  2812. #: rluser.texi:1526
  2813. #, no-wrap
  2814. msgid "possible-hostname-completions (C-x @@)"
  2815. msgstr ""
  2816. #. type: ifset
  2817. #: rluser.texi:1529
  2818. msgid ""
  2819. "List the possible completions of the text before point, treating it as a "
  2820. "hostname."
  2821. msgstr ""
  2822. #. type: item
  2823. #: rluser.texi:1530
  2824. #, no-wrap
  2825. msgid "complete-command (M-!)"
  2826. msgstr ""
  2827. #. type: ifset
  2828. #: rluser.texi:1536
  2829. msgid ""
  2830. "Attempt completion on the text before point, treating it as a command name. "
  2831. "Command completion attempts to match the text against aliases, reserved "
  2832. "words, shell functions, shell builtins, and finally executable filenames, in "
  2833. "that order."
  2834. msgstr ""
  2835. #. type: item
  2836. #: rluser.texi:1537
  2837. #, no-wrap
  2838. msgid "possible-command-completions (C-x !)"
  2839. msgstr ""
  2840. #. type: ifset
  2841. #: rluser.texi:1540
  2842. msgid ""
  2843. "List the possible completions of the text before point, treating it as a "
  2844. "command name."
  2845. msgstr ""
  2846. #. type: item
  2847. #: rluser.texi:1541
  2848. #, no-wrap
  2849. msgid "dynamic-complete-history (M-@key{TAB})"
  2850. msgstr ""
  2851. #. type: ifset
  2852. #: rluser.texi:1545
  2853. msgid ""
  2854. "Attempt completion on the text before point, comparing the text against "
  2855. "lines from the history list for possible completion matches."
  2856. msgstr ""
  2857. #. type: item
  2858. #: rluser.texi:1546
  2859. #, no-wrap
  2860. msgid "dabbrev-expand ()"
  2861. msgstr ""
  2862. #. type: ifset
  2863. #: rluser.texi:1550
  2864. msgid ""
  2865. "Attempt menu completion on the text before point, comparing the text against "
  2866. "lines from the history list for possible completion matches."
  2867. msgstr ""
  2868. #. type: item
  2869. #: rluser.texi:1551
  2870. #, no-wrap
  2871. msgid "complete-into-braces (M-@{)"
  2872. msgstr ""
  2873. #. type: ifset
  2874. #: rluser.texi:1555
  2875. msgid ""
  2876. "Perform filename completion and insert the list of possible completions "
  2877. "enclosed within braces so the list is available to the shell (@pxref{Brace "
  2878. "Expansion})."
  2879. msgstr ""
  2880. #. type: item
  2881. #: rluser.texi:1563
  2882. #, no-wrap
  2883. msgid "start-kbd-macro (C-x ()"
  2884. msgstr ""
  2885. #. type: Plain text
  2886. #: rluser.texi:1565
  2887. msgid "Begin saving the characters typed into the current keyboard macro."
  2888. msgstr ""
  2889. #. type: item
  2890. #: rluser.texi:1566
  2891. #, no-wrap
  2892. msgid "end-kbd-macro (C-x ))"
  2893. msgstr ""
  2894. #. type: Plain text
  2895. #: rluser.texi:1569
  2896. msgid ""
  2897. "Stop saving the characters typed into the current keyboard macro and save "
  2898. "the definition."
  2899. msgstr ""
  2900. #. type: item
  2901. #: rluser.texi:1570
  2902. #, no-wrap
  2903. msgid "call-last-kbd-macro (C-x e)"
  2904. msgstr ""
  2905. #. type: Plain text
  2906. #: rluser.texi:1573
  2907. msgid ""
  2908. "Re-execute the last keyboard macro defined, by making the characters in the "
  2909. "macro appear as if typed at the keyboard."
  2910. msgstr ""
  2911. #. type: item
  2912. #: rluser.texi:1574
  2913. #, no-wrap
  2914. msgid "print-last-kbd-macro ()"
  2915. msgstr ""
  2916. #. type: Plain text
  2917. #: rluser.texi:1577
  2918. msgid ""
  2919. "Print the last keboard macro defined in a format suitable for the "
  2920. "@var{inputrc} file."
  2921. msgstr ""
  2922. #. type: subsection
  2923. #: rluser.texi:1581
  2924. #, no-wrap
  2925. msgid "Some Miscellaneous Commands"
  2926. msgstr ""
  2927. #. type: item
  2928. #: rluser.texi:1584
  2929. #, no-wrap
  2930. msgid "re-read-init-file (C-x C-r)"
  2931. msgstr ""
  2932. #. type: Plain text
  2933. #: rluser.texi:1587
  2934. msgid ""
  2935. "Read in the contents of the @var{inputrc} file, and incorporate any bindings "
  2936. "or variable assignments found there."
  2937. msgstr ""
  2938. #. type: item
  2939. #: rluser.texi:1588
  2940. #, no-wrap
  2941. msgid "abort (C-g)"
  2942. msgstr ""
  2943. #. type: Plain text
  2944. #: rluser.texi:1592
  2945. msgid ""
  2946. "Abort the current editing command and ring the terminal's bell (subject to "
  2947. "the setting of @code{bell-style})."
  2948. msgstr ""
  2949. #. type: item
  2950. #: rluser.texi:1593
  2951. #, no-wrap
  2952. msgid "do-uppercase-version (M-a, M-b, M-@var{x}, @dots{})"
  2953. msgstr ""
  2954. #. type: Plain text
  2955. #: rluser.texi:1596
  2956. msgid ""
  2957. "If the metafied character @var{x} is lowercase, run the command that is "
  2958. "bound to the corresponding uppercase character."
  2959. msgstr ""
  2960. #. type: item
  2961. #: rluser.texi:1597
  2962. #, no-wrap
  2963. msgid "prefix-meta (@key{ESC})"
  2964. msgstr ""
  2965. #. type: Plain text
  2966. #: rluser.texi:1601
  2967. msgid ""
  2968. "Metafy the next character typed. This is for keyboards without a meta key. "
  2969. "Typing @samp{@key{ESC} f} is equivalent to typing @kbd{M-f}."
  2970. msgstr ""
  2971. #. type: item
  2972. #: rluser.texi:1602
  2973. #, no-wrap
  2974. msgid "undo (C-_ or C-x C-u)"
  2975. msgstr ""
  2976. #. type: Plain text
  2977. #: rluser.texi:1604
  2978. msgid "Incremental undo, separately remembered for each line."
  2979. msgstr ""
  2980. #. type: item
  2981. #: rluser.texi:1605
  2982. #, no-wrap
  2983. msgid "revert-line (M-r)"
  2984. msgstr ""
  2985. #. type: Plain text
  2986. #: rluser.texi:1608
  2987. msgid ""
  2988. "Undo all changes made to this line. This is like executing the @code{undo} "
  2989. "command enough times to get back to the beginning."
  2990. msgstr ""
  2991. #. type: item
  2992. #: rluser.texi:1610
  2993. #, no-wrap
  2994. msgid "tilde-expand (M-&)"
  2995. msgstr ""
  2996. #. type: item
  2997. #: rluser.texi:1613
  2998. #, no-wrap
  2999. msgid "tilde-expand (M-~)"
  3000. msgstr ""
  3001. #. type: Plain text
  3002. #: rluser.texi:1616
  3003. msgid "Perform tilde expansion on the current word."
  3004. msgstr ""
  3005. #. type: item
  3006. #: rluser.texi:1617
  3007. #, no-wrap
  3008. msgid "set-mark (C-@@)"
  3009. msgstr ""
  3010. #. type: Plain text
  3011. #: rluser.texi:1620
  3012. msgid ""
  3013. "Set the mark to the point. If a numeric argument is supplied, the mark is "
  3014. "set to that position."
  3015. msgstr ""
  3016. #. type: item
  3017. #: rluser.texi:1621
  3018. #, no-wrap
  3019. msgid "exchange-point-and-mark (C-x C-x)"
  3020. msgstr ""
  3021. #. type: Plain text
  3022. #: rluser.texi:1624
  3023. msgid ""
  3024. "Swap the point with the mark. The current cursor position is set to the "
  3025. "saved position, and the old cursor position is saved as the mark."
  3026. msgstr ""
  3027. #. type: item
  3028. #: rluser.texi:1625
  3029. #, no-wrap
  3030. msgid "character-search (C-])"
  3031. msgstr ""
  3032. #. type: Plain text
  3033. #: rluser.texi:1628
  3034. msgid ""
  3035. "A character is read and point is moved to the next occurrence of that "
  3036. "character. A negative count searches for previous occurrences."
  3037. msgstr ""
  3038. #. type: item
  3039. #: rluser.texi:1629
  3040. #, no-wrap
  3041. msgid "character-search-backward (M-C-])"
  3042. msgstr ""
  3043. #. type: Plain text
  3044. #: rluser.texi:1633
  3045. msgid ""
  3046. "A character is read and point is moved to the previous occurrence of that "
  3047. "character. A negative count searches for subsequent occurrences."
  3048. msgstr ""
  3049. #. type: item
  3050. #: rluser.texi:1634
  3051. #, no-wrap
  3052. msgid "skip-csi-sequence ()"
  3053. msgstr ""
  3054. #. type: Plain text
  3055. #: rluser.texi:1642
  3056. msgid ""
  3057. "Read enough characters to consume a multi-key sequence such as those defined "
  3058. "for keys like Home and End. Such sequences begin with a Control Sequence "
  3059. "Indicator (CSI), usually ESC-[. If this sequence is bound to \"\\e[\", keys "
  3060. "producing such sequences will have no effect unless explicitly bound to a "
  3061. "readline command, instead of inserting stray characters into the editing "
  3062. "buffer. This is unbound by default, but usually bound to ESC-[."
  3063. msgstr ""
  3064. #. type: item
  3065. #: rluser.texi:1643
  3066. #, no-wrap
  3067. msgid "insert-comment (M-#)"
  3068. msgstr ""
  3069. #. type: Plain text
  3070. #: rluser.texi:1652
  3071. msgid ""
  3072. "Without a numeric argument, the value of the @code{comment-begin} variable "
  3073. "is inserted at the beginning of the current line. If a numeric argument is "
  3074. "supplied, this command acts as a toggle: if the characters at the beginning "
  3075. "of the line do not match the value of @code{comment-begin}, the value is "
  3076. "inserted, otherwise the characters in @code{comment-begin} are deleted from "
  3077. "the beginning of the line. In either case, the line is accepted as if a "
  3078. "newline had been typed."
  3079. msgstr ""
  3080. #. type: ifset
  3081. #: rluser.texi:1657
  3082. msgid ""
  3083. "The default value of @code{comment-begin} causes this command to make the "
  3084. "current line a shell comment. If a numeric argument causes the comment "
  3085. "character to be removed, the line will be executed by the shell."
  3086. msgstr ""
  3087. #. type: item
  3088. #: rluser.texi:1659
  3089. #, no-wrap
  3090. msgid "dump-functions ()"
  3091. msgstr ""
  3092. #. type: Plain text
  3093. #: rluser.texi:1664
  3094. msgid ""
  3095. "Print all of the functions and their key bindings to the Readline output "
  3096. "stream. If a numeric argument is supplied, the output is formatted in such "
  3097. "a way that it can be made part of an @var{inputrc} file. This command is "
  3098. "unbound by default."
  3099. msgstr ""
  3100. #. type: item
  3101. #: rluser.texi:1665
  3102. #, no-wrap
  3103. msgid "dump-variables ()"
  3104. msgstr ""
  3105. #. type: Plain text
  3106. #: rluser.texi:1670
  3107. msgid ""
  3108. "Print all of the settable variables and their values to the Readline output "
  3109. "stream. If a numeric argument is supplied, the output is formatted in such "
  3110. "a way that it can be made part of an @var{inputrc} file. This command is "
  3111. "unbound by default."
  3112. msgstr ""
  3113. #. type: item
  3114. #: rluser.texi:1671
  3115. #, no-wrap
  3116. msgid "dump-macros ()"
  3117. msgstr ""
  3118. #. type: Plain text
  3119. #: rluser.texi:1676
  3120. msgid ""
  3121. "Print all of the Readline key sequences bound to macros and the strings they "
  3122. "output. If a numeric argument is supplied, the output is formatted in such "
  3123. "a way that it can be made part of an @var{inputrc} file. This command is "
  3124. "unbound by default."
  3125. msgstr ""
  3126. #. type: item
  3127. #: rluser.texi:1678
  3128. #, no-wrap
  3129. msgid "glob-complete-word (M-g)"
  3130. msgstr ""
  3131. #. type: ifset
  3132. #: rluser.texi:1682
  3133. msgid ""
  3134. "The word before point is treated as a pattern for pathname expansion, with "
  3135. "an asterisk implicitly appended. This pattern is used to generate a list of "
  3136. "matching file names for possible completions."
  3137. msgstr ""
  3138. #. type: item
  3139. #: rluser.texi:1683
  3140. #, no-wrap
  3141. msgid "glob-expand-word (C-x *)"
  3142. msgstr ""
  3143. #. type: ifset
  3144. #: rluser.texi:1688
  3145. msgid ""
  3146. "The word before point is treated as a pattern for pathname expansion, and "
  3147. "the list of matching file names is inserted, replacing the word. If a "
  3148. "numeric argument is supplied, a @samp{*} is appended before pathname "
  3149. "expansion."
  3150. msgstr ""
  3151. #. type: item
  3152. #: rluser.texi:1689
  3153. #, no-wrap
  3154. msgid "glob-list-expansions (C-x g)"
  3155. msgstr ""
  3156. #. type: ifset
  3157. #: rluser.texi:1694
  3158. msgid ""
  3159. "The list of expansions that would have been generated by @code{glob-expand-"
  3160. "word} is displayed, and the line is redrawn. If a numeric argument is "
  3161. "supplied, a @samp{*} is appended before pathname expansion."
  3162. msgstr ""
  3163. #. type: item
  3164. #: rluser.texi:1695
  3165. #, no-wrap
  3166. msgid "display-shell-version (C-x C-v)"
  3167. msgstr ""
  3168. #. type: ifset
  3169. #: rluser.texi:1697
  3170. msgid "Display version information about the current instance of Bash."
  3171. msgstr ""
  3172. #. type: item
  3173. #: rluser.texi:1698
  3174. #, no-wrap
  3175. msgid "shell-expand-line (M-C-e)"
  3176. msgstr ""
  3177. #. type: ifset
  3178. #: rluser.texi:1702
  3179. msgid ""
  3180. "Expand the line as the shell does. This performs alias and history "
  3181. "expansion as well as all of the shell word expansions (@pxref{Shell "
  3182. "Expansions})."
  3183. msgstr ""
  3184. #. type: item
  3185. #: rluser.texi:1703
  3186. #, no-wrap
  3187. msgid "history-expand-line (M-^)"
  3188. msgstr ""
  3189. #. type: ifset
  3190. #: rluser.texi:1705
  3191. msgid "Perform history expansion on the current line."
  3192. msgstr ""
  3193. #. type: item
  3194. #: rluser.texi:1706
  3195. #, no-wrap
  3196. msgid "magic-space ()"
  3197. msgstr ""
  3198. #. type: ifset
  3199. #: rluser.texi:1709
  3200. msgid ""
  3201. "Perform history expansion on the current line and insert a space "
  3202. "(@pxref{History Interaction})."
  3203. msgstr ""
  3204. #. type: item
  3205. #: rluser.texi:1710
  3206. #, no-wrap
  3207. msgid "alias-expand-line ()"
  3208. msgstr ""
  3209. #. type: ifset
  3210. #: rluser.texi:1712
  3211. msgid "Perform alias expansion on the current line (@pxref{Aliases})."
  3212. msgstr ""
  3213. #. type: item
  3214. #: rluser.texi:1713
  3215. #, no-wrap
  3216. msgid "history-and-alias-expand-line ()"
  3217. msgstr ""
  3218. #. type: ifset
  3219. #: rluser.texi:1715
  3220. msgid "Perform history and alias expansion on the current line."
  3221. msgstr ""
  3222. #. type: item
  3223. #: rluser.texi:1716
  3224. #, no-wrap
  3225. msgid "insert-last-argument (M-. or M-_)"
  3226. msgstr ""
  3227. #. type: ifset
  3228. #: rluser.texi:1718
  3229. msgid "A synonym for @code{yank-last-arg}."
  3230. msgstr ""
  3231. #. type: item
  3232. #: rluser.texi:1719
  3233. #, no-wrap
  3234. msgid "operate-and-get-next (C-o)"
  3235. msgstr ""
  3236. #. type: ifset
  3237. #: rluser.texi:1723
  3238. msgid ""
  3239. "Accept the current line for execution and fetch the next line relative to "
  3240. "the current line from the history for editing. Any argument is ignored."
  3241. msgstr ""
  3242. #. type: item
  3243. #: rluser.texi:1724
  3244. #, no-wrap
  3245. msgid "edit-and-execute-command (C-xC-e)"
  3246. msgstr ""
  3247. #. type: ifset
  3248. #: rluser.texi:1730
  3249. msgid ""
  3250. "Invoke an editor on the current command line, and execute the result as "
  3251. "shell commands. Bash attempts to invoke @code{$VISUAL}, @code{$EDITOR}, and "
  3252. "@code{emacs} as the editor, in that order."
  3253. msgstr ""
  3254. #. type: item
  3255. #: rluser.texi:1734
  3256. #, no-wrap
  3257. msgid "emacs-editing-mode (C-e)"
  3258. msgstr ""
  3259. #. type: ifclear
  3260. #: rluser.texi:1737
  3261. msgid ""
  3262. "When in @code{vi} command mode, this causes a switch to @code{emacs} editing "
  3263. "mode."
  3264. msgstr ""
  3265. #. type: item
  3266. #: rluser.texi:1738
  3267. #, no-wrap
  3268. msgid "vi-editing-mode (M-C-j)"
  3269. msgstr ""
  3270. #. type: ifclear
  3271. #: rluser.texi:1741
  3272. msgid ""
  3273. "When in @code{emacs} editing mode, this causes a switch to @code{vi} editing "
  3274. "mode."
  3275. msgstr ""
  3276. #. type: Plain text
  3277. #: rluser.texi:1753
  3278. msgid ""
  3279. "While the Readline library does not have a full set of @code{vi} editing "
  3280. "functions, it does contain enough to allow simple editing of the line. The "
  3281. "Readline @code{vi} mode behaves as specified in the @sc{posix} standard."
  3282. msgstr ""
  3283. #. type: ifset
  3284. #: rluser.texi:1758
  3285. msgid ""
  3286. "In order to switch interactively between @code{emacs} and @code{vi} editing "
  3287. "modes, use the @samp{set -o emacs} and @samp{set -o vi} commands (@pxref{The "
  3288. "Set Builtin})."
  3289. msgstr ""
  3290. #. type: ifclear
  3291. #: rluser.texi:1763
  3292. msgid ""
  3293. "In order to switch interactively between @code{emacs} and @code{vi} editing "
  3294. "modes, use the command @kbd{M-C-j} (bound to emacs-editing-mode when in "
  3295. "@code{vi} mode and to vi-editing-mode in @code{emacs} mode)."
  3296. msgstr ""
  3297. #. type: Plain text
  3298. #: rluser.texi:1765
  3299. msgid "The Readline default is @code{emacs} mode."
  3300. msgstr ""
  3301. #. type: Plain text
  3302. #: rluser.texi:1772
  3303. msgid ""
  3304. "When you enter a line in @code{vi} mode, you are already placed in "
  3305. "`insertion' mode, as if you had typed an @samp{i}. Pressing @key{ESC} "
  3306. "switches you into `command' mode, where you can edit the text of the line "
  3307. "with the standard @code{vi} movement keys, move to previous history lines "
  3308. "with @samp{k} and subsequent lines with @samp{j}, and so forth."
  3309. msgstr ""
  3310. #. type: section
  3311. #: rluser.texi:1774 rluser.texi:1775
  3312. #, no-wrap
  3313. msgid "Programmable Completion"
  3314. msgstr "Compleción Programable"
  3315. #. type: cindex
  3316. #: rluser.texi:1776
  3317. #, no-wrap
  3318. msgid "programmable completion"
  3319. msgstr ""
  3320. #. type: ifset
  3321. #: rluser.texi:1782
  3322. msgid ""
  3323. "When word completion is attempted for an argument to a command for which a "
  3324. "completion specification (a @var{compspec}) has been defined using the "
  3325. "@code{complete} builtin (@pxref{Programmable Completion Builtins}), the "
  3326. "programmable completion facilities are invoked."
  3327. msgstr ""
  3328. #. type: ifset
  3329. #: rluser.texi:1795
  3330. msgid ""
  3331. "First, the command name is identified. If a compspec has been defined for "
  3332. "that command, the compspec is used to generate the list of possible "
  3333. "completions for the word. If the command word is the empty string "
  3334. "(completion attempted at the beginning of an empty line), any compspec "
  3335. "defined with the @option{-E} option to @code{complete} is used. If the "
  3336. "command word is a full pathname, a compspec for the full pathname is "
  3337. "searched for first. If no compspec is found for the full pathname, an "
  3338. "attempt is made to find a compspec for the portion following the final "
  3339. "slash. If those searches do not result in a compspec, any compspec defined "
  3340. "with the @option{-D} option to @code{complete} is used as the default."
  3341. msgstr ""
  3342. #. type: ifset
  3343. #: rluser.texi:1800
  3344. msgid ""
  3345. "Once a compspec has been found, it is used to generate the list of matching "
  3346. "words. If a compspec is not found, the default Bash completion described "
  3347. "above (@pxref{Commands For Completion}) is performed."
  3348. msgstr ""
  3349. #. type: ifset
  3350. #: rluser.texi:1808
  3351. msgid ""
  3352. "First, the actions specified by the compspec are used. Only matches which "
  3353. "are prefixed by the word being completed are returned. When the @option{-f} "
  3354. "or @option{-d} option is used for filename or directory name completion, the "
  3355. "shell variable @env{FIGNORE} is used to filter the matches. @xref{Bash "
  3356. "Variables}, for a description of @env{FIGNORE}."
  3357. msgstr ""
  3358. #. type: ifset
  3359. #: rluser.texi:1814
  3360. msgid ""
  3361. "Any completions specified by a filename expansion pattern to the @option{-G} "
  3362. "option are generated next. The words generated by the pattern need not "
  3363. "match the word being completed. The @env{GLOBIGNORE} shell variable is not "
  3364. "used to filter the matches, but the @env{FIGNORE} shell variable is used."
  3365. msgstr ""
  3366. #. type: ifset
  3367. #: rluser.texi:1828
  3368. msgid ""
  3369. "Next, the string specified as the argument to the @option{-W} option is "
  3370. "considered. The string is first split using the characters in the @env{IFS} "
  3371. "special variable as delimiters. Shell quoting is honored. Each word is "
  3372. "then expanded using brace expansion, tilde expansion, parameter and variable "
  3373. "expansion, command substitution, and arithmetic expansion, as described "
  3374. "above (@pxref{Shell Expansions}). The results are split using the rules "
  3375. "described above (@pxref{Word Splitting}). The results of the expansion are "
  3376. "prefix-matched against the word being completed, and the matching words "
  3377. "become the possible completions."
  3378. msgstr ""
  3379. #. type: ifset
  3380. #: rluser.texi:1844
  3381. msgid ""
  3382. "After these matches have been generated, any shell function or command "
  3383. "specified with the @option{-F} and @option{-C} options is invoked. When the "
  3384. "command or function is invoked, the @env{COMP_LINE}, @env{COMP_POINT}, "
  3385. "@env{COMP_KEY}, and @env{COMP_TYPE} variables are assigned values as "
  3386. "described above (@pxref{Bash Variables}). If a shell function is being "
  3387. "invoked, the @env{COMP_WORDS} and @env{COMP_CWORD} variables are also set. "
  3388. "When the function or command is invoked, the first argument ($1) is the name "
  3389. "of the command whose arguments are being completed, the second argument ($2) "
  3390. "is the word being completed, and the third argument ($3) is the word "
  3391. "preceding the word being completed on the current command line. No "
  3392. "filtering of the generated completions against the word being completed is "
  3393. "performed; the function or command has complete freedom in generating the "
  3394. "matches."
  3395. msgstr ""
  3396. #. type: ifset
  3397. #: rluser.texi:1851
  3398. msgid ""
  3399. "Any function specified with @option{-F} is invoked first. The function may "
  3400. "use any of the shell facilities, including the @code{compgen} and "
  3401. "@code{compopt} builtins described below (@pxref{Programmable Completion "
  3402. "Builtins}), to generate the matches. It must put the possible completions "
  3403. "in the @env{COMPREPLY} array variable, one per array element."
  3404. msgstr ""
  3405. #. type: ifset
  3406. #: rluser.texi:1857
  3407. msgid ""
  3408. "Next, any command specified with the @option{-C} option is invoked in an "
  3409. "environment equivalent to command substitution. It should print a list of "
  3410. "completions, one per line, to the standard output. Backslash may be used to "
  3411. "escape a newline, if necessary."
  3412. msgstr ""
  3413. #. type: ifset
  3414. #: rluser.texi:1871
  3415. msgid ""
  3416. "After all of the possible completions are generated, any filter specified "
  3417. "with the @option{-X} option is applied to the list. The filter is a pattern "
  3418. "as used for pathname expansion; a @samp{&} in the pattern is replaced with "
  3419. "the text of the word being completed. A literal @samp{&} may be escaped "
  3420. "with a backslash; the backslash is removed before attempting a match. Any "
  3421. "completion that matches the pattern will be removed from the list. A "
  3422. "leading @samp{!} negates the pattern; in this case any completion not "
  3423. "matching the pattern will be removed. If the @code{nocasematch} shell "
  3424. "option (see the description of @code{shopt} in @ref{The Shopt Builtin}) is "
  3425. "enabled, the match is performed without regard to the case of alphabetic "
  3426. "characters."
  3427. msgstr ""
  3428. #. type: ifset
  3429. #: rluser.texi:1876
  3430. msgid ""
  3431. "Finally, any prefix and suffix specified with the @option{-P} and @option{-"
  3432. "S} options are added to each member of the completion list, and the result "
  3433. "is returned to the Readline completion code as the list of possible "
  3434. "completions."
  3435. msgstr ""
  3436. #. type: ifset
  3437. #: rluser.texi:1880
  3438. msgid ""
  3439. "If the previously-applied actions do not generate any matches, and the "
  3440. "@option{-o dirnames} option was supplied to @code{complete} when the "
  3441. "compspec was defined, directory name completion is attempted."
  3442. msgstr ""
  3443. #. type: ifset
  3444. #: rluser.texi:1884
  3445. msgid ""
  3446. "If the @option{-o plusdirs} option was supplied to @code{complete} when the "
  3447. "compspec was defined, directory name completion is attempted and any matches "
  3448. "are added to the results of the other actions."
  3449. msgstr ""
  3450. #. type: ifset
  3451. #: rluser.texi:1896
  3452. msgid ""
  3453. "By default, if a compspec is found, whatever it generates is returned to the "
  3454. "completion code as the full set of possible completions. The default Bash "
  3455. "completions are not attempted, and the Readline default of filename "
  3456. "completion is disabled. If the @option{-o bashdefault} option was supplied "
  3457. "to @code{complete} when the compspec was defined, the default Bash "
  3458. "completions are attempted if the compspec generates no matches. If the "
  3459. "@option{-o default} option was supplied to @code{complete} when the compspec "
  3460. "was defined, Readline's default completion will be performed if the compspec "
  3461. "(and, if attempted, the default Bash completions) generate no matches."
  3462. msgstr ""
  3463. #. type: ifset
  3464. #: rluser.texi:1902
  3465. msgid ""
  3466. "When a compspec indicates that directory name completion is desired, the "
  3467. "programmable completion functions force Readline to append a slash to "
  3468. "completed names which are symbolic links to directories, subject to the "
  3469. "value of the @var{mark-directories} Readline variable, regardless of the "
  3470. "setting of the @var{mark-symlinked-directories} Readline variable."
  3471. msgstr ""
  3472. #. type: ifset
  3473. #: rluser.texi:1914
  3474. msgid ""
  3475. "There is some support for dynamically modifying completions. This is most "
  3476. "useful when used in combination with a default completion specified with "
  3477. "@option{-D}. It's possible for shell functions executed as completion "
  3478. "handlers to indicate that completion should be retried by returning an exit "
  3479. "status of 124. If a shell function returns 124, and changes the compspec "
  3480. "associated with the command on which completion is being attempted (supplied "
  3481. "as the first argument when the function is executed), programmable "
  3482. "completion restarts from the beginning, with an attempt to find a new "
  3483. "compspec for that command. This allows a set of completions to be built "
  3484. "dynamically as completion is attempted, rather than being loaded all at once."
  3485. msgstr ""
  3486. #. type: ifset
  3487. #: rluser.texi:1918
  3488. msgid ""
  3489. "For instance, assuming that there is a library of compspecs, each kept in a "
  3490. "file corresponding to the name of the command, the following default "
  3491. "completion function would load completions dynamically:"
  3492. msgstr ""
  3493. #. type: example
  3494. #: rluser.texi:1925
  3495. #, no-wrap
  3496. msgid ""
  3497. "_completion_loader()\n"
  3498. "@{\n"
  3499. " . \"/etc/bash_completion.d/$1.sh\" >/dev/null 2>&1 && return 124\n"
  3500. "@}\n"
  3501. "complete -D -F _completion_loader -o bashdefault -o default\n"
  3502. msgstr ""
  3503. #. type: section
  3504. #: rluser.texi:1927 rluser.texi:1928
  3505. #, no-wrap
  3506. msgid "Programmable Completion Builtins"
  3507. msgstr "Instrucciones Integradas de Compleción Programables"
  3508. #. type: cindex
  3509. #: rluser.texi:1929
  3510. #, no-wrap
  3511. msgid "completion builtins"
  3512. msgstr ""
  3513. #. type: ifset
  3514. #: rluser.texi:1934
  3515. msgid ""
  3516. "Three builtin commands are available to manipulate the programmable "
  3517. "completion facilities: one to specify how the arguments to a particular "
  3518. "command are to be completed, and two to modify the completion as it is "
  3519. "happening."
  3520. msgstr ""
  3521. #. type: btindex
  3522. #: rluser.texi:1936 rluser.texi:1937
  3523. #, no-wrap
  3524. msgid "compgen"
  3525. msgstr ""
  3526. #. type: example
  3527. #: rluser.texi:1940
  3528. #, no-wrap
  3529. msgid "@code{compgen [@var{option}] [@var{word}]}\n"
  3530. msgstr ""
  3531. #. type: table
  3532. #: rluser.texi:1950
  3533. msgid ""
  3534. "Generate possible completion matches for @var{word} according to the "
  3535. "@var{option}s, which may be any option accepted by the @code{complete} "
  3536. "builtin with the exception of @option{-p} and @option{-r}, and write the "
  3537. "matches to the standard output. When using the @option{-F} or @option{-C} "
  3538. "options, the various shell variables set by the programmable completion "
  3539. "facilities, while available, will not have useful values."
  3540. msgstr ""
  3541. #. type: table
  3542. #: rluser.texi:1956
  3543. msgid ""
  3544. "The matches will be generated in the same way as if the programmable "
  3545. "completion code had generated them directly from a completion specification "
  3546. "with the same flags. If @var{word} is specified, only those completions "
  3547. "matching @var{word} will be displayed."
  3548. msgstr ""
  3549. #. type: table
  3550. #: rluser.texi:1959
  3551. msgid ""
  3552. "The return value is true unless an invalid option is supplied, or no matches "
  3553. "were generated."
  3554. msgstr ""
  3555. #. type: btindex
  3556. #: rluser.texi:1960 rluser.texi:1961
  3557. #, no-wrap
  3558. msgid "complete"
  3559. msgstr ""
  3560. #. type: example
  3561. #: rluser.texi:1967
  3562. #, no-wrap
  3563. msgid ""
  3564. "@code{complete [-abcdefgjksuv] [-o @var{comp-option}] [-DE] [-A @var{action}] [-G @var{globpat}] [-W @var{wordlist}]\n"
  3565. "[-F @var{function}] [-C @var{command}] [-X @var{filterpat}]\n"
  3566. "[-P @var{prefix}] [-S @var{suffix}] @var{name} [@var{name} @dots{}]}\n"
  3567. "@code{complete -pr [-DE] [@var{name} @dots{}]}\n"
  3568. msgstr ""
  3569. #. type: table
  3570. #: rluser.texi:1982
  3571. msgid ""
  3572. "Specify how arguments to each @var{name} should be completed. If the "
  3573. "@option{-p} option is supplied, or if no options are supplied, existing "
  3574. "completion specifications are printed in a way that allows them to be reused "
  3575. "as input. The @option{-r} option removes a completion specification for "
  3576. "each @var{name}, or, if no @var{name}s are supplied, all completion "
  3577. "specifications. The @option{-D} option indicates that the remaining options "
  3578. "and actions should apply to the ``default'' command completion; that is, "
  3579. "completion attempted on a command for which no completion has previously "
  3580. "been defined. The @option{-E} option indicates that the remaining options "
  3581. "and actions should apply to ``empty'' command completion; that is, "
  3582. "completion attempted on a blank line."
  3583. msgstr ""
  3584. #. type: table
  3585. #: rluser.texi:1986
  3586. msgid ""
  3587. "The process of applying these completion specifications when word completion "
  3588. "is attempted is described above (@pxref{Programmable Completion}). The "
  3589. "@option{-D} option takes precedence over @option{-E}."
  3590. msgstr ""
  3591. #. type: table
  3592. #: rluser.texi:1992
  3593. msgid ""
  3594. "Other options, if specified, have the following meanings. The arguments to "
  3595. "the @option{-G}, @option{-W}, and @option{-X} options (and, if necessary, "
  3596. "the @option{-P} and @option{-S} options) should be quoted to protect them "
  3597. "from expansion before the @code{complete} builtin is invoked."
  3598. msgstr ""
  3599. #. type: item
  3600. #: rluser.texi:1995
  3601. #, no-wrap
  3602. msgid "-o @var{comp-option}"
  3603. msgstr ""
  3604. #. type: table
  3605. #: rluser.texi:1999
  3606. msgid ""
  3607. "The @var{comp-option} controls several aspects of the compspec's behavior "
  3608. "beyond the simple generation of completions. @var{comp-option} may be one "
  3609. "of:"
  3610. msgstr ""
  3611. #. type: item
  3612. #: rluser.texi:2002
  3613. #, no-wrap
  3614. msgid "bashdefault"
  3615. msgstr ""
  3616. #. type: table
  3617. #: rluser.texi:2005
  3618. msgid ""
  3619. "Perform the rest of the default Bash completions if the compspec generates "
  3620. "no matches."
  3621. msgstr ""
  3622. #. type: item
  3623. #: rluser.texi:2006
  3624. #, no-wrap
  3625. msgid "default"
  3626. msgstr ""
  3627. #. type: table
  3628. #: rluser.texi:2009
  3629. msgid ""
  3630. "Use Readline's default filename completion if the compspec generates no "
  3631. "matches."
  3632. msgstr ""
  3633. #. type: item
  3634. #: rluser.texi:2010
  3635. #, no-wrap
  3636. msgid "dirnames"
  3637. msgstr ""
  3638. #. type: table
  3639. #: rluser.texi:2012
  3640. msgid "Perform directory name completion if the compspec generates no matches."
  3641. msgstr ""
  3642. #. type: item
  3643. #: rluser.texi:2013
  3644. #, no-wrap
  3645. msgid "filenames"
  3646. msgstr ""
  3647. #. type: table
  3648. #: rluser.texi:2019
  3649. msgid ""
  3650. "Tell Readline that the compspec generates filenames, so it can perform any "
  3651. "filename-specific processing (like adding a slash to directory names quoting "
  3652. "special characters, or suppressing trailing spaces). This option is "
  3653. "intended to be used with shell functions specified with @option{-F}."
  3654. msgstr ""
  3655. #. type: item
  3656. #: rluser.texi:2020
  3657. #, no-wrap
  3658. msgid "noquote"
  3659. msgstr ""
  3660. #. type: table
  3661. #: rluser.texi:2023
  3662. msgid ""
  3663. "Tell Readline not to quote the completed words if they are filenames "
  3664. "(quoting filenames is the default)."
  3665. msgstr ""
  3666. #. type: item
  3667. #: rluser.texi:2024
  3668. #, no-wrap
  3669. msgid "nosort"
  3670. msgstr ""
  3671. #. type: table
  3672. #: rluser.texi:2026
  3673. msgid ""
  3674. "Tell Readline not to sort the list of possible completions alphabetically."
  3675. msgstr ""
  3676. #. type: item
  3677. #: rluser.texi:2027
  3678. #, no-wrap
  3679. msgid "nospace"
  3680. msgstr ""
  3681. #. type: table
  3682. #: rluser.texi:2030
  3683. msgid ""
  3684. "Tell Readline not to append a space (the default) to words completed at the "
  3685. "end of the line."
  3686. msgstr ""
  3687. #. type: item
  3688. #: rluser.texi:2031
  3689. #, no-wrap
  3690. msgid "plusdirs"
  3691. msgstr ""
  3692. #. type: table
  3693. #: rluser.texi:2035
  3694. msgid ""
  3695. "After any matches defined by the compspec are generated, directory name "
  3696. "completion is attempted and any matches are added to the results of the "
  3697. "other actions."
  3698. msgstr ""
  3699. #. type: item
  3700. #: rluser.texi:2038
  3701. #, no-wrap
  3702. msgid "-A @var{action}"
  3703. msgstr ""
  3704. #. type: table
  3705. #: rluser.texi:2041
  3706. msgid ""
  3707. "The @var{action} may be one of the following to generate a list of possible "
  3708. "completions:"
  3709. msgstr ""
  3710. #. type: item
  3711. #: rluser.texi:2043
  3712. #, no-wrap
  3713. msgid "alias"
  3714. msgstr ""
  3715. #. type: table
  3716. #: rluser.texi:2045
  3717. msgid "Alias names. May also be specified as @option{-a}."
  3718. msgstr ""
  3719. #. type: item
  3720. #: rluser.texi:2046
  3721. #, no-wrap
  3722. msgid "arrayvar"
  3723. msgstr ""
  3724. #. type: table
  3725. #: rluser.texi:2048
  3726. msgid "Array variable names."
  3727. msgstr ""
  3728. #. type: item
  3729. #: rluser.texi:2049
  3730. #, no-wrap
  3731. msgid "binding"
  3732. msgstr ""
  3733. #. type: table
  3734. #: rluser.texi:2051
  3735. msgid "Readline key binding names (@pxref{Bindable Readline Commands})."
  3736. msgstr ""
  3737. #. type: item
  3738. #: rluser.texi:2052
  3739. #, no-wrap
  3740. msgid "builtin"
  3741. msgstr ""
  3742. #. type: table
  3743. #: rluser.texi:2054
  3744. msgid "Names of shell builtin commands. May also be specified as @option{-b}."
  3745. msgstr ""
  3746. #. type: item
  3747. #: rluser.texi:2055
  3748. #, no-wrap
  3749. msgid "command"
  3750. msgstr ""
  3751. #. type: table
  3752. #: rluser.texi:2057
  3753. msgid "Command names. May also be specified as @option{-c}."
  3754. msgstr ""
  3755. #. type: item
  3756. #: rluser.texi:2058
  3757. #, no-wrap
  3758. msgid "directory"
  3759. msgstr ""
  3760. #. type: table
  3761. #: rluser.texi:2060
  3762. msgid "Directory names. May also be specified as @option{-d}."
  3763. msgstr ""
  3764. #. type: item
  3765. #: rluser.texi:2061
  3766. #, no-wrap
  3767. msgid "disabled"
  3768. msgstr ""
  3769. #. type: table
  3770. #: rluser.texi:2063
  3771. msgid "Names of disabled shell builtins."
  3772. msgstr ""
  3773. #. type: item
  3774. #: rluser.texi:2064
  3775. #, no-wrap
  3776. msgid "enabled"
  3777. msgstr ""
  3778. #. type: table
  3779. #: rluser.texi:2066
  3780. msgid "Names of enabled shell builtins."
  3781. msgstr ""
  3782. #. type: item
  3783. #: rluser.texi:2067
  3784. #, no-wrap
  3785. msgid "export"
  3786. msgstr ""
  3787. #. type: table
  3788. #: rluser.texi:2069
  3789. msgid ""
  3790. "Names of exported shell variables. May also be specified as @option{-e}."
  3791. msgstr ""
  3792. #. type: item
  3793. #: rluser.texi:2070
  3794. #, no-wrap
  3795. msgid "file"
  3796. msgstr ""
  3797. #. type: table
  3798. #: rluser.texi:2072
  3799. msgid "File names. May also be specified as @option{-f}."
  3800. msgstr ""
  3801. #. type: item
  3802. #: rluser.texi:2073
  3803. #, no-wrap
  3804. msgid "function"
  3805. msgstr ""
  3806. #. type: table
  3807. #: rluser.texi:2075
  3808. msgid "Names of shell functions."
  3809. msgstr ""
  3810. #. type: item
  3811. #: rluser.texi:2076
  3812. #, no-wrap
  3813. msgid "group"
  3814. msgstr ""
  3815. #. type: table
  3816. #: rluser.texi:2078
  3817. msgid "Group names. May also be specified as @option{-g}."
  3818. msgstr ""
  3819. #. type: item
  3820. #: rluser.texi:2079
  3821. #, no-wrap
  3822. msgid "helptopic"
  3823. msgstr ""
  3824. #. type: table
  3825. #: rluser.texi:2081
  3826. msgid ""
  3827. "Help topics as accepted by the @code{help} builtin (@pxref{Bash Builtins})."
  3828. msgstr ""
  3829. #. type: item
  3830. #: rluser.texi:2082
  3831. #, no-wrap
  3832. msgid "hostname"
  3833. msgstr ""
  3834. #. type: table
  3835. #: rluser.texi:2085
  3836. msgid ""
  3837. "Hostnames, as taken from the file specified by the @env{HOSTFILE} shell "
  3838. "variable (@pxref{Bash Variables})."
  3839. msgstr ""
  3840. #. type: item
  3841. #: rluser.texi:2086
  3842. #, no-wrap
  3843. msgid "job"
  3844. msgstr ""
  3845. #. type: table
  3846. #: rluser.texi:2088
  3847. msgid ""
  3848. "Job names, if job control is active. May also be specified as @option{-j}."
  3849. msgstr ""
  3850. #. type: item
  3851. #: rluser.texi:2089
  3852. #, no-wrap
  3853. msgid "keyword"
  3854. msgstr ""
  3855. #. type: table
  3856. #: rluser.texi:2091
  3857. msgid "Shell reserved words. May also be specified as @option{-k}."
  3858. msgstr ""
  3859. #. type: item
  3860. #: rluser.texi:2092
  3861. #, no-wrap
  3862. msgid "running"
  3863. msgstr ""
  3864. #. type: table
  3865. #: rluser.texi:2094
  3866. msgid "Names of running jobs, if job control is active."
  3867. msgstr ""
  3868. #. type: item
  3869. #: rluser.texi:2095
  3870. #, no-wrap
  3871. msgid "service"
  3872. msgstr ""
  3873. #. type: table
  3874. #: rluser.texi:2097
  3875. msgid "Service names. May also be specified as @option{-s}."
  3876. msgstr ""
  3877. #. type: item
  3878. #: rluser.texi:2098
  3879. #, no-wrap
  3880. msgid "setopt"
  3881. msgstr ""
  3882. #. type: table
  3883. #: rluser.texi:2101
  3884. msgid ""
  3885. "Valid arguments for the @option{-o} option to the @code{set} builtin "
  3886. "(@pxref{The Set Builtin})."
  3887. msgstr ""
  3888. #. type: item
  3889. #: rluser.texi:2102
  3890. #, no-wrap
  3891. msgid "shopt"
  3892. msgstr ""
  3893. #. type: table
  3894. #: rluser.texi:2105
  3895. msgid ""
  3896. "Shell option names as accepted by the @code{shopt} builtin (@pxref{Bash "
  3897. "Builtins})."
  3898. msgstr ""
  3899. #. type: item
  3900. #: rluser.texi:2106
  3901. #, no-wrap
  3902. msgid "signal"
  3903. msgstr ""
  3904. #. type: table
  3905. #: rluser.texi:2108
  3906. msgid "Signal names."
  3907. msgstr ""
  3908. #. type: item
  3909. #: rluser.texi:2109
  3910. #, no-wrap
  3911. msgid "stopped"
  3912. msgstr ""
  3913. #. type: table
  3914. #: rluser.texi:2111
  3915. msgid "Names of stopped jobs, if job control is active."
  3916. msgstr ""
  3917. #. type: item
  3918. #: rluser.texi:2112
  3919. #, no-wrap
  3920. msgid "user"
  3921. msgstr ""
  3922. #. type: table
  3923. #: rluser.texi:2114
  3924. msgid "User names. May also be specified as @option{-u}."
  3925. msgstr ""
  3926. #. type: item
  3927. #: rluser.texi:2115
  3928. #, no-wrap
  3929. msgid "variable"
  3930. msgstr ""
  3931. #. type: table
  3932. #: rluser.texi:2117
  3933. msgid "Names of all shell variables. May also be specified as @option{-v}."
  3934. msgstr ""
  3935. #. type: item
  3936. #: rluser.texi:2119
  3937. #, no-wrap
  3938. msgid "-C @var{command}"
  3939. msgstr ""
  3940. #. type: table
  3941. #: rluser.texi:2122
  3942. msgid ""
  3943. "@var{command} is executed in a subshell environment, and its output is used "
  3944. "as the possible completions."
  3945. msgstr ""
  3946. #. type: item
  3947. #: rluser.texi:2123
  3948. #, no-wrap
  3949. msgid "-F @var{function}"
  3950. msgstr ""
  3951. #. type: table
  3952. #: rluser.texi:2132
  3953. msgid ""
  3954. "The shell function @var{function} is executed in the current shell "
  3955. "environment. When it is executed, $1 is the name of the command whose "
  3956. "arguments are being completed, $2 is the word being completed, and $3 is the "
  3957. "word preceding the word being completed, as described above "
  3958. "(@pxref{Programmable Completion}). When it finishes, the possible "
  3959. "completions are retrieved from the value of the @env{COMPREPLY} array "
  3960. "variable."
  3961. msgstr ""
  3962. #. type: item
  3963. #: rluser.texi:2133
  3964. #, no-wrap
  3965. msgid "-G @var{globpat}"
  3966. msgstr ""
  3967. #. type: table
  3968. #: rluser.texi:2136
  3969. msgid ""
  3970. "The filename expansion pattern @var{globpat} is expanded to generate the "
  3971. "possible completions."
  3972. msgstr ""
  3973. #. type: item
  3974. #: rluser.texi:2137
  3975. #, no-wrap
  3976. msgid "-P @var{prefix}"
  3977. msgstr ""
  3978. #. type: table
  3979. #: rluser.texi:2140
  3980. msgid ""
  3981. "@var{prefix} is added at the beginning of each possible completion after all "
  3982. "other options have been applied."
  3983. msgstr ""
  3984. #. type: item
  3985. #: rluser.texi:2141
  3986. #, no-wrap
  3987. msgid "-S @var{suffix}"
  3988. msgstr ""
  3989. #. type: table
  3990. #: rluser.texi:2144
  3991. msgid ""
  3992. "@var{suffix} is appended to each possible completion after all other options "
  3993. "have been applied."
  3994. msgstr ""
  3995. #. type: item
  3996. #: rluser.texi:2145
  3997. #, no-wrap
  3998. msgid "-W @var{wordlist}"
  3999. msgstr ""
  4000. #. type: table
  4001. #: rluser.texi:2151
  4002. msgid ""
  4003. "The @var{wordlist} is split using the characters in the @env{IFS} special "
  4004. "variable as delimiters, and each resultant word is expanded. The possible "
  4005. "completions are the members of the resultant list which match the word being "
  4006. "completed."
  4007. msgstr ""
  4008. #. type: item
  4009. #: rluser.texi:2152
  4010. #, no-wrap
  4011. msgid "-X @var{filterpat}"
  4012. msgstr ""
  4013. #. type: table
  4014. #: rluser.texi:2159
  4015. msgid ""
  4016. "@var{filterpat} is a pattern as used for filename expansion. It is applied "
  4017. "to the list of possible completions generated by the preceding options and "
  4018. "arguments, and each completion matching @var{filterpat} is removed from the "
  4019. "list. A leading @samp{!} in @var{filterpat} negates the pattern; in this "
  4020. "case, any completion not matching @var{filterpat} is removed."
  4021. msgstr ""
  4022. #. type: table
  4023. #: rluser.texi:2166
  4024. msgid ""
  4025. "The return value is true unless an invalid option is supplied, an option "
  4026. "other than @option{-p} or @option{-r} is supplied without a @var{name} "
  4027. "argument, an attempt is made to remove a completion specification for a "
  4028. "@var{name} for which no specification exists, or an error occurs adding a "
  4029. "completion specification."
  4030. msgstr ""
  4031. #. type: btindex
  4032. #: rluser.texi:2167 rluser.texi:2168
  4033. #, no-wrap
  4034. msgid "compopt"
  4035. msgstr ""
  4036. #. type: example
  4037. #: rluser.texi:2171
  4038. #, no-wrap
  4039. msgid "@code{compopt} [-o @var{option}] [-DE] [+o @var{option}] [@var{name}]\n"
  4040. msgstr ""
  4041. #. type: table
  4042. #: rluser.texi:2185
  4043. msgid ""
  4044. "Modify completion options for each @var{name} according to the @var{option}"
  4045. "s, or for the currently-executing completion if no @var{name}s are "
  4046. "supplied. If no @var{option}s are given, display the completion options for "
  4047. "each @var{name} or the current completion. The possible values of "
  4048. "@var{option} are those valid for the @code{complete} builtin described "
  4049. "above. The @option{-D} option indicates that the remaining options should "
  4050. "apply to the ``default'' command completion; that is, completion attempted "
  4051. "on a command for which no completion has previously been defined. The "
  4052. "@option{-E} option indicates that the remaining options should apply to "
  4053. "``empty'' command completion; that is, completion attempted on a blank line."
  4054. msgstr ""
  4055. #. type: table
  4056. #: rluser.texi:2187
  4057. msgid "The @option{-D} option takes precedence over @option{-E}."
  4058. msgstr ""
  4059. #. type: table
  4060. #: rluser.texi:2191
  4061. msgid ""
  4062. "The return value is true unless an invalid option is supplied, an attempt is "
  4063. "made to modify the options for a @var{name} for which no completion "
  4064. "specification exists, or an output error occurs."
  4065. msgstr ""
  4066. #. type: section
  4067. #: rluser.texi:2194 rluser.texi:2195
  4068. #, no-wrap
  4069. msgid "A Programmable Completion Example"
  4070. msgstr ""
  4071. #. type: ifset
  4072. #: rluser.texi:2200
  4073. msgid ""
  4074. "The most common way to obtain additional completion functionality beyond the "
  4075. "default actions @code{complete} and @code{compgen} provide is to use a shell "
  4076. "function and bind it to a particular command using @code{complete -F}."
  4077. msgstr ""
  4078. #. type: ifset
  4079. #: rluser.texi:2207
  4080. msgid ""
  4081. "The following function provides completions for the @code{cd} builtin. It "
  4082. "is a reasonably good example of what shell functions must do when used for "
  4083. "completion. This function uses the word passsed as @code{$2} to determine "
  4084. "the directory name to complete. You can also use the @code{COMP_WORDS} "
  4085. "array variable; the current word is indexed by the @code{COMP_CWORD} "
  4086. "variable."
  4087. msgstr ""
  4088. #. type: ifset
  4089. #: rluser.texi:2219
  4090. msgid ""
  4091. "The function relies on the @code{complete} and @code{compgen} builtins to do "
  4092. "much of the work, adding only the things that the Bash @code{cd} does beyond "
  4093. "accepting basic directory names: tilde expansion (@pxref{Tilde Expansion}), "
  4094. "searching directories in @var{$CDPATH}, which is described above "
  4095. "(@pxref{Bourne Shell Builtins}), and basic support for the "
  4096. "@code{cdable_vars} shell option (@pxref{The Shopt Builtin}). "
  4097. "@code{_comp_cd} modifies the value of @var{IFS} so that it contains only a "
  4098. "newline to accommodate file names containing spaces and tabs -- "
  4099. "@code{compgen} prints the possible completions it generates one per line."
  4100. msgstr ""
  4101. #. type: ifset
  4102. #: rluser.texi:2223
  4103. msgid ""
  4104. "Possible completions go into the @var{COMPREPLY} array variable, one "
  4105. "completion per array element. The programmable completion system retrieves "
  4106. "the completions from there when the function returns."
  4107. msgstr ""
  4108. #. type: example
  4109. #: rluser.texi:2232
  4110. #, no-wrap
  4111. msgid ""
  4112. "# A completion function for the cd builtin\n"
  4113. "# based on the cd completion function from the bash_completion package\n"
  4114. "_comp_cd()\n"
  4115. "@{\n"
  4116. " local IFS=$' \\t\\n' # normalize IFS\n"
  4117. " local cur _skipdot _cdpath\n"
  4118. " local i j k\n"
  4119. "\n"
  4120. msgstr ""
  4121. #. type: example
  4122. #: rluser.texi:2238
  4123. #, no-wrap
  4124. msgid ""
  4125. " # Tilde expansion, with side effect of expanding tilde to full pathname\n"
  4126. " case \"$2\" in\n"
  4127. " \\~*) eval cur=\"$2\" ;;\n"
  4128. " *) cur=$2 ;;\n"
  4129. " esac\n"
  4130. "\n"
  4131. msgstr ""
  4132. #. type: example
  4133. #: rluser.texi:2263
  4134. #, no-wrap
  4135. msgid ""
  4136. " # no cdpath or absolute pathname -- straight directory completion\n"
  4137. " if [[ -z \"$@{CDPATH:-@}\" ]] || [[ \"$cur\" == @@(./*|../*|/*) ]]; then\n"
  4138. " # compgen prints paths one per line; could also use while loop\n"
  4139. " IFS=$'\\n'\n"
  4140. " COMPREPLY=( $(compgen -d -- \"$cur\") )\n"
  4141. " IFS=$' \\t\\n'\n"
  4142. " # CDPATH+directories in the current directory if not in CDPATH\n"
  4143. " else\n"
  4144. " IFS=$'\\n'\n"
  4145. " _skipdot=false\n"
  4146. " # preprocess CDPATH to convert null directory names to .\n"
  4147. " _cdpath=$@{CDPATH/#:/.:@}\n"
  4148. " _cdpath=$@{_cdpath//::/:.:@}\n"
  4149. " _cdpath=$@{_cdpath/%:/:.@}\n"
  4150. " for i in $@{_cdpath//:/$'\\n'@}; do\n"
  4151. " if [[ $i -ef . ]]; then _skipdot=true; fi\n"
  4152. " k=\"$@{#COMPREPLY[@@]@}\"\n"
  4153. " for j in $( compgen -d -- \"$i/$cur\" ); do\n"
  4154. " COMPREPLY[k++]=$@{j#$i/@} # cut off directory\n"
  4155. " done\n"
  4156. " done\n"
  4157. " $_skipdot || COMPREPLY+=( $(compgen -d -- \"$cur\") )\n"
  4158. " IFS=$' \\t\\n'\n"
  4159. " fi\n"
  4160. "\n"
  4161. msgstr ""
  4162. #. type: example
  4163. #: rluser.texi:2268
  4164. #, no-wrap
  4165. msgid ""
  4166. " # variable names if appropriate shell option set and no completions\n"
  4167. " if shopt -q cdable_vars && [[ $@{#COMPREPLY[@@]@} -eq 0 ]]; then\n"
  4168. " COMPREPLY=( $(compgen -v -- \"$cur\") )\n"
  4169. " fi\n"
  4170. "\n"
  4171. msgstr ""
  4172. #. type: example
  4173. #: rluser.texi:2271
  4174. #, no-wrap
  4175. msgid ""
  4176. " return 0\n"
  4177. "@}\n"
  4178. msgstr ""
  4179. #. type: ifset
  4180. #: rluser.texi:2275
  4181. msgid ""
  4182. "We install the completion function using the @option{-F} option to "
  4183. "@code{complete}:"
  4184. msgstr ""
  4185. #. type: example
  4186. #: rluser.texi:2280
  4187. #, no-wrap
  4188. msgid ""
  4189. "# Tell readline to quote appropriate and append slashes to directories;\n"
  4190. "# use the bash default completion for other arguments\n"
  4191. "complete -o filenames -o nospace -o bashdefault -F _comp_cd cd\n"
  4192. msgstr ""
  4193. #. type: ifset
  4194. #: rluser.texi:2298
  4195. msgid ""
  4196. "Since we'd like Bash and Readline to take care of some of the other details "
  4197. "for us, we use several other options to tell Bash and Readline what to do. "
  4198. "The @option{-o filenames} option tells Readline that the possible "
  4199. "completions should be treated as filenames, and quoted appropriately. That "
  4200. "option will also cause Readline to append a slash to filenames it can "
  4201. "determine are directories (which is why we might want to extend "
  4202. "@code{_comp_cd} to append a slash if we're using directories found via "
  4203. "@var{CDPATH}: Readline can't tell those completions are directories). The "
  4204. "@option{-o nospace} option tells Readline to not append a space character to "
  4205. "the directory name, in case we want to append to it. The @option{-o "
  4206. "bashdefault} option brings in the rest of the \"Bash default\" completions "
  4207. "-- possible completion that Bash adds to the default Readline set. These "
  4208. "include things like command name completion, variable completion for words "
  4209. "beginning with @samp{@{}, completions containing pathname expansion patterns "
  4210. "(@pxref{Filename Expansion}), and so on."
  4211. msgstr ""
  4212. #. type: ifset
  4213. #: rluser.texi:2301
  4214. msgid ""
  4215. "Once installed using @code{complete}, @code{_comp_cd} will be called every "
  4216. "time we attempt word completion for a @code{cd} command."
  4217. msgstr ""
  4218. #. type: ifset
  4219. #: rluser.texi:2308
  4220. msgid ""
  4221. "Many more examples -- an extensive collection of completions for most of the "
  4222. "common GNU, Unix, and Linux commands -- are available as part of the "
  4223. "bash_completion project. This is installed by default on many GNU/Linux "
  4224. "distributions. Originally written by Ian Macdonald, the project now lives "
  4225. "at @url{http://bash-completion.alioth.debian.org/}. There are ports for "
  4226. "other systems such as Solaris and Mac OS X."
  4227. msgstr ""
  4228. #. type: ifset
  4229. #: rluser.texi:2311
  4230. msgid ""
  4231. "An older version of the bash_completion package is distributed with bash in "
  4232. "the @file{examples/complete} subdirectory."
  4233. msgstr ""