{"id":87,"date":"2018-05-22T22:26:09","date_gmt":"2018-05-22T22:26:09","guid":{"rendered":"https:\/\/tog000.io\/?p=87"},"modified":"2018-05-22T22:47:41","modified_gmt":"2018-05-22T22:47:41","slug":"customizing-screen-using-screenrc","status":"publish","type":"post","link":"https:\/\/gtrisca.dev\/index.php\/2018\/05\/22\/customizing-screen-using-screenrc\/","title":{"rendered":"Customizing screen using screenrc"},"content":{"rendered":"<p>This is my current <span class=\"lang:default highlight:0 decode:true crayon-inline\">.screenrc<\/span>\u00a0 file, it includes a nice status bar (hardstatus) and easy window switching by using <span class=\"lang:default highlight:0 decode:true crayon-inline\">Alt+Left\/Right Arrow Keys<\/span><\/p>\n<pre class=\"striped:false nums:false nums-toggle:false lang:default decode:true\" title=\"~\/.screenrc\">hardstatus alwayslastline\r\nhardstatus string \"%{= KW}%-Lw%{+b Bw}%50&gt;%n-%f %t%{-}%+Lw%&lt; %=%C%a %Y-%M-%d\"\r\n\r\nbindkey ^[[1;3D prev # Alt+Left = Previous Window\r\nbindkey ^[[1;3C next # Alt+Right = Next Window\r\n\r\ndefscrollback 2000 # Keep a lot of history\r\n\r\nbind c screen 1 # Start numbering at 1<\/pre>\n<p>This can be copied to any machine and placed in the home directory of the user (~), or manually sourced inside screen by pressing\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">Ctrl+A<\/span>\u00a0and then typing\u00a0<span class=\"lang:default highlight:0 decode:true crayon-inline\">:source &lt;path_to_screenrc&gt;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: left;\">Result:<\/p>\n<p><img loading=\"lazy\" class=\"wp-image-90 size-full\" src=\"https:\/\/tog000.io\/wp-content\/uploads\/2018\/05\/screenrc.png\" alt=\"\" width=\"640\" height=\"29\" srcset=\"https:\/\/gtrisca.dev\/wp-content\/uploads\/2018\/05\/screenrc.png 640w, https:\/\/gtrisca.dev\/wp-content\/uploads\/2018\/05\/screenrc-300x14.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is my current .screenrc\u00a0 file, it includes a nice status bar (hardstatus) and easy window switching by using Alt+Left\/Right Arrow Keys hardstatus alwayslastline hardstatus string &#8220;%{= KW}%-Lw%{+b Bw}%50&gt;%n-%f %t%{-}%+Lw%&lt; %=%C%a %Y-%M-%d&#8221; bindkey ^[[1;3D prev # Alt+Left = Previous Window bindkey ^[[1;3C next # Alt+Right = Next Window defscrollback 2000 # Keep a lot of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[15,16],"_links":{"self":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/87"}],"collection":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":5,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"predecessor-version":[{"id":93,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/posts\/87\/revisions\/93"}],"wp:attachment":[{"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gtrisca.dev\/index.php\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}