{"id":2662,"date":"2016-05-08T01:51:20","date_gmt":"2016-05-07T17:51:20","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=2662"},"modified":"2016-05-08T01:51:20","modified_gmt":"2016-05-07T17:51:20","slug":"%e6%88%91%e7%9a%84-screenrc%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/2662.html","title":{"rendered":"\u6211\u7684.screenrc\u914d\u7f6e"},"content":{"rendered":"<p>=Start=<\/p>\n<h6>\u53c2\u8003\u914d\u7f6e\u5982\u4e0b\uff1a<\/h6>\n<pre class=\"lang:default decode:true \">startup_message off     # default: on\npassword IPEYnb9Ew33\/E\n\nautodetach on # Autodetach session on hangup instead of terminating screen completely\n\n# define a bigger scrollback, default is 100 lines\nscrollback 30000\ndefscrollback 30000\n\n# Remove some stupid \/ dangerous key bindings\nbind x\nbind ^k\nbind ^\\\n\ncaption always \"%{=b dy}%D, %d. %M '%y %{=b dw}%c:%s %{=b dy}{ %{= dg}${USER}@%{= dr}%H %{=b dy}} %{=b d2}%l %{=b dy}%u %{=b dy} %={ %?%{= dc}%-Lw%?%{+b dy}(%{-b r}%n:%t%{+b dy})%?(%u)%?%{-dc}%?%{= dc}%+Lw%? %{=b dy}}\"\n\n#\u517c\u5bb9shell \u4f7f\u5f97.bashrc .profile \/etc\/profile\u7b49\u91cc\u9762\u7684\u522b\u540d\u7b49\u8bbe\u7f6e\u751f\u6548\nshell -$SHELL<\/pre>\n<h6>\u53c2\u8003\u94fe\u63a5\uff1a<\/h6>\n<ul>\n<li><a href=\"http:\/\/www.gnu.org\/software\/screen\/manual\/screen.html#Customization\">http:\/\/www.gnu.org\/software\/screen\/manual\/screen.html#Customization<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/search?utf8=%E2%9C%93&amp;q=screenrc&amp;type=Repositories&amp;ref=searchresults\">https:\/\/github.com\/search?utf8=%E2%9C%93&amp;q=screenrc&amp;type=Repositories&amp;ref=searchresults<\/a>\n<ul>\n<li><a href=\"https:\/\/github.com\/px\/screenrc\/blob\/master\/.screenrc\">https:\/\/github.com\/px\/screenrc\/blob\/master\/.screenrc<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/chy168\/screenrc\/blob\/master\/screenrc\">https:\/\/github.com\/chy168\/screenrc\/blob\/master\/screenrc<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/baccenfutter\/screenrc\/blob\/master\/screenrc\">https:\/\/github.com\/baccenfutter\/screenrc\/blob\/master\/screenrc<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><a href=\"http:\/\/blog.ihipop.info\/2010\/12\/1904.html\">\u6211\u7684screenrc\u914d\u7f6e<\/a><\/li>\n<li><a href=\"http:\/\/easwy.com\/blog\/archives\/display-window-list-on-title-bar-and-status-bar-of-screen\/\">Linux\u4f7f\u7528\u7b14\u8bb0: \u5728\u6807\u9898\u548c\u72b6\u6001\u680f\u4e2d\u663e\u793aScreen\u7684\u7a97\u53e3\u540d\u79f0<\/a><\/li>\n<li><a href=\"http:\/\/roclinux.cn\/?p=1742\">gnu screen\u5feb\u6377\u952e\u901f\u67e5\u8868<\/a><\/li>\n<li><a href=\"http:\/\/serverfault.com\/questions\/3740\/what-are-useful-screenrc-settings\">http:\/\/serverfault.com\/questions\/3740\/what-are-useful-screenrc-settings<\/a><\/li>\n<\/ul>\n<p>=END=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=Start= \u53c2\u8003\u914d\u7f6e\u5982\u4e0b\uff1a startup_message off # default: on passw [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,11,12],"tags":[30,598],"class_list":["post-2662","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-linux","category-tools","tag-linux","tag-screen"],"views":3585,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/2662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=2662"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/2662\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=2662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=2662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=2662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}