<?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"
	>

<channel>
	<title>the nullest blog</title>
	<atom:link href="http://blog.thenullest.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thenullest.org</link>
	<description>Techrants</description>
	<pubDate>Mon, 04 Jun 2007 05:36:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Cygwin: How to make sshd log to syslog in Cygwin</title>
		<link>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/</link>
		<comments>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 19:37:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Cygwin]]></category>

		<category><![CDATA[Hacks]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/</guid>
		<description><![CDATA[I recently installed the ssh daemon on cygwin and it works very well. However, by default to the windows event log. This annoyed me. By doing some google/Internet research I found out that this could be &#8220;solved&#8221; by starting the ssh daemon with the command line flag &#8220;-e&#8221; which tells sshd to log all error [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed the ssh daemon on cygwin and it works very well. However, by default to the windows event log. This annoyed me. By doing some google/Internet research I found out that this could be &#8220;solved&#8221; by starting the ssh daemon with the command line flag &#8220;-e&#8221; which tells sshd to log all error messages to stderr. Fair enough, the messages turned up in /var/log/sshd.log. But without the date wasn&#8217;t logged. This annoyed me even more.  Infact, i didn&#8217;t want to send the log messages to stderr but I didn&#8217;t want them to be directed to the windows log niether.</p>
<p>By doing some more internet research I found out that the deamon syslog-ng could be installed for cygwin. I gave it a shot.  You&#8217;ll find it in the Admin category in the Cygwin setup:</p>
<p><a TITLE="Syslog-ng" HREF="http://blog.thenullest.org/wp-content/uploads/2007/06/syslog1.png"><img ALT="Syslog-ng" SRC="http://blog.thenullest.org/wp-content/uploads/2007/06/syslog1.png" /></a></p>
<p>Once the setup has finished you can install the syslog-ng daemon by typing:</p>
<p>/usr/bin/syslog-ng-config</p>
<p>and answer yes to all questions (or no if you should disagree on something)<br />
Before starting the daemon you might have to edit the file /etc/syslog-ng.conf.<br />
The following configuration file worked for me:</p>
<blockquote><p><code>options {<br />
keep_hostname(yes);<br />
chain_hostnames(no);<br />
owner("system");<br />
group("root");<br />
perm(0664);<br />
sync(0);<br />
};source applications {<br />
unix-dgram("/dev/log");<br />
internal();<br />
};</p>
<p>source kernel {<br />
file("/dev/kmsg", log_prefix("kernel: "));<br />
};</p>
<p>destination messages {<br />
file("/var/log/messages");<br />
};</p>
<p>destination sshd { file("/var/log/sshd.log"); };</p>
<p>filter f_sshd { program(sshd); };</p>
<p>log { source(applications); filter(f_sshd); destination(sshd); };</p>
<p>log {<br />
source(applications);<br />
destination(messages);<br />
};</p>
<p>log {<br />
source(kernel);<br />
destination(messages);<br />
};<code></code></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/06/01/cygwin-how-to-make-sshd-log-to-syslog-in/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Problem with arrow keys and tab in Vim 7 on Cygwin</title>
		<link>http://blog.thenullest.org/2007/05/30/problem-with-arrow-keys-an-tab-in-vim-7-on-cygwin/</link>
		<comments>http://blog.thenullest.org/2007/05/30/problem-with-arrow-keys-an-tab-in-vim-7-on-cygwin/#comments</comments>
		<pubDate>Wed, 30 May 2007 17:44:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Cygwin]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/2007/05/30/problem-with-arrow-keys-an-tab-in-vim-7-on-cygwin/</guid>
		<description><![CDATA[I experienced some problem with the arrow keys on Cygwin. In insert mode, pressing the arrow keys just inserted a new line and some random character (which probably wasn&#8217;t random but had some meaning - anyway,  that character  didn&#8217;t say anything to me). Furthermore, the tab didn&#8217;t work as I was used to in the Windows version of VIM. More precisely, I couldn&#8217;t use tab completion on commands in command line mode (I think shift-Tab worked though, but this is much [...]]]></description>
			<content:encoded><![CDATA[<p>I experienced some problem with the arrow keys on Cygwin. In insert mode, pressing the arrow keys just inserted a new line and some random character (which probably wasn&#8217;t random but had some meaning - anyway,  that character  didn&#8217;t say anything to me). Furthermore, the tab didn&#8217;t work as I was used to in the Windows version of VIM. More precisely, I couldn&#8217;t use tab completion on commands in command line mode (I think shift-Tab worked though, but this is much too unorthodox for me). So, what&#8217;s this all about? Well, the problem could easily be rectified by copying an example .vimrc file to my home directory:</p>
<p><code>cp /usr/share/vim/vim71/vimrc_example.vim  ~/.vimrc</code></p>
<p>The problem disappeared.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/30/problem-with-arrow-keys-an-tab-in-vim-7-on-cygwin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to remove advertising in Windows Live Messenger</title>
		<link>http://blog.thenullest.org/2007/05/26/how-to-remove-advertising-in-windows-live-messenger/</link>
		<comments>http://blog.thenullest.org/2007/05/26/how-to-remove-advertising-in-windows-live-messenger/#comments</comments>
		<pubDate>Sat, 26 May 2007 08:11:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/2007/05/26/how-to-remove-advertising-in-windows-live-messenger/</guid>
		<description><![CDATA[There is an wonderful program called A-Patch that lets you remove the advertising from Windows Live Messenger. In fact, it lets you remove any annoying feature you can ever think of in Windows Live Messenger, like search bars, buttons, links et cetera, et cetera.

]]></description>
			<content:encoded><![CDATA[<p>There is an wonderful program called <a TARGET="_blank" HREF="http://www.apatch.tk/">A-Patch</a> that lets you remove the advertising from Windows Live Messenger. In fact, it lets you remove any annoying feature you can ever think of in Windows Live Messenger, like search bars, buttons, links et cetera, et cetera.</p>
<p><a TITLE="A Patch" HREF="http://blog.thenullest.org/wp-content/uploads/2007/05/a-patch1.png"><img ALT="A Patch" SRC="http://blog.thenullest.org/wp-content/uploads/2007/05/a-patch1.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/26/how-to-remove-advertising-in-windows-live-messenger/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to enable port forwarding on a shared internet connection on Windows XP</title>
		<link>http://blog.thenullest.org/2007/05/26/how-to-enable-port-forwarding-on-a-shared-internet-connection-on-windows-xp/</link>
		<comments>http://blog.thenullest.org/2007/05/26/how-to-enable-port-forwarding-on-a-shared-internet-connection-on-windows-xp/#comments</comments>
		<pubDate>Sat, 26 May 2007 08:00:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Network]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/2007/05/26/how-to-enable-port-forwarding-on-a-shared-internet-connection-on-windows-xp/</guid>
		<description><![CDATA[Sometimes its necessary to forward a port. One example is when you want to use a bittorrent client behind a firewall. Incoming connections will be blocked. It&#8217;s neccessry to tell the firewall that a certain port should be forwarded to a certain host.
This is usually no problem if you have a router. All modern routers [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes its necessary to forward a port. One example is when you want to use a bittorrent client behind a firewall. Incoming connections will be blocked. It&#8217;s neccessry to tell the firewall that a certain port should be forwarded to a certain host.</p>
<p>This is usually no problem if you have a router. All modern routers have the possibility to forward ports. If you have a shared internet connection on a computer running Windows, you can still achieve this. This is applicable if you have two network cards on your computer. One connected to the internet and the other connected to another computer which can access internet through this computer.</p>
<p>Choose:</p>
<p><strong>Control Panel -&gt; Network Connections </strong></p>
<p>Right click on your shared internet connection, and choose <strong>Properties</strong></p>
<p>Click on the tab <strong>Advanced.</strong></p>
<p>The click on the <strong>Options</strong> button in the Internet connection sharing section. You should see the following window.</p>
<p><a TITLE="Services Window" HREF="http://blog.thenullest.org/wp-content/uploads/2007/05/services-window.png"><img ALT="Services Window" SRC="http://blog.thenullest.org/wp-content/uploads/2007/05/services-window.png" /></a></p>
<p>Now, let&#8217;s say you want another computer with IP address 192.168.0.34 be able to use a bittorrent client on port 6881. We have the following network scenario</p>
<p><a TITLE="Network Setup" HREF="http://blog.thenullest.org/wp-content/uploads/2007/05/network-setup.png"><img ALT="Network Setup" SRC="http://blog.thenullest.org/wp-content/uploads/2007/05/network-setup.png" /></a></p>
<p>We have to tell Windows to forward port 6881 to this computer on our network.</p>
<p>In the window just opened:</p>
<p>Choose <strong>Add.</strong></p>
<p>In the description field, enter <strong>Bittorrent (TCP)</strong></p>
<p>In the IP address field, enter <strong>192.168.0.34 </strong>or whatever is the address of the computer using the bittorrent.</p>
<p>Make sure <strong>TCP</strong> is choosen</p>
<p>In the external port number field, enter <strong>6881</strong>.</p>
<p>In the internal port number field, enter <strong>6881</strong>.</p>
<p>Click <strong>OK</strong></p>
<p>Choose <strong>Add</strong> once more</p>
<p>As name, type <strong>Bittorrent (UDP)</strong></p>
<p>Enter the <strong>192.168.0.34</strong> once more in the address field.</p>
<p>This time, choose <strong>UDP.</strong></p>
<p>Enter the same external and internal port number, i.e.<strong> 6881.</strong></p>
<p>Click <strong>OK.</strong></p>
<p>Repeat this for any other port you want to use for bittorrenting.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/26/how-to-enable-port-forwarding-on-a-shared-internet-connection-on-windows-xp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subversion: Moving multiple files with a wildcard on Windows</title>
		<link>http://blog.thenullest.org/2007/05/19/trying-to-move-multiple-files-with-a-wildcard-on-windows/</link>
		<comments>http://blog.thenullest.org/2007/05/19/trying-to-move-multiple-files-with-a-wildcard-on-windows/#comments</comments>
		<pubDate>Sat, 19 May 2007 15:49:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/?p=6</guid>
		<description><![CDATA[I recently tried to move multiple files with subversion using a wildcard on windows:
&#62;svn move lib/*.dll .
but to no avail
svn: Client error in parsing arguments
What? I read somewhere that this is caused by the way the wildcard is interpreted. On unix based system,
apparently, the wildcard is expanded by the shell to the matching files. Hence the command sent to subversion is svn lib/liba.dll lib/libb.dll lib/libc.dll .
This won&#8217;t work since the move command only takes two arguments.
On Windows however, I&#8217;m not sure whether or not the wildcard is expanded or not but something goes wrong. One solution is to create a simple loop:
FOR %f IN [...]]]></description>
			<content:encoded><![CDATA[<p>I recently tried to move multiple files with subversion using a wildcard on windows:</p>
<p><code>&gt;svn move lib/*.dll .</code></p>
<p>but to no avail</p>
<p><code>svn: Client error in parsing arguments</code></p>
<p>What? I read somewhere that this is caused by the way the wildcard is interpreted. On unix based system,<br />
apparently, the wildcard is expanded by the shell to the matching files. Hence the command sent to subversion is <code>svn lib/liba.dll lib/libb.dll lib/libc.dll .</code></p>
<p>This won&#8217;t work since the move command only takes two arguments.</p>
<p>On Windows however, I&#8217;m not sure whether or not the wildcard is expanded or not but something goes wrong. One solution is to create a simple loop:</p>
<p><code>FOR %f IN (lib\*.dll) DO svn mv %f .</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/19/trying-to-move-multiple-files-with-a-wildcard-on-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MSN Live Messenger 8.1.0178 doesn&#8217;t work on Windows Vista</title>
		<link>http://blog.thenullest.org/2007/05/18/msn-live-messenger-810178-doesnt-work-on-windows-vista/</link>
		<comments>http://blog.thenullest.org/2007/05/18/msn-live-messenger-810178-doesnt-work-on-windows-vista/#comments</comments>
		<pubDate>Fri, 18 May 2007 20:44:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/?p=5</guid>
		<description><![CDATA[Microsoft seems to have some problems wih Live Messenger in Vista. Version 8.1.0178 didn&#8217;t work for me. Infact, the program started and the process showed up in the Windows task bar but no login window showed up. Nothing showed up. Launching it another time created another process but still no window. Another strange thing was that [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft seems to have some problems wih Live Messenger in Vista. Version 8.1.0178 didn&#8217;t work for me. Infact, the program started and the process showed up in the Windows task bar but no login window showed up. Nothing showed up. Launching it another time created another process but still no window. Another strange thing was that the first process couldn&#8217;t be killed but the ones created afterwards could be terminated. Starting the program as administrator or in Windows XP compatibility mode didn&#8217;t do any difference either. It&#8217;s surprising to see that the latest version of Windows in incompatible with the latest version of Microsoft highly popular instant messenger.</p>
<p> However, in the meantime my solution was to install version 8.0.0812 which can be <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e010f88f-8574-4562-af6d-48dd23026b9d&amp;DisplayLang=en">downloaded here</a>.</p>
<p> This is a temporary solution but I hope it helpes someone else too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/18/msn-live-messenger-810178-doesnt-work-on-windows-vista/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How do I get a list of all directories in a folder and all its subfolders?</title>
		<link>http://blog.thenullest.org/2007/05/18/how-do-i-get-a-list-of-all-directories-in-a-folder-and-all-its-subfolders/</link>
		<comments>http://blog.thenullest.org/2007/05/18/how-do-i-get-a-list-of-all-directories-in-a-folder-and-all-its-subfolders/#comments</comments>
		<pubDate>Fri, 18 May 2007 17:30:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Generic computer]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/?p=4</guid>
		<description><![CDATA[For some reason I needed to get a list of all directories recursively and here is the solution:
On Windows based system, type:
&#62;dir /S /AD /B

/S makes it search recursively
/AD only list directories
/B no leading/trailing information

If you can use the unix based tool find you may prefer
$find -type d
where d stands for directory.
]]></description>
			<content:encoded><![CDATA[<p>For some reason I needed to get a list of all directories recursively and here is the solution:</p>
<p>On Windows based system, type:</p>
<p><code>&gt;dir /S /AD /B</code></p>
<ul>
<li><strong>/S</strong> makes it search recursively</li>
<li><strong>/AD</strong> only list directories</li>
<li><strong>/B</strong> no leading/trailing information</li>
</ul>
<p>If you can use the unix based tool <em>find </em>you may prefer</p>
<p><code>$find -type d</code></p>
<p>where <em>d</em> stands for directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/18/how-do-i-get-a-list-of-all-directories-in-a-folder-and-all-its-subfolders/feed/</wfw:commentRss>
		</item>
		<item>
		<title>400 Bad Request accessing google with lynx</title>
		<link>http://blog.thenullest.org/2007/05/17/400-bad-request-accessing-google-with-lynx/</link>
		<comments>http://blog.thenullest.org/2007/05/17/400-bad-request-accessing-google-with-lynx/#comments</comments>
		<pubDate>Thu, 17 May 2007 12:45:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/?p=3</guid>
		<description><![CDATA[The text based browser lynx can be really useful
I received an error with lynx on a Debian etch installation when I tried to access www.google.com. I couldn&#8217;t possibly understand why. It worked some days earlier and I hadn&#8217;t done any major changes to my system.
In my case the solution was to reset the DISPLAY environment variable.
Try starting lynx with
$lynx -display=
If this solves your problem you might want [...]]]></description>
			<content:encoded><![CDATA[<p>The text based browser lynx can be really useful</p>
<p>I received an error with lynx on a Debian etch installation when I tried to access www.google.com. I couldn&#8217;t possibly understand why. It worked some days earlier and I hadn&#8217;t done any major changes to my system.</p>
<p>In my case the solution was to reset the DISPLAY environment variable.<br />
Try starting lynx with</p>
<p>$lynx -display=</p>
<p>If this solves your problem you might want to create an alias in your ~/.bashrc file:</p>
<p>alias lynx=&#8217;lynx -display=&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/17/400-bad-request-accessing-google-with-lynx/feed/</wfw:commentRss>
		</item>
		<item>
		<title>About</title>
		<link>http://blog.thenullest.org/2007/05/17/about/</link>
		<comments>http://blog.thenullest.org/2007/05/17/about/#comments</comments>
		<pubDate>Thu, 17 May 2007 12:24:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.thenullest.org/about/</guid>
		<description><![CDATA[This is a technical blog addressing programming and development but also some society and financial analysis.
]]></description>
			<content:encoded><![CDATA[<p>This is a technical blog addressing programming and development but also some society and financial analysis.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thenullest.org/2007/05/17/about/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
