GNU屏幕:文件到编号的缓冲区? [英] GNU Screen: files to numbered buffers?
本文介绍了GNU屏幕:文件到编号的缓冲区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无效地使用了 ^ a + ESC SPACE-SPACE和 ^ a +]。
I unefficiently use "^a + ESC SPACE -- SPACE" and "^a + ]".
1。如何将大文件复制到GNU屏幕缓冲区,例如
^a + : cat big_file > new_buffer
^a + : new_buffer ]
2。如何为每个缓冲区指定数字,例如
^a + : cat big_file 2> new_buffer_number_2
^a + 2]
推荐答案
也许您想要:readbuf
?
^A :readbuf /path/to/file
^A ]
我还没有使用'buffers'在GNU Screen中(从不知道它们存在),但是我猜:readreg
是:readbuf $ c $的缓冲y版本c>:
I haven't used 'buffers' in GNU Screen (never knew they existed), but I'm guessing :readreg
is the buffer-y version of :readbuf
:
^A :readreg x /path/to/file
^A :paste x
这篇关于GNU屏幕:文件到编号的缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文