给screen打广告

June 26, 2008 on 8:51 am | In Tech |

在console下,screen是个相当的好用的工具啊,可惜广告少,不太出名~
screen的窗口管理功能貌似极其强大,支持detach/reattach,忽略SIGHUP信号;可以在运行些耗时长的程序时退出终端,去wc便便3个小时回来后,再联上终端看结果。这样就可以彻底无视nohup的存在了,反正有些人也不晓得nohup是起什么作用的,啥时候该加&,或为什么该加&,囧
不过我也只是贪图screen可以在console下做copy/paste,牛刀小用了(太上老君的青牛杀得悟空哇哇叫,平时也只是用来骑或看门);screen还支持滚屏,支持不同的语言编码,不过似乎就eucCN, Big5, GBK, UTF-8几个比较常用;自从ports了它,scr2txt/scr2png就彻底从俺机器上消失鸟……
备忘~

C-a ? (help) Show key bindings.
C-a [
C-a C-[
C-a esc (copy) Enter copy/scrollback mode.
C-a ] (paste .) Write the contents of the paste buffer to the stdin queue of the current window.
C-a C-\ (quit) Kill all windows and terminate screen.

好东西来的,强烈建议常在console下干活的兄弟试试看!!!

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^