我习惯在终端会话中使用键盘快捷键,例如 ^a(转到行首)。
当我运行 GNU“screen”(这样我可以在收拾好笔记本电脑后恢复 ssh 会话)时,其中一堆,例如 ^a,似乎不存在。或者与屏幕冲突。
在运行屏幕时如何让它们或类似的东西回来?
答案1
人屏:
├─────────────────┼─────────────────┼─────────────────────┤
│C-a a │ (meta) │ Send the command │
│ │ │ character (C-a) to │
│ │ │ window. See escape │
│ │ │ command. │
├─────────────────┼─────────────────┼─────────────────────┤
或者:
-e xy
specifies the command character to be x and the character generat‐
ing a literal command character to y (when typed after the command
character). The default is "C-a" and `a', which can be specified
as "-e^Aa". When creating a screen session, this option sets the
default command character. In a multiuser session all users added
will start off with this command character. But when attaching to
an already running session, this option changes only the command
character of the attaching user. This option is equivalent to ei‐
ther the commands "defescape" or "escape" respectively.