{"id":100,"date":"2005-05-17T01:28:00","date_gmt":"2005-05-17T01:28:00","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=14"},"modified":"2007-05-17T16:44:55","modified_gmt":"2007-05-17T21:44:55","slug":"hand-in-glove","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2005\/hand-in-glove\/","title":{"rendered":"screen and bittorrent"},"content":{"rendered":"<p>Now that I can ssh from anywhere to my linux box using my new Treo 650 and <a href=\"http:\/\/www.sealiesoftware.com\/pssh\/\">pssh<\/A>, I am really enjoying the authoritative <a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=33044&#038;package_id=25125\">command-line versions<\/a> of bittorrent straight from Bram Cohen.    All I needed was a way to easily ssh in, play with torrents, and disconnect without stopping bittorrent.  There are three ways that I know of to leave processes running after disconnecting from a terminal:<\/p>\n<li>nohup <br \/>\nThis is specifically designed to run processes detached from terminal.<\/p>\n<li>double &#038;<br \/>\neg: (.\/btlaunchmany.py torrent\/active\/ > torrent.log 2>&#038;1 &#038;) &#038;<\/p>\n<li>screen<br \/>\nThis is an entire &#8220;screen manager&#8221; for processes that use the terminal to display output.<\/p>\n<p>\n[screen] really kicks booty &#8211; screen and btlaunchmanycurses.py are a perfect match:<\/p>\n<li>screen btlaunchmanycurses.py &#8211;max_upload_rate 1000 \/torrents\n<li>[ctrl-a d] to disconnect and drop to command line\n<li>[screen -r] to reopen the backgrounded session\n<li>Killing the session does NOT kill the bittorrent process &#8211; relogin and do [screen -r]\n<li>After reopening, kill bt as usual to end process\n<p>Try it out, it rocks!  More on this <A href=\"http:\/\/wiki.theory.org\/BASH%20script%20to%20run%20bittorrent%20as%20a%20daemon\">here<\/A>&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that I can ssh from anywhere to my linux box using my new Treo 650 and pssh, I am really enjoying the authoritative command-line versions of bittorrent straight from Bram Cohen. All I needed was a way to easily ssh in, play with torrents, and disconnect without stopping bittorrent. There are three ways that [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","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,"enabled":false},"version":2}},"categories":[10,2],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-tricks-tips-tools","category-chatter"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-1C","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":0,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}