{"id":8,"date":"2006-09-22T10:51:44","date_gmt":"2006-09-22T10:51:44","guid":{"rendered":""},"modified":"2017-03-07T16:11:04","modified_gmt":"2017-03-07T16:11:04","slug":"screenrc","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/dams\/2006\/09\/22\/screenrc\/","title":{"rendered":"screenrc"},"content":{"rendered":"<p>Today I decided to rewrite some of my config files. I started with ~\/.screenrc. It&#8217;s amazing the cool things you can do in that file \ud83d\ude42<\/p>\n<p>Here are some of the options I use. One of them is rather useful : replacing the main screen key : instead of &#8216;ctrl-A&#8217;, I changed it to &#8216;ctrl-O&#8217;. That&#8217;s because &#8216;ctrl-A&#8217; is binded in many applications (emacs, *sh, other editors, links&#8230;), and it clashes a lot with the badly chosen default screen key &#8216;ctrl-A&#8217;.<\/p>\n<p>The other nifty option sets the caption of the bottom line : it displays all the windows with their number and title, the current one being highlighted in white on blue. And some status information are padded to the right of the screen.<\/p>\n<p><code><br \/>\n# ~\/.screenrc<br \/>\n# use visual bell<br \/>\nvbell on<br \/>\n# replace ctrl-A by ctrl-O<br \/>\nescape ^Oo<br \/>\n# set a big scrolling buffer<br \/>\ndefscrollback 5000<br \/>\n# Set the caption on the bottom line<br \/>\ncaption always \"%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c\"<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I decided to rewrite some of my config files. I started with ~\/.screenrc. It&#8217;s amazing the cool things you can do in that file \ud83d\ude42 Here are some of the options I use. One of them is rather useful : replacing the main screen key : instead of &#8216;ctrl-A&#8217;, I changed it to &#8216;ctrl-O&#8217;. &hellip; <a href=\"https:\/\/blogs.gentoo.org\/dams\/2006\/09\/22\/screenrc\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">screenrc<\/span><\/a><\/p>\n","protected":false},"author":44,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,4],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/8"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/users\/44"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/posts\/8\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/dams\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}