{"id":6674,"date":"2020-03-05T11:24:45","date_gmt":"2020-03-05T03:24:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6674"},"modified":"2020-05-13T19:11:57","modified_gmt":"2020-05-13T11:11:57","slug":"tmux","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/tmux","title":{"rendered":"tmux\u547d\u4ee4 – \u7ec8\u7aef\u590d\u7528\u8f6f\u4ef6"},"content":{"rendered":"\n

Tmux\u662f\u4e00\u4e2a\u4f18\u79c0\u7684\u7ec8\u7aef\u590d\u7528\u8f6f\u4ef6\uff0c\u7c7b\u4f3cGNU Screen\uff0c\u4f46\u6765\u81ea\u4e8eOpenBSD\uff0c\u91c7\u7528BSD\u6388\u6743.<\/p>\n\n\n\n

\u4f7f\u7528\u5b83\u6700\u76f4\u89c2\u7684\u597d\u5904\u5c31\u662f\uff0c\u901a\u8fc7\u4e00\u4e2a\u7ec8\u7aef\u767b\u5f55\u8fdc\u7a0b\u4e3b\u673a\u5e76\u8fd0\u884ctmux\u540e\uff0c\u5728\u5176\u4e2d\u53ef\u4ee5\u5f00\u542f\u591a\u4e2a\u63a7\u5236\u53f0\u800c\u65e0\u9700\u518d\u201c\u6d6a\u8d39\u201d\u591a\u4f59\u7684\u7ec8\u7aef\u6765\u8fde\u63a5\u8fd9\u53f0\u8fdc\u7a0b\u4e3b\u673a\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f:<\/strong> tmux [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

Ctrl+b<\/td>\u6fc0\u6d3b\u63a7\u5236\u53f0<\/td><\/tr>
? <\/td>\u5217\u51fa\u6240\u6709\u5feb\u6377\u952e\uff1b\u6309q\u8fd4\u56de<\/td><\/tr>
Ctrl+z<\/td>\u6302\u8d77\u5f53\u524d\u4f1a\u8bdd<\/td><\/tr>
r<\/td>\u5f3a\u5236\u91cd\u7ed8\u672a\u8131\u79bb\u7684\u4f1a\u8bdd<\/td><\/tr>
s<\/td>\u9009\u62e9\u5e76\u5207\u6362\u4f1a\u8bdd\uff1b\u5728\u540c\u65f6\u5f00\u542f\u4e86\u591a\u4e2a\u4f1a\u8bdd\u65f6\u4f7f\u7528<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u5b89\u88c5tmux\u8f6f\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# brew install tmux\n[root@linuxcool ~]# sudo apt-get install tmux\n[root@linuxcool ~]# yum install -y tmux\n[root@linuxcool ~]# yum install libevent libevent-devel ncurses-devel\n[root@linuxcool ~]# tar -zvxf tmux-2.3.tar.gz # \n[root@linuxcool ~]# cd tmux-2.3\n[root@linuxcool ~]# .\/configure\n[root@linuxcool ~]# make && make install<\/pre>\n","protected":false},"excerpt":{"rendered":"

Tmux\u662f\u4e00\u4e2a\u4f18\u79c0\u7684\u7ec8\u7aef\u590d\u7528\u8f6f\u4ef6\uff0c\u7c7b\u4f3cGNU Screen\uff0c\u4f46\u6765\u81ea\u4e8eOpenBSD\uff0c\u91c7\u7528BSD\u6388\u6743. \u4f7f\u7528\u5b83\u6700 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6674"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6674"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6674\/revisions"}],"predecessor-version":[{"id":6791,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6674\/revisions\/6791"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}