在FreeBSD下screen的描述
Screen is a full-screen window manager that multiplexes a physical ter-
minal between several processes (typically interactive shells). Each
virtual terminal provides the functions of a DEC VT100 terminal and, in
addition, several control functions from the ISO 6429 (ECMA 48, ANSI
X3.64) and ISO 2022 standards (e.g. insert/delete line and support for
multiple character sets). There is a scrollback history buffer for
each virtual terminal and a copy-and-paste mechanism that allows moving
text regions between windows.
首先查看是否安装screen,没有则先安装:cd /usr/ports/sysutils/screen && make install clear
接着,创建session
#screen -s /bin/sh -S mysession
-s /bin/sh 设定shell
-S mysession 设定session名
在其它终端上进入上面这个session:
#screen -x mysession
阅读(1094) | 评论(0) | 转发(0) |