<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pavel Chuchuva &#187; far-manager</title>
	<atom:link href="http://chuchuva.com/pavel/tag/far-manager/feed/" rel="self" type="application/rss+xml" />
	<link>http://chuchuva.com/pavel</link>
	<description>Blog about software</description>
	<lastBuildDate>Mon, 10 May 2010 12:44:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to safely remove USB flash drive with Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/#comments</comments>
		<pubDate>Mon, 10 May 2010 12:44:06 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=186</guid>
		<description><![CDATA[Do you have one of these:

When you finish copying files from and to your USB flash drive you need to safely remove it, otherwise you risk losing data. Normally you do this by clicking icon with green arrow in system tray:

You can do the same with Far Manager. Open drive menu (Alt+F1 or Alt+F2), select [...]]]></description>
			<content:encoded><![CDATA[<p>Do you have one of these:<br />
<img class="alignnone size-full wp-image-187" src="http://chuchuva.com/pavel/images/2010/05/usb-flash-drive.jpg" alt="USB flash drive" width="500" height="340" /><br />
When you finish copying files from and to your USB flash drive you need to safely remove it, otherwise you risk losing data. Normally you do this by clicking icon with green arrow in system tray:<br />
<img class="alignnone size-full wp-image-189" src="http://chuchuva.com/pavel/images/2010/05/safely-remove-hardware.png" alt="" width="159" height="53" /></p>
<p>You can do the same with Far Manager. Open drive menu (Alt+F1 or Alt+F2), select your flash drive and press Shift+Del. You should get this confirmation:<br />
<img class="alignnone size-full wp-image-190" src="http://chuchuva.com/pavel/images/2010/05/far-device-removal.png" alt="" width="440" height="180" /><br />
Select &#8220;Remove&#8221; and you&#8217;re done. Note that the key combo (Shift+Del) is different from <a href="http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/">ejecting CD/DVD</a> (Del).</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/05/how-to-safely-remove-usb-flash-drive-with-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhancement to launching PowerShell scripts from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 10:16:56 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=144</guid>
		<description><![CDATA[The method of launching PowerShell scripts from Far Manager I have described previously has 2 important drawbacks:

You can&#8217;t pass arguments to the script, and
You can&#8217;t launch script in a separate window

Here&#8217;s how to fix this:

Start regedit, open HKCR\Microsoft.PowerShellScript.1\shell\Open\command key
Set it to
"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "-file" "%1" %*

Now you can press Shift+Enter to start PowerShell script in a new [...]]]></description>
			<content:encoded><![CDATA[<p>The method of <a href="http://chuchuva.com/pavel/2009/08/how-to-run-powershell-scripts-from-far-manager/">launching PowerShell scripts from Far Manager</a> I have described previously has 2 important drawbacks:</p>
<ol>
<li>You can&#8217;t pass arguments to the script, and</li>
<li>You can&#8217;t launch script in a separate window</li>
</ol>
<p>Here&#8217;s how to fix this:</p>
<ol>
<li>Start regedit, open HKCR\Microsoft.PowerShellScript.1\shell\Open\command key</li>
<li>Set it to<br />
<code>"C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" "-file" "%1" %*</code></li>
</ol>
<p>Now you can press Shift+Enter to start PowerShell script in a new window.</p>
<p>As a bonus, you can now double-click .ps1 files in Windows Explorer to launch them. Why is this not a default behaviour? Most likely Microsoft decided to be extra cautious here.</p>
<p>Make sure you have Powershell version 2.0 or higher for this to work. <a href="http://powershell.com/cs/blogs/tips/archive/2009/09/11/which-powershell-version-am-i-running.aspx">How to check Powershell version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to open .docx and .xlsx files from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 09:34:01 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=117</guid>
		<description><![CDATA[If you try to open Office 2007 document (.docx or .xlsx) in Far Manager it will simply open them as a ZIP archive. Clearly, that&#8217;s not what you want. Here&#8217;s how to fix it:

Go to Commands › File association.
Create a new association by pressing Ins.
Enter *.doc;*.docx;*.xlsx;*.pptx as a mask.
Enter @"!.!" as Execute command (used for [...]]]></description>
			<content:encoded><![CDATA[<p>If you try to open Office 2007 document (.docx or .xlsx) in Far Manager it will simply open them as a ZIP archive. Clearly, that&#8217;s not what you want. Here&#8217;s how to fix it:</p>
<ol>
<li>Go to Commands › File association.</li>
<li>Create a new association by pressing Ins.</li>
<li>Enter <code>*.doc;*.docx;*.xlsx;*.pptx</code> as a mask.</li>
<li>Enter <code>@"!.!"</code> as Execute command (used for Enter).</li>
</ol>
<p><img class="alignnone size-full wp-image-118" src="http://chuchuva.com/pavel/images/2010/01/far-file-associations.png" alt="File associations in Far Manager" width="483" height="216" /></p>
<p>You can still open docx file as an archive by pressing Ctrl+PgDn.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/01/how-to-open-docx-and-xlsx-files-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trick: eject CD/DVD from Far Manager</title>
		<link>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 09:41:21 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=105</guid>
		<description><![CDATA[This is a nice trick: in Far Manager, invoke drive menu by pressing Alt+F1:

Select CD-ROM and press Delete. CD/DVD will get ejected.
You can also press Del key on network drives to unmap them.
]]></description>
			<content:encoded><![CDATA[<p>This is a nice trick: in Far Manager, invoke drive menu by pressing Alt+F1:</p>
<p><img class="alignnone size-full wp-image-106" title="far-drive-menu" src="http://chuchuva.com/pavel/images/2010/01/far-drive-menu.png" alt="far-drive-menu" width="240" height="234" /></p>
<p>Select CD-ROM and press Delete. CD/DVD will get ejected.</p>
<p>You can also press Del key on network drives to unmap them.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2010/01/trick-eject-cd-dvd-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Middle-click in Far Manager 2</title>
		<link>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/</link>
		<comments>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 10:44:26 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=98</guid>
		<description><![CDATA[In Far Manager 1.70 you could browse folders with mouse wheel. Rotating wheel would scroll up and down. Middle-click would open a folder. But version 2.0 disables middle-click. Boo! Never take away features from users.

Fortunately it&#8217;s very easy to restore this functionality:

Launch [C:\Program Files\Far2\Addons\Macros\MiddleClickAsEnter.reg]. If you don&#8217;t have this folder re-install Far and add Addons [...]]]></description>
			<content:encoded><![CDATA[<p>In Far Manager 1.70 you could browse folders with mouse wheel. Rotating wheel would scroll up and down. Middle-click would open a folder. But version 2.0 disables middle-click. Boo! Never take away features from users.</p>
<p><img class="alignnone size-full wp-image-99" src="http://chuchuva.com/pavel/images/2009/12/mouse-wheel.jpg" alt="Mouse wheel" width="500" height="333" /></p>
<p>Fortunately it&#8217;s very easy to restore this functionality:</p>
<ol>
<li>Launch [C:\Program Files\Far2\Addons\Macros\MiddleClickAsEnter.reg]. If you don&#8217;t have this folder re-install Far and add Addons » Macros feature.</li>
<li>Restart Far Manager.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2009/12/middle-click-in-far-manager-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change Far Manager&#8217;s font and window size</title>
		<link>http://chuchuva.com/pavel/2009/12/how-to-change-far-manager-font-and-window-size/</link>
		<comments>http://chuchuva.com/pavel/2009/12/how-to-change-far-manager-font-and-window-size/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 08:41:23 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=93</guid>
		<description><![CDATA[Freshly installed Far Manager looks um&#8230; small:

Here&#8217;s how to make its window bigger:

Right-click on the window title, select Properties
Switch to Font tab
Select a bigger font. I prefer raster font 10 x 18.
(optional) Switch to Layout tab and change window size there. I leave it as 80 x 25.

]]></description>
			<content:encoded><![CDATA[<p>Freshly installed Far Manager looks um&#8230; small:<br />
<img class="alignnone size-full wp-image-94" src="http://chuchuva.com/pavel/images/2009/12/far-manager-small.png" alt="" width="652" height="338" /></p>
<p>Here&#8217;s how to make its window bigger:</p>
<ol>
<li>Right-click on the window title, select Properties</li>
<li>Switch to Font tab</li>
<li>Select a bigger font. I prefer raster font 10 x 18.</li>
<li>(optional) Switch to Layout tab and change window size there. I leave it as 80 x 25.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2009/12/how-to-change-far-manager-font-and-window-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add context menu to Far Manager</title>
		<link>http://chuchuva.com/pavel/2009/12/how-to-add-context-menu-to-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2009/12/how-to-add-context-menu-to-far-manager/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 09:45:41 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=68</guid>
		<description><![CDATA[Sometimes I need to do something with file that Far Manager can&#8217;t help me with. Good example is changing file permissions. In these cases Windows Explorer context menu comes handy:

If you want context menu in Far Manager you need EMenu plugin. Fortunately, it is included with Far by default. Here&#8217;s how to set it up:

Execute [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I need to do something with file that Far Manager can&#8217;t help me with. Good example is changing file permissions. In these cases Windows Explorer context menu comes handy:</p>
<p><img class="alignnone size-full wp-image-69" title="far-context-menu" src="http://chuchuva.com/pavel/images/2009/12/far-context-menu.png" alt="far-context-menu" width="385" height="277" /></p>
<p>If you want context menu in Far Manager you need EMenu plugin. Fortunately, it is included with Far by default. Here&#8217;s how to set it up:</p>
<ol>
<li>Execute [C:\Program Files\Far\Plugins\EMenu\Hotkey.reg]</li>
<li>Restart Far Manager</li>
<li>Open Options menu, then Plugins configuration. Select EMenu in the list.</li>
<li>Uncheck &#8220;Show message after execution&#8221;.</li>
</ol>
<p>Now <a href="http://en.wikipedia.org/wiki/Menu_key">Menu key</a> should invoke context menu. Nice trick is to select Send To &#8211; Mail Recipient to quickly open new email with the file attached.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2009/12/how-to-add-context-menu-to-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run PowerShell scripts from Far Manager</title>
		<link>http://chuchuva.com/pavel/2009/08/how-to-run-powershell-scripts-from-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2009/08/how-to-run-powershell-scripts-from-far-manager/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 10:27:21 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>
		<category><![CDATA[powershell]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/?p=34</guid>
		<description><![CDATA[Let&#8217;s say you use Far Manager and want to launch PowerShell script. With default installation pressing Enter on PowerShell script in Far Manager will open the script in Notepad. Not very helpful.

Here&#8217;s how to configure Far Manager to launch PowerShell script by pressing Enter key:

Open Commands menu, select File associations.
Press Ins key to add new [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you use Far Manager and want to launch PowerShell script. With default installation pressing Enter on PowerShell script in Far Manager will open the script in Notepad. Not very helpful.</p>
<p><img class="alignnone size-full wp-image-35" src="http://chuchuva.com/pavel/wp-content/uploads/2009/08/notepad.png" alt="" width="274" height="143" /></p>
<p>Here&#8217;s how to configure Far Manager to launch PowerShell script by pressing Enter key:</p>
<ol>
<li>Open Commands menu, select File associations.</li>
<li>Press Ins key to add new association.</li>
<li>Enter *.ps1 as file mask.</li>
<li>Enter the following as execute command:
<pre>powershell.exe "&amp;'.\!.!'"</pre>
</li>
</ol>
<p><img class="alignnone size-full wp-image-37" src="http://chuchuva.com/pavel/wp-content/uploads/2009/08/file-association.gif" alt="" width="498" height="232" /></p>
<p>Bonus: how to change colour of PowerShell scripts to green:</p>
<ol>
<li>Open Options menu, select Files highlighting.</li>
<li>Locate *.exe,*.com,*.bat entry, press Enter to edit.</li>
<li>Add *.ps1 to the list, select Ok to save.</li>
</ol>
<p><img class="alignnone size-full wp-image-38" src="http://chuchuva.com/pavel/wp-content/uploads/2009/08/powershell-far.png" alt="" width="403" height="181" /></p>
<p>See also: <a href="http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx">Running Windows PowerShell Scripts</a></p>
<p><strong>Update</strong>: there is an <a href="http://chuchuva.com/pavel/2010/03/enhancement-to-launching-powershell-scripts-from-far-manager/">enhancement</a> that allows passing arguments to the script and launch script in a separate window.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2009/08/how-to-run-powershell-scripts-from-far-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I configure Far Manager</title>
		<link>http://chuchuva.com/pavel/2008/03/how-i-configure-far-manager/</link>
		<comments>http://chuchuva.com/pavel/2008/03/how-i-configure-far-manager/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 06:17:15 +0000</pubDate>
		<dc:creator>Pavel Chuchuva</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[far-manager]]></category>

		<guid isPermaLink="false">http://chuchuva.com/pavel/index.php/2008/03/how-i-configure-far-manager/</guid>
		<description><![CDATA[Step by step description]]></description>
			<content:encoded><![CDATA[<p><img src="http://chuchuva.com/pavel/images/2008/03/far.gif" alt="far.gif" /><a href="http://www.farmanager.com/"></a></p>
<p><a href="http://www.farmanager.com/">Far Manager</a> is console-based file manager. I like it very much. Here&#8217;s how I configure it to get the maximum out of it:</p>
<ol>
<li>Set raster font, 10 x 18. Set window size 80 x 26. Turn off selection with mouse (QuickEdit mode).</li>
<li>Turn on &#8220;Clear R/O attribute from CD files&#8221;: go to Options | System Settings. I never need files to be read-only when I copy them from CD or DVD to hard drive.</li>
<li>Turn on displaying hidden ($) shares: Options | Plugins configuration | Network      browser | Show hidden shares.  Now I can type <strong>net:computername</strong> and see C$, D$, etc.</li>
<li>Options | Confirmations. Turn off confirmations for:
<ul>
<li>Delete non-empty folders</li>
<li>Exit</li>
</ul>
</li>
<li>Copy these command line archivers to C:\Program Files\Far folder:
<ul>
<li>pkzipc.exe</li>
<li>rar.exe</li>
<li>MsCab.exe</li>
<li>tar.exe</li>
</ul>
<p>Unfortunately Far Manager is not bundled with any archiver so you need to get them manually, from various web sites. <strong>Update: </strong>see below.</li>
<li>Options | Panel Settings | turn on &#8220;Select folders&#8221;. This allows using NumPad Star to select folders.</li>
<li>Go to Options | Interface Settings. Turn off &#8220;Clock in panels&#8221;. I already have a clock in lower right corner. There is no need for extra clock.Turn on &#8220;Show total copy progress indicator&#8221;. Otherwise I have absolutely no clue when operation is going to finish when I have lots of files to copy.</li>
<li>Go to Options | Editor Settings. Check &#8220;Del removes blocks&#8221;. Set tab size to <strong>3</strong>. Default 8 is way to much.</li>
<li>Switch to Wide Mode. Press <strong>Left Ctrl + 4</strong>. I prefer this mode because I can see long file names and file sizes. Go to Options | File panel modes | Wide mode. Set Column Types to <strong>N,SC</strong> and Status line column types to <strong>NR,SC,D,T</strong>. This adds comma to file sizes:<br />
<img src="http://chuchuva.com/pavel/images/2008/03/far-delimeters.gif" alt="far-delimeters.gif" /></li>
<li>Install EMenu plugin. Go to C:\Program Files\Far\Plugins\EMenu folder and execute Hotkey.reg. Now I can press <a href="http://en.wikipedia.org/wiki/Menu_key">Context Menu key</a> to get Explorer menu for selected file or folder.</li>
<li>Can you read gray text on green background? I can&#8217;t.<br />
<img src="http://chuchuva.com/pavel/images/2008/03/far-grey.gif" alt="far-grey.gif" /><br />
Go to Options | Colors | Dialogs | Unchanged text input. Set Foreground to black.</li>
</ol>
<p><strong>Update: </strong>Download pkzipc.exe, Rar.exe, MsCab.exe, gzip32.exe and tar.exe:<br />
<iframe src="http://cid-a00bfbeef5047938.skydrive.live.com/embedrow.aspx/Public/far_archivers.zip" marginheight="0" marginwidth="0" style="border: 1px solid #dde5e9; margin: 3px; padding: 0pt; width: 240px; height: 26px; background-color: #ffffff" frameborder="0" scrolling="no"></iframe><br />
Extract far_archivers.zip to C:\Program Files\Far folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://chuchuva.com/pavel/2008/03/how-i-configure-far-manager/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
