{"id":1225,"date":"2007-11-29T09:45:17","date_gmt":"2007-11-29T14:45:17","guid":{"rendered":"http:\/\/blogs.terrorware.com\/geoff\/2007\/10\/23\/screen-cheatsheet\/"},"modified":"2008-09-05T14:56:21","modified_gmt":"2008-09-05T19:56:21","slug":"screen-cheatsheet","status":"publish","type":"post","link":"http:\/\/blogs.terrorware.com\/geoff\/2007\/11\/29\/screen-cheatsheet\/","title":{"rendered":"screen cheatsheet"},"content":{"rendered":"<p>I&#8217;ve been using the unix screen command a lot lately, and enough to want to learn more.<\/p>\n<p>I used to just scroll through windows with CTRL-a n and CTRL-a p, but now I have a ton of windows in my screen session, so I want to be able to navigate easier.<\/p>\n<ul>\n<li>List to windows: CTRL-a w (you can also have a persistent display of windows, see <a href=\"http:\/\/haller.ws\/logs\/view.cgi\/ScreenTerminal\" rel=\"nofollow\">http:\/\/haller.ws\/logs\/view.cgi\/ScreenTerminal<\/a>.\u00c2\u00a0 Thanks Patrick!)<\/li>\n<li>Go to window 2: CTRL-a 2<\/li>\n<li>Set window title: CTRL-a A<\/li>\n<\/ul>\n<p>According to the manpage, you can automatically set the title of a window, but I think it&#8217;s nice to do it interactively because the general task that will identify the window&#8217;s functionality might not easily be reflected in a path or command.<\/p>\n<p>You can also use screen to copy\/paste text between windows:<\/p>\n<ul>\n<li>Enter copy mode: CTRL-a [<\/li>\n<li>Start\/End selecting text to copy: SPACE<\/li>\n<li>Paste text CTRL-a ]<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using the unix screen command a lot lately, and enough to want to learn more. I used to just scroll through windows with CTRL-a n and CTRL-a p, but now I have a ton of windows in my screen session, so I want to be able to navigate easier. List to windows: CTRL-a&hellip; <a class=\"more-link\" href=\"http:\/\/blogs.terrorware.com\/geoff\/2007\/11\/29\/screen-cheatsheet\/\">Continue reading <span class=\"screen-reader-text\">screen cheatsheet<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[285,265,267,266],"class_list":["post-1225","post","type-post","status-publish","format-standard","hentry","category-howto","tag-recipes","tag-screen","tag-shell","tag-unix","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4wnIz-jL","_links":{"self":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/1225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/comments?post=1225"}],"version-history":[{"count":0,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/posts\/1225\/revisions"}],"wp:attachment":[{"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/media?parent=1225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/categories?post=1225"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogs.terrorware.com\/geoff\/wp-json\/wp\/v2\/tags?post=1225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}