Screen��������������������� | ���������������

Screen��������������������� | ���������������

Screen下如何滚动窗口

Linux下的GNU Screen是很好的软件。

参考文章:FAQ: How to scrollback in GNU SCREEN?

如何滚动窗口呢?

首先,进入拷贝模式:

Ctrl + a + [

然后,如下方式移动:

(其实,此时上下左右,PageUp和PageDown都可以用的。)

h -    Move the cursor left by one character
j -    Move the cursor down by one line
k -    Move the cursor up by one line
l -    Move the cursor right by one character
0 -    Move to the beginning of the current line
$ -    Move to the end of the current line.
G -    Moves to the specified line
       (defaults to the end of the buffer).
C-u -  Scrolls a half page up.
C-b -  Scrolls a full page up.
C-d -  Scrolls a half page down.
C-f -  Scrolls the full page down.

拷贝方法:进入拷贝模式后,移动到复制开始点,按空格,再移动到赋值结束点,按空格,完毕。注:无法拷贝到剪贴板,只能在screen窗口间拷贝。

设置Screen的缓存Buffer:

vim ~/.screenrc
#设置screen窗口缓存100万行
defscrollback 40000
This entry was posted in Linux and tagged , , on 2011-10-20.

Leave a Reply

Your email address will not be published.

Comment

Name

Email

Website



Tags: published
September 20, 2019 at 09:33AM
Open in Evernote

评论

此博客中的热门博文

Telegram MTProto Proxy 介绍说明 – 开源代码|技术|教程资源|网络资源|首页不显示 – 如有乐享

监控FRPS端口并自动重启进程linux脚本_FRP教程_电脑博士

进阶Spring Boot(二)---Tomcat与Undertow 吞吐量对比 - 简书