NCL命令行快捷键

本文档提供了NCL命令行界面中可用的各种控制字符和逃逸序列的详细列表。这些快捷键帮助用户高效地进行命令输入编辑,包括移动光标、删除文本、查找历史记录等功能。

NCL命令行快捷键:


The following control characters are accepted:

          ^A       Move to the beginning of the line
          ^B       Move left (backward) [n]
          ^D       Delete character [n]
          ^E       Move to end of line
          ^F       Move right (forward) [n]
          ^G       Ring the bell
          ^H       Delete character before cursor (backspace key) [n]
          ^I       Complete filename (tab key); see below
          ^J       Done with line (return key)
          ^K       Kill to end of line (or column [n])
          ^L       Redisplay line
          ^M       Done with line (alternate return key)
          ^N       Get next line from history [n]
          ^P       Get previous line from history [n]
          ^R       Search backward (forward if [n]) through history for text;
                   must start line if text begins with an up arrow
          ^T       Transpose characters
          ^V       Insert next character, even if it is an edit command
          ^W       Wipe to the mark
          ^X^X     Exchange current location and mark
          ^Y       Yank back last killed text
          ^[       Start an escape sequence (escape key)
          ^]c      Move forward to next character ``c''
          ^?       Delete character before cursor (delete key) [n]

     The following escape sequences are provided.

          ESC ^H   Delete previous word (backspace key) [n]
          ESC DEL  Delete previous word (delete key) [n]
          ESC SP   Set the mark (space key); see ^X^X and ^Y above
          ESC .    Get the last (or [n]'th) word from previous line
          ESC ?    Show possible completions; see below
          ESC <    Move to start of history
          ESC >    Move to end of history
          ESC b    Move backward a word [n]
          ESC d    Delete word under cursor [n]
          ESC f    Move forward a word [n]
          ESC l    Make word lowercase [n]
          ESC u    Make word uppercase [n]
          ESC y    Yank back last killed text
          ESC v    Show library version
          ESC w    Make area up to mark yankable
          ESC nn   Set repeat count to the number nn
          ESC C    Read from environment variable ``_C_'', where C is
                   an uppercase letter


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值