{"id":221,"date":"2010-10-29T21:29:49","date_gmt":"2010-10-29T10:29:49","guid":{"rendered":"http:\/\/chuchuva.com\/pavel\/?p=221"},"modified":"2010-10-29T12:40:29","modified_gmt":"2010-10-29T01:40:29","slug":"detaching-far-manager-from-long-running-process-on-windows-7","status":"publish","type":"post","link":"https:\/\/chuchuva.com\/pavel\/2010\/10\/detaching-far-manager-from-long-running-process-on-windows-7\/","title":{"rendered":"Detaching Far Manager from long-running process on Windows 7"},"content":{"rendered":"<p>Occasionally\u00c2\u00a0I launch a program from Far Manager that takes very long to complete. Normally you can use Ctrl+Alt+Tab to &#8220;detach&#8221; Far from a running process.<a href=\"http:\/\/www.farmanager.com\/svn\/trunk\/docs\/ENG\/TechInfo.txt\"> Technical note #27<\/a> explains this well:<\/p>\n<blockquote><p>If a long-running process (for example, archiving) was run in a FAR console, and for some reasons this very instance of FAR is needed (an editor in the background) or it is undesirable to run a new instance ofFAR, pressing this key combination will create a new console for FAR where it will continue running as if the process has already ended, and the process will continue working in the old console.<\/p><\/blockquote>\n<p>Unfortunately this doesn&#8217;t work on Windows 7. Instead of detaching you get Windows task switcher:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"222\" data-permalink=\"https:\/\/chuchuva.com\/pavel\/2010\/10\/detaching-far-manager-from-long-running-process-on-windows-7\/windows-7-task-switcher\/\" data-orig-file=\"https:\/\/i0.wp.com\/chuchuva.com\/pavel\/images\/2010\/10\/windows-7-task-switcher.jpg?fit=622%2C198&amp;ssl=1\" data-orig-size=\"622,198\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"windows-7-task-switcher\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/chuchuva.com\/pavel\/images\/2010\/10\/windows-7-task-switcher.jpg?fit=604%2C192&amp;ssl=1\" class=\"alignnone size-full wp-image-222\" src=\"https:\/\/i0.wp.com\/chuchuva.com\/pavel\/images\/2010\/10\/windows-7-task-switcher.jpg?resize=604%2C192\" alt=\"Windows 7 task switcher\" width=\"604\" height=\"192\" srcset=\"https:\/\/i0.wp.com\/chuchuva.com\/pavel\/images\/2010\/10\/windows-7-task-switcher.jpg?w=622&amp;ssl=1 622w, https:\/\/i0.wp.com\/chuchuva.com\/pavel\/images\/2010\/10\/windows-7-task-switcher.jpg?resize=300%2C95&amp;ssl=1 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>Interestingly the switcher is in &#8220;sticky&#8221; mode. It doesn&#8217;t disappear when you release keys. You can use arrow keys to select a window.<\/p>\n<p>The fix is easy:<\/p>\n<ol>\n<li>Start regedit, open HKCU\\Software\\far2\\System key.<\/li>\n<li>Create\u00c2\u00a0ConsoleDetachKey string value, set it to some keyboard shortcut. I use CtrlAltX.<\/li>\n<li>Restart Far Manager<\/li>\n<\/ol>\n<p>To test it try executing this command from Far:<\/p>\n<pre><code>ping google.com -t<\/code><\/pre>\n<p>Press Ctrl+Alt+X to get back to Far without stopping pings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally\u00c2\u00a0I launch a program from Far Manager that takes very long to complete. Normally you can use Ctrl+Alt+Tab to &#8220;detach&#8221; Far from a running process. Technical note #27 explains this well: If a long-running process (for example, archiving) was run in a FAR console, and for some reasons this very instance of FAR is needed &hellip; <a href=\"https:\/\/chuchuva.com\/pavel\/2010\/10\/detaching-far-manager-from-long-running-process-on-windows-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Detaching Far Manager from long-running process on Windows 7<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"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,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[9],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-software","tag-far-manager"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":0,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"wp:attachment":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}