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

📄 gl_get_line.3

📁 BCAST Implementation for NS2
💻 3
📖 第 1 页 / 共 5 页
字号:
                              the matching parenthesis, or                              next close parenthesis.  forward-delete-find      -  Delete the characters from the                              cursor up to and including the                              following occurence of the                              next character typed.  backward-delete-find     -  Delete the characters from the                              cursor up to and including the                              preceding occurence of the                              next character typed.  forward-delete-to        -  Delete the characters from the                              cursor up to, but not                              including, the following                              occurence of the next                              character typed.  backward-delete-to       -  Delete the characters from the                              cursor up to, but not                              including, the preceding                              occurence of the next                              character typed.  delete-refind            -  Repeat the last *-delete-find                              or *-delete-to action.  delete-invert-refind     -  Repeat the last *-delete-find                              or *-delete-to action, in the                              opposite direction.  copy-to-column           -  Copy the characters from the                              cursor up to the column that                              is specified by the repeat                              count, into the cut buffer.  copy-to-parenthesis      -  Copy the characters from the                              cursor up to and including                              the matching parenthesis, or                              next close parenthesis, into                              the cut buffer.  forward-copy-find        -  Copy the characters from the                              cursor up to and including the                              following occurence of the                              next character typed, into the                              cut buffer.  backward-copy-find       -  Copy the characters from the                              cursor up to and including the                              preceding occurence of the                              next character typed, into the                              cut buffer.  forward-copy-to          -  Copy the characters from the                              cursor up to, but not                              including, the following                              occurence of the next                              character typed, into the cut                              buffer.  backward-copy-to         -  Copy the characters from the                              cursor up to, but not                              including, the preceding                              occurence of the next                              character typed, into the cut                              buffer.  copy-refind              -  Repeat the last *-copy-find                              or *-copy-to action.  copy-invert-refind       -  Repeat the last *-copy-find                              or *-copy-to action, in the                              opposite direction.  vi-mode                  -  Switch to vi mode from emacs                              mode.  emacs-mode               -  Switch to emacs mode from vi                              mode.  vi-insert                -  From vi command mode, switch to                              insert mode.  vi-overwrite             -  From vi command mode, switch to                              overwrite mode.  vi-insert-at-bol         -  From vi command mode, move the                              cursor to the start of the line                              and switch to insert mode.  vi-append-at-eol         -  From vi command mode, move the                              cursor to the end of the line                              and switch to append mode.  vi-append                -  From vi command mode, move the                              cursor one position right, and                              switch to insert mode.  vi-replace-char          -  From vi command mode, replace                              the character under the cursor                              with the the next character                              entered.  vi-forward-change-char   -  From vi command mode, delete                              the next character then enter                              insert mode.  vi-backward-change-char  -  From vi command mode, delete                              the preceding character then                              enter insert mode.  vi-forward-change-word   -  From vi command mode, delete                              the next word then enter                              insert mode.  vi-backward-change-word  -  From vi command mode, delete                              the preceding word then                              enter insert mode.  vi-change-rest-of-line   -  From vi command mode, delete                              from the cursor to the end of                              the line, then enter insert                              mode.  vi-change-line           -  From vi command mode, delete                              the current line, then enter                              insert mode.  vi-change-to-bol         -  From vi command mode, delete                              all characters between the                              cursor and the beginning of                              the line, then enter insert                              mode.  vi-change-to-column      -  From vi command mode, delete                              the characters from the cursor                              up to the column that is                              specified by the repeat count,                              then enter insert mode.  vi-change-to-parenthesis -  Delete the characters from the                              cursor up to and including                              the matching parenthesis, or                              next close parenthesis, then                              enter vi insert mode.  vi-forward-change-find   -  From vi command mode, delete                              the characters from the                              cursor up to and including the                              following occurence of the                              next character typed, then                              enter insert mode.  vi-backward-change-find  -  From vi command mode, delete                              the characters from the                              cursor up to and including the                              preceding occurence of the                              next character typed, then                              enter insert mode.  vi-forward-change-to     -  From vi command mode, delete                              the characters from the                              cursor up to, but not                              including, the following                              occurence of the next                              character typed, then enter                              insert mode.  vi-backward-change-to    -  From vi command mode, delete                              the characters from the                              cursor up to, but not                              including, the preceding                              occurence of the next                              character typed, then enter                              insert mode.  vi-change-refind         -  Repeat the last                              vi-*-change-find or                              vi-*-change-to action.  vi-change-invert-refind  -  Repeat the last                              vi-*-change-find or                              vi-*-change-to action, in the                              opposite direction.  vi-undo                  -  In vi mode, undo the last                              editing operation.  vi-repeat-change         -  In vi command mode, repeat the                              last command that modified the                              line..fi.SH DEFAULT KEY BINDINGS IN EMACS MODEThe following default key bindings, which can be overriden bythe tecla configuration file, are designed to mimic most ofthe bindings of the unix \f3tcsh\f1 shell, when it is inemacs editing mode..spThis is the default editing mode of the tecla library..spNote that a key sequence like \f3^A\f1 or \f3C-a\f1 means hold the control-keydown while pressing the letter \f3A\f1, and that where you see \f3\\E\f1 or\f3M-\f1 in a binding, this represents the escape key or the Meta modifierkey. Also note that to \f3gl_get_line()\f1, pressing the escape key before akey is equivalent to pressing the meta key at the same time as that key. Thusthe key sequence \f3M-p\f1 can be typed in two ways, by pressing the escapekey, followed by pressing \f3p\f1, or by pressing the Meta key at the same timeas \f3p\f1..spUnder UNIX the terminal driver sets a number of special keys for certainfunctions. The tecla library attempts to use the same keybindings to maintainconsistency. The key sequences shown for the following 6 bindings are thus justexamples of what they will probably be set to. If you have used the \f3stty\f1command to change these keys, then the default bindings should match..nf  ^C     ->   user-interrupt  ^\\     ->   abort  ^Z     ->   suspend  ^Q     ->   start-output  ^S     ->   stop-output  ^V     ->   literal-next.fiThe cursor keys are refered to by name, as follows. This is necessarybecause different types of terminals generate different key sequenceswhen their cursor keys are pressed.  right  ->   cursor-right  left   ->   cursor-left  up     ->   up-history  down   ->   down-historyThe remaining bindings don't depend on the terminal setttings..nf  ^F     ->   cursor-right  ^B     ->   cursor-left  M-i    ->   insert-mode  ^A     ->   beginning-of-line  ^E     ->   end-of-line  ^U     ->   delete-line  ^K     ->   kill-line  M-f    ->   forward-word  M-b    ->   backward-word  ^D     ->   del-char-or-list-or-eof  ^H     ->   backward-delete-char  ^?     ->   backward-delete-char  M-d    ->   forward-delete-word  M-^H   ->   backward-delete-word  M-^?   ->   backward-delete-word  M-u    ->   upcase-word  M-l    ->   downcase-word  M-c    ->   capitalize-word  ^R     ->   redisplay  ^L     ->   clear-screen  ^T     ->   transpose-chars  ^@     ->   set-mark  ^X^X   ->   exchange-point-and-mark  ^W     ->   kill-region  M-w    ->   copy-region-as-kill  ^Y     ->   yank  ^P     ->   up-history  ^N     ->   down-history  M-p    ->   history-search-backward  M-n    ->   history-search-forward  ^I     ->   complete-word  ^X*    ->   expand-filename  ^X^F   ->   read-from-file  ^X^R   ->   read-init-files  ^Xg    ->   list-glob  ^Xh    ->   list-history  M-<    ->   beginning-of-history  M->    ->   end-of-history  \\n     ->   newline  \\r     ->   newline  M-o    ->   repeat-history  M-^V   ->   vi-mode  M-0, M-1, ... M-9  ->  digit-argument  (see below).fiNote that ^I is what the TAB key generates, and that ^@ can begenerated not only by pressing the control key and the @ keysimultaneously, but also by pressing the control key and the space barat the same time..SH DEFAULT KEY BINDINGS IN VI MODEThe following default key bindings are designed to mimic thevi style of editing as closely as possible. This means thatvery few editing functions are provided in the initialcharacter input mode, editing functions instead beingprovided by the vi command mode. Vi command mode is enteredwhenever the escape character is pressed, or whenever akey-sequence that starts with a meta character is entered. Inaddition to mimicing vi, libtecla provides bindings for tabcompletion, wild-card expansion of file names, and historicalline recall..spTo learn how to tell the tecla library to use vi mode insteadof the default emacs editing mode, see the section entitledTHE TECLA CONFIGURATION FILE..spAs already mentioned above in the emacs section, Note that akey sequence like \f3^A\f1 or \f3C-a\f1 means hold thecontrol-key down while pressing the letter \f3A\f1, and thatwhere you see \f3\\E\f1 or \f3M-\f1 in a binding, thisrepresents the escape key or the Meta modifier key. Also notethat to \f3gl_get_line()\f1, pressing the escape key before akey is equivalent to pressing the meta key at the same timeas that key. Thus the key sequence \f3M-p\f1 can be typed intwo ways, by pressing the escape key, followed by pressing\f3p\f1, or by pressing the Meta key at the same time as\f3p\f1..spUnder UNIX the terminal driver sets a number of special keysfor certain functions. The tecla library attempts to use thesame keybindings to maintain consistency, binding them bothin input mode and in command mode. The key sequences shownfor the following 6 bindings are thus just examples of whatthey will probably be set to. If you have used the \f3stty\f1command to change these keys, then the default bindingsshould match..nf  ^C     ->   user-interrupt  ^\\     ->   abort  ^Z     ->   suspend  ^Q     ->   start-output  ^S     ->   stop-output

⌨️ 快捷键说明

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