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

📄 readline.0

📁 基于的linux的oracle sqlplus替代工具
💻 0
📖 第 1 页 / 共 4 页
字号:
              bound to ddeelleettee--cchhaarr, then return EEOOFF.       bbaacckkwwaarrdd--ddeelleettee--cchhaarr ((RRuubboouutt))              Delete the character behind the cursor.  When given              a numeric argument, save the deleted  text  on  the              kill ring.       ffoorrwwaarrdd--bbaacckkwwaarrdd--ddeelleettee--cchhaarr              Delete  the  character under the cursor, unless the              cursor is at the end of the line, in which case the              character behind the cursor is deleted.       qquuootteedd--iinnsseerrtt ((CC--qq,, CC--vv))              Add  the  next  character that you type to the line              verbatim.  This is how to  insert  characters  like              CC--qq, for example.       ttaabb--iinnsseerrtt ((MM--TTAABB))              Insert a tab character.       sseellff--iinnsseerrtt ((aa,, bb,, AA,, 11,, !!,, ......))              Insert the character typed.       ttrraannssppoossee--cchhaarrss ((CC--tt))              Drag  the  character  before point forward over the              character at point, moving point forward  as  well.              If  point  is  at  the  end  of the line, then this              transposes the two characters before point.   Nega-              tive arguments have no effect.       ttrraannssppoossee--wwoorrddss ((MM--tt))              Drag  the  word  before  point  past the word after              point, moving point over that  word  as  well.   If              point  is  at  the end of the line, this transposes              the last two words on the line.       uuppccaassee--wwoorrdd ((MM--uu))              Uppercase the current (or following) word.  With  a              negative argument, uppercase the previous word, but              do not move point.       ddoowwnnccaassee--wwoorrdd ((MM--ll))              Lowercase the current (or following) word.  With  a              negative argument, lowercase the previous word, but              do not move point.       ccaappiittaalliizzee--wwoorrdd ((MM--cc))              Capitalize the current (or following) word.  With a              negative  argument,  capitalize  the previous word,              but do not move point.       oovveerrwwrriittee--mmooddee              Toggle overwrite mode.  With an  explicit  positive              numeric argument, switches to overwrite mode.  With              an explicit non-positive numeric argument, switches              to  insert  mode.   This command affects only eemmaaccss              mode; vvii mode  does  overwrite  differently.   Each              call to _r_e_a_d_l_i_n_e_(_) starts in insert mode.  In over-              write mode, characters bound to sseellff--iinnsseerrtt replace              the  text  at point rather than pushing the text to              the   right.     Characters    bound    to    bbaacckk--              wwaarrdd--ddeelleettee--cchhaarr replace the character before point              with a space.  By default, this command is unbound.   KKiilllliinngg aanndd YYaannkkiinngg       kkiillll--lliinnee ((CC--kk))              Kill the text from point to the end of the line.       bbaacckkwwaarrdd--kkiillll--lliinnee ((CC--xx RRuubboouutt))              Kill backward to the beginning of the line.       uunniixx--lliinnee--ddiissccaarrdd ((CC--uu))              Kill  backward  from  point to the beginning of the              line.  The killed text is saved on the kill-ring.       kkiillll--wwhhoollee--lliinnee              Kill all characters on the current line, no  matter              where point is.       kkiillll--wwoorrdd ((MM--dd))              Kill  from point the end of the current word, or if              between words, to the end of the next  word.   Word              boundaries  are  the  same  as  those  used by ffoorr--              wwaarrdd--wwoorrdd.       bbaacckkwwaarrdd--kkiillll--wwoorrdd ((MM--RRuubboouutt))              Kill the word behind point.   Word  boundaries  are              the same as those used by bbaacckkwwaarrdd--wwoorrdd.       uunniixx--wwoorrdd--rruubboouutt ((CC--ww))              Kill  the word behind point, using white space as a              word boundary.  The killed text  is  saved  on  the              kill-ring.       ddeelleettee--hhoorriizzoonnttaall--ssppaaccee ((MM--\\))              Delete all spaces and tabs around point.       kkiillll--rreeggiioonn              Kill  the  text  between  the point and _m_a_r_k (saved              cursor position).  This text is referred to as  the              _r_e_g_i_o_n.       ccooppyy--rreeggiioonn--aass--kkiillll              Copy the text in the region to the kill buffer.       ccooppyy--bbaacckkwwaarrdd--wwoorrdd              Copy the word before point to the kill buffer.  The              word boundaries are the same as bbaacckkwwaarrdd--wwoorrdd.       ccooppyy--ffoorrwwaarrdd--wwoorrdd              Copy the word following point to the  kill  buffer.              The word boundaries are the same as ffoorrwwaarrdd--wwoorrdd.       yyaannkk ((CC--yy))              Yank  the  top  of the kill ring into the buffer at              point.       yyaannkk--ppoopp ((MM--yy))              Rotate the kill ring, and yank the new  top.   Only              works following yyaannkk or yyaannkk--ppoopp.   NNuummeerriicc AArrgguummeennttss       ddiiggiitt--aarrgguummeenntt ((MM--00,, MM--11,, ......,, MM----))              Add  this  digit to the argument already accumulat-              ing, or start a new argument.  M-- starts  a  nega-              tive argument.       uunniivveerrssaall--aarrgguummeenntt              This  is  another  way  to specify an argument.  If              this command is followed by  one  or  more  digits,              optionally  with a leading minus sign, those digits              define the argument.  If the command is followed by              digits, executing uunniivveerrssaall--aarrgguummeenntt again ends the              numeric argument, but is otherwise ignored.   As  a              special  case,  if this command is immediately fol-              lowed by a character that is  neither  a  digit  or              minus sign, the argument count for the next command              is multiplied by four.  The argument count is  ini-              tially  one,  so  executing this function the first              time makes the argument count four, a  second  time              makes the argument count sixteen, and so on.   CCoommpplleettiinngg       ccoommpplleettee ((TTAABB))              Attempt  to  perform  completion on the text before              point.  The actual completion performed is applica-              tion-specific.   BBaasshh,  for instance, attempts com-              pletion treating the text as  a  variable  (if  the              text  begins  with $$), username (if the text begins              with ~~), hostname (if the text begins with  @@),  or              command  (including aliases and functions) in turn.              If none of these produces a match, filename comple-              tion  is attempted.  GGddbb, on the other hand, allows              completion of program functions and variables,  and              only  attempts  filename  completion  under certain              circumstances.       ppoossssiibbllee--ccoommpplleettiioonnss ((MM--??))              List the possible completions of  the  text  before              point.       iinnsseerrtt--ccoommpplleettiioonnss ((MM--**))              Insert  all  completions  of  the text before point              that would have been generated by  ppoossssiibbllee--ccoommppllee--              ttiioonnss.       mmeennuu--ccoommpplleettee              Similar  to  ccoommpplleettee,  but replaces the word to be              completed with a single match from the list of pos-              sible completions.  Repeated execution of mmeennuu--ccoomm--              pplleettee steps through the list  of  possible  comple-              tions, inserting each match in turn.  At the end of              the list of completions, the bell is rung  (subject              to  the  setting  of  00aanndd  tthhee  oorriiggiinnaall  tteexxtt  iiss              rreessttoorreedd..  AAnn aarrgguummeenntt ooff _n mmoovveess _n ppoossiittiioonnss  ffoorr--              wwaarrdd  iinn  tthhee  lliisstt ooff mmaattcchheess;; aa nneeggaattiivvee aarrgguummeenntt              mmaayy bbee uusseedd ttoo  mmoovvee  bbaacckkwwaarrdd  tthhrroouugghh  tthhee  lliisstt..              TThhiiss ccoommmmaanndd iiss iinntteennddeedd ttoo bbee bboouunndd ttoo TTAABB,, bbuutt iiss              uunnbboouunndd bbyy ddeeffaauulltt..       ddeelleettee--cchhaarr--oorr--lliisstt              Deletes the character under the cursor  if  not  at              the  beginning  or  end  of  the line (like ddeelleettee--              cchhaarr).  If at the end of the line, behaves  identi-              cally to ppoossssiibbllee--ccoommpplleettiioonnss.   KKeeyybbooaarrdd MMaaccrrooss       ssttaarrtt--kkbbdd--mmaaccrroo ((CC--xx (())              Begin  saving the characters typed into the current              keyboard macro.       eenndd--kkbbdd--mmaaccrroo ((CC--xx ))))              Stop saving the characters typed into  the  current              keyboard macro and store the definition.       ccaallll--llaasstt--kkbbdd--mmaaccrroo ((CC--xx ee))              Re-execute the last keyboard macro defined, by mak-              ing the characters in the macro appear as if  typed              at the keyboard.   MMiisscceellllaanneeoouuss       rree--rreeaadd--iinniitt--ffiillee ((CC--xx CC--rr))              Read  in  the  contents  of  the  _i_n_p_u_t_r_c file, and              incorporate any bindings  or  variable  assignments              found there.       aabboorrtt ((CC--gg))              Abort the current editing command and ring the ter-              minal's   bell   (subject   to   the   setting   of              bbeellll--ssttyyllee).       ddoo--uuppppeerrccaassee--vveerrssiioonn ((MM--aa,, MM--bb,, MM--_x,, ......))              If  the  metafied character _x is lowercase, run the              command that is bound to the  corresponding  upper-              case character.       pprreeffiixx--mmeettaa ((EESSCC))              Metafy  the next character typed.  EESSCC ff is equiva-              lent to MMeettaa--ff.       uunnddoo ((CC--__,, CC--xx CC--uu))              Incremental undo, separately  remembered  for  each              line.       rreevveerrtt--lliinnee ((MM--rr))              Undo  all  changes made to this line.  This is like              executing the uunnddoo command enough times  to  return              the line to its initial state.       ttiillddee--eexxppaanndd ((MM--&&))              Perform tilde expansion on the current word.       sseett--mmaarrkk ((CC--@@,, MM--<<ssppaaccee>>))              Set  the  mark to the point.  If a numeric argument              is supplied, the mark is set to that position.       eexxcchhaannggee--ppooiinntt--aanndd--mmaarrkk ((CC--xx CC--xx))              Swap the point with the mark.  The  current  cursor              position  is set to the saved position, and the old              cursor position is saved as the mark.       cchhaarraacctteerr--sseeaarrcchh ((CC--]]))              A character is read and point is moved to the  next              occurrence  of  that  character.   A negative count              searches for previous occurrences.       cchhaarraacctteerr--sseeaarrcchh--bbaacckkwwaarrdd ((MM--CC--]]))              A character is read and point is moved to the  pre-              vious  occurrence  of  that  character.  A negative              count searches for subsequent occurrences.       iinnsseerrtt--ccoommmmeenntt ((MM--##))              Without a numeric argument, the value of the  read-              line  ccoommmmeenntt--bbeeggiinn  variable  is  inserted  at the              beginning of the current line.  If a numeric  argu-              ment  is  supplied,  this command acts as a toggle:              if the characters at the beginning of the  line  do              not  match the value of ccoommmmeenntt--bbeeggiinn, the value is              inserted, otherwise the characters in ccoommmmeenntt--bbeeggiinn              are  deleted  from  the  beginning of the line.  In              either case, the line is accepted as if  a  newline              had been typed.  The default value of ccoommmmeenntt--bbeeggiinn              makes the current  line  a  shell  comment.   If  a              numeric argument causes the comment character to be              removed, the line will be executed by the shell.       dduummpp--ffuunnccttiioonnss              Print all of the functions and their  key  bindings              to  the  readline  output  stream.   If  a  numeric              argument is supplied, the output  is  formatted  in              such  a  way that it can be made part of an _i_n_p_u_t_r_c              file.       dduummpp--vvaarriiaabblleess              Print all of the settable variables and their  val-              ues  to  the  readline output stream.  If a numeric              argument is supplied, the output  is  formatted  in              such  a  way that it can be made part of an _i_n_p_u_t_r_c              file.       dduummpp--mmaaccrrooss              Print all of the readline key  sequences  bound  to              macros  and  the  strings they ouput.  If a numeric              argument is supplied, the output  is  formatted  in              such  a  way that it can be made part of an _i_n_p_u_t_r_c              file.       eemmaaccss--eeddiittiinngg--mmooddee ((CC--ee))              When in vvii command mode, this causes  a  switch  to              eemmaaccss editing mode.       vvii--eeddiittiinngg--mmooddee ((MM--CC--jj))              When in eemmaaccss editing mode, this causes a switch to              vvii editing mode.DDEEFFAAUULLTT KKEEYY BBIINNDDIINNGGSS       The following is a list of the default emacs and vi  bind-

⌨️ 快捷键说明

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