<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaemonForums</title>
		<link>http://www.daemonforums.org//</link>
		<description>BSD discussion forums</description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 23:58:12 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daemonforums.org/images/misc/rss.jpg</url>
			<title>DaemonForums</title>
			<link>http://www.daemonforums.org//</link>
		</image>
		<item>
			<title>Security Would you knowingly trust an irrevocable SSL certificate?</title>
			<link>http://www.daemonforums.org//showthread.php?t=7915&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 18:56:23 GMT</pubDate>
			<description>From http://news.netcraft.com/archives/2013/05/23/would-you-knowingly-trust-an-irrevocable-ssl-certificate.html 
 
 
---Quote--- 
Despite the...</description>
			<content:encoded><![CDATA[<div>From <a href="http://news.netcraft.com/archives/2013/05/23/would-you-knowingly-trust-an-irrevocable-ssl-certificate.html" target="_blank">http://news.netcraft.com/archives/20...rtificate.html</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				Despite the inconsistent treatment of certificate revocation by browsers, providing reliable revocation information is an integral part of operating a trustworthy certificate authority (CA) and a well-accepted requirement of Mozilla's CA root program. However, there are presently thousands of certificates in use which are irrevocable in some major browsers, and hundreds in those browsers which do everything right.
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7915</guid>
		</item>
		<item>
			<title>Security Improving the security of your SSH private key files</title>
			<link>http://www.daemonforums.org//showthread.php?t=7914&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 18:51:06 GMT</pubDate>
			<description>See http://martin.kleppmann.com/2013/05/24/improving-security-of-ssh-private-keys.html</description>
			<content:encoded><![CDATA[<div>See <a href="http://martin.kleppmann.com/2013/05/24/improving-security-of-ssh-private-keys.html" target="_blank">http://martin.kleppmann.com/2013/05/...vate-keys.html</a></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7914</guid>
		</item>
		<item>
			<title><![CDATA[Why is Xfce not updated in NetBSD's pkgsrc]]></title>
			<link>http://www.daemonforums.org//showthread.php?t=7913&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 15:10:12 GMT</pubDate>
			<description>Hi, 
The question is in subject. I suppose this is a lack of maintainers? 
Because OpenBSD already has Xfce 4.10</description>
			<content:encoded><![CDATA[<div>Hi,<br />
The question is in subject. I suppose this is a lack of maintainers?<br />
Because OpenBSD already has Xfce 4.10</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=17">NetBSD General</category>
			<dc:creator>cray</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7913</guid>
		</item>
		<item>
			<title>Automatic dual xterm setup for log file monitoring</title>
			<link>http://www.daemonforums.org//showthread.php?t=7912&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 00:51:13 GMT</pubDate>
			<description>While testing a Apache webserver configuration, I became tired of setting up two xterms for monitoring both the /var/log/httpd-access and...</description>
			<content:encoded><![CDATA[<div>While testing a Apache webserver configuration, I became tired of setting up two xterms for monitoring both the <tt style="color: #007a00;">/var/log/httpd-access</tt> and <tt style="color: #007a00;">/var/log/httpd-error.log</tt> files.<br />
<br />
The following simple script does this now for me:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/sh<br />
<br />
# Set up two xterms<br />
#&nbsp;  1) tail -f /var/log/httpd-access.log<br />
#&nbsp;  2) tail -f /var/log/http-error.log<br />
<br />
ACCESS='ssh j65nko.org &quot;tail -f /var/log/httpd-access.log&quot;'<br />
ERROR='ssh j65nko.org &quot;tail -f /var/log/httpd-error.log&quot;'<br />
<br />
# geometry (See X(7)&nbsp; 'GEOMETRY SPECIFICATIONS')<br />
# WidthxHeight+X_offset+Y_offset<br />
# Width and Height either in pixels or characters<br />
# X_offset and Y_offset in pixels<br />
<br />
# See xterm(1) for the other options<br />
<br />
xterm -geometry 200x30+0+0&nbsp;  -bg black -fg green -e &quot;${ACCESS}&quot; &amp;<br />
xterm -geometry 200x30+0+500 -bg black -fg red&nbsp;  -e &quot;${ERROR}&quot; &amp;</code><hr />
</div>Please note that according to the <b>xterm</b> manual page. the <b>-e</b> option for specifiying the command needs to be the last one.<br />
<br />
This script has been tested and is being used in Debian as you can see in the trimmed screenshot. ;)<br />
<img src="http://users.silenceisdefeat.net/~j65nko/daemonforums.org/apache-dual-log.png" border="0" alt="" /></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=31">Guides</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7912</guid>
		</item>
		<item>
			<title>FreeBSD monitoring tool</title>
			<link>http://www.daemonforums.org//showthread.php?t=7911&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 07:06:59 GMT</pubDate>
			<description><![CDATA[Hi, 
 
we made a first public release of the FreeBSD monitoring solution (it's cross-platform, but we consider FreeBSD as one of our primary...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
we made a first public release of the FreeBSD monitoring solution (it's cross-platform, but we consider FreeBSD as one of our primary platform) and I'm looking for those, who interested to give it a try and come back with the feedback. You're only required to register and install the monitoring part on your server - FreeBSD 7.* and higher (which is just 1-2 minutes - depending on how fast you are) and provide your feedback (as much as you'd like).<br />
<br />
We looking to build a proper, useful full coverage monitoring solution for FreeBSD and need your feedback. Those who interested - please, let me know or, if the moderator will allow, I drop the link here.<br />
<br />
Kind regards,<br />
Alexander.</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=7">FreeBSD General</category>
			<dc:creator>alexander10bees</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7911</guid>
		</item>
		<item>
			<title>SQLite gets memory-mapped I/O</title>
			<link>http://www.daemonforums.org//showthread.php?t=7910&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 19:28:06 GMT</pubDate>
			<description>From http://h-online.com/-1867275 
 
 
---Quote--- 
SQLite, the ubiquitous, lightweight, C-based SQL engine, which is embedded in many applications,...</description>
			<content:encoded><![CDATA[<div>From <a href="http://h-online.com/-1867275" target="_blank">http://h-online.com/-1867275</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				SQLite, the ubiquitous, lightweight, C-based SQL engine, which is embedded in many applications, has been updated to SQLite version 3.7.17 with support for memory-mapped I/O which could potentially double performance and use less RAM. The new functionality adds xFetch() and xUnfetch() methods which are automatically called if memory-mapped I/O is activated, to map the data into memory.
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7910</guid>
		</item>
		<item>
			<title>Dragonflybsd:  installing pkgsrc</title>
			<link>http://www.daemonforums.org//showthread.php?t=7909&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 04:36:38 GMT</pubDate>
			<description><![CDATA[I've Dragonflybsd 3.4.1 amd64 installed and have been having a darned time installing packages from pkgsrc. 
 
The dragonflybsd website instructions...]]></description>
			<content:encoded><![CDATA[<div>I've Dragonflybsd 3.4.1 amd64 installed and have been having a darned time installing packages from pkgsrc.<br />
<br />
The dragonflybsd website instructions mention, for first time installation, to create it with the following commands:<br />
<br />
# cd /usr<br />
# make pkgsrc-create<br />
<br />
<br />
Installation fails with:<br />
<br />
<b>cd /usr/pkgsrc  &amp;&amp; git fetch origin<br />
fatal: unable to connect to git.dragonflybsd.org<br />
git.dragonflybsd.org[0: 199.233.90.72]: errno=Operation timed out<br />
</b><br />
<br />
In addition, GITHOST was set to avalon.dragonflybsd.org (set GITHOST=avalon.dragonflybsd.org)<br />
<br />
git.dragonflybsd.org and avalon.dragonflybsd.org are accessible from a web browser.<br />
<br />
I am eager to try df-3.4.1<br />
<br />
Thanks for your advise.</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=23">Other BSD and UNIX/UNIX-like</category>
			<dc:creator>sgt_learn</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7909</guid>
		</item>
		<item>
			<title>QEMU 1.5: GPU pass-through and ARM support</title>
			<link>http://www.daemonforums.org//showthread.php?t=7908&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 17:52:18 GMT</pubDate>
			<description>From  http://h-online.com/-1866327 
 
 
---Quote--- 
The recently released QEMU 1.5 supports virtualisation with KVM on the Cortex A15 series of ARM...</description>
			<content:encoded><![CDATA[<div>From  <a href="http://h-online.com/-1866327" target="_blank">http://h-online.com/-1866327</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				The recently released QEMU 1.5 supports virtualisation with KVM on the Cortex A15 series of ARM cores. Another new addition is an experimental feature for passing through graphics chips from the host to the guest via VFIO; however, the feature is currently only thought to work reliably with some of the graphics chips. Both features rely on Linux kernel support that became available with Linux 3.9.
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7908</guid>
		</item>
		<item>
			<title>Continuous database migration with Liquibase and Flyway</title>
			<link>http://www.daemonforums.org//showthread.php?t=7907&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 08:35:49 GMT</pubDate>
			<description><![CDATA[From http://h-online.com/-1860080 
 
 
---Quote--- 
An application's version-controlled source code is stored in the repository. Why not that of the...]]></description>
			<content:encoded><![CDATA[<div>From <a href="http://h-online.com/-1860080" target="_blank">http://h-online.com/-1860080</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				An application's version-controlled source code is stored in the repository. Why not that of the database? To reproduce arbitrary database states in development, test or production environments, two powerful Java libraries are at hand that can be seamlessly integrated into a build for an agile Continuous Delivery.
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7907</guid>
		</item>
		<item>
			<title>NetBSD NetBSD 6.1 and 6.0.2 released</title>
			<link>http://www.daemonforums.org//showthread.php?t=7906&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 12:35:34 GMT</pubDate>
			<description>From http://h-online.com/-1866077 
 
 
---Quote--- 
The NetBSD Foundation has announced the first feature update of NetBSD 6 in the form of NetBSD...</description>
			<content:encoded><![CDATA[<div>From <a href="http://h-online.com/-1866077" target="_blank">http://h-online.com/-1866077</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				The NetBSD Foundation has announced the first feature update of NetBSD 6 in the form of NetBSD 6.1. The changes in 6.1 include fixes in the kernel for processes with attributes. Networking gets fixes for &quot;atomic fragments&quot; in IPv6, fixes for locking issues in the ipf packet filter, many changes to the npf packet filter library and a correction to the VirtIO NIC driver which had been crashing recent QEMU versions. Filesystem changes include various fixes and working big-endian support for smbfs and an ability to mount ext2fs and msdosfs in 32-bit compat mode.<br />
<br />
[snip]<br />
...the ARM platform now has &quot;greatly improved&quot; support for the Raspberry Pi, with both USB and on-board Ethernet networking functioning, ......
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=40">News</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7906</guid>
		</item>
		<item>
			<title>OpenBSD multicast</title>
			<link>http://www.daemonforums.org//showthread.php?t=7905&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 10:43:39 GMT</pubDate>
			<description><![CDATA[How to send multicast datagram via non-default network interface? 
I try this: 
 
Code: 
--------- 
#include <sys/types.h> 
#include <sys/socket.h>...]]></description>
			<content:encoded><![CDATA[<div>How to send multicast datagram via non-default network interface?<br />
I try this:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#include &lt;sys/types.h&gt;<br />
#include &lt;sys/socket.h&gt;<br />
#include &lt;sys/stat.h&gt;<br />
#include &lt;netinet/in.h&gt;<br />
#include &lt;arpa/inet.h&gt;<br />
#include &lt;err.h&gt;<br />
#include &lt;fcntl.h&gt;<br />
#include &lt;netdb.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;stdlib.h&gt;<br />
#include &lt;string.h&gt;<br />
#include &lt;unistd.h&gt;<br />
<br />
#define IFACE_ADDR&nbsp; &nbsp; &nbsp; &quot;192.168.2.1&quot;<br />
#define MCAST_ADDR&nbsp; &nbsp; &nbsp; &quot;239.1.2.3&quot;<br />
#define MCAST_PORT&nbsp; &nbsp; &nbsp; 1234<br />
<br />
int main(void)<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; struct sockaddr_in&nbsp; &nbsp; &nbsp; ifaddr, mcaddr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; int&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  sock, on;<br />
&nbsp; &nbsp; &nbsp; &nbsp; char&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; msg[] = &quot;test test test&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; err(1, &quot;socket&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; on = 1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &amp;on, sizeof on) == -1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; err(1, &quot;setsockopt(SO_REUSEADDR)&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ifaddr.sin_addr.s_addr = inet_addr(IFACE_ADDR);<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (setsockopt(sock, IPPROTO_IP, IP_MULTICAST_IF,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;ifaddr.sin_addr.s_addr, sizeof(ifaddr.sin_addr.s_addr)) == -1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; err(1, &quot;setsockopt(IP_MULTICAST_IF)&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; memset(&amp;mcaddr, 0, sizeof mcaddr);<br />
&nbsp; &nbsp; &nbsp; &nbsp; mcaddr.sin_family = AF_INET;<br />
&nbsp; &nbsp; &nbsp; &nbsp; mcaddr.sin_addr.s_addr = inet_addr(MCAST_ADDR);<br />
&nbsp; &nbsp; &nbsp; &nbsp; mcaddr.sin_port = (unsigned short)htons(MCAST_PORT);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (sendto(sock, msg, sizeof msg, 0,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (struct sockaddr *)&amp;mcaddr, sizeof mcaddr) == -1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; err(1, &quot;sendto&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; close(sock);<br />
&nbsp; &nbsp; &nbsp; &nbsp; return (0);<br />
}</code><hr />
</div>but allways get &quot;sendto: No route to host&quot;.</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=28">Programming</category>
			<dc:creator>unkmail</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7905</guid>
		</item>
		<item>
			<title>Joomla FreeBSD port file permissions</title>
			<link>http://www.daemonforums.org//showthread.php?t=7904&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 04:31:33 GMT</pubDate>
			<description>The FreeBSD port of Joomla 2.5.11 has the file ownership and permissions of the joomla directories 
set as: 
 
Code: 
--------- 
drwxr-xr-x   4 root ...</description>
			<content:encoded><![CDATA[<div>The FreeBSD port of Joomla 2.5.11 has the file ownership and permissions of the joomla directories<br />
set as:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">drwxr-xr-x&nbsp;  4 root&nbsp; wheel</code><hr />
</div>The files are:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">-r--r--r--&nbsp; 1 www&nbsp;  www</code><hr />
</div>Because of these restricted permissions the Joomla configuration, done through the Joomla web-based PHP code, fails. <br />
The Apache webserver runs as user <b>www</b> and thus cannot modify/write the configuration and remove the Joomla installation directory, that for the sake of security, needs to be done.<br />
<br />
So the only way out is to temporarily loosen the permissions and then restore them after configuration. <br />
<br />
Is this normal or am I missing something? ;)</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=36">General software and network</category>
			<dc:creator>J65nko</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7904</guid>
		</item>
		<item>
			<title>Unexpected / Inconsistent shell behaviour</title>
			<link>http://www.daemonforums.org//showthread.php?t=7903&amp;goto=newpost</link>
			<pubDate>Mon, 20 May 2013 00:55:59 GMT</pubDate>
			<description>A while ago I was working with a system shell script and encountered a really unexpected result when I tried to do something a certain way. Below...</description>
			<content:encoded><![CDATA[<div>A while ago I was working with a system shell script and encountered a really unexpected result when I tried to do something a certain way. Below I've distilled it into a simple example.  Odd shell behaviour of some sort has been discussed on this forum before, but I couldn't find it, so I hope this isn't a duplicate discussion.<br />
<br />
Consider the following example script for a Bourne-like shell:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><font color="Red">#!/path/to/shell</font><br />
<br />
VAR=Old<br />
<br />
echo A | while read REPLY; do<br />
<br />
&nbsp; &nbsp; echo Here<br />
<br />
&nbsp; &nbsp; VAR=New<br />
<br />
done<br />
<br />
echo VAR = $VAR</code><hr />
</div>Note that the first line of the script (in <font color="Red">red</font>) shouldn't be used literally.  Replace it with paths to various Bourne-like shells to be tested.<br />
<br />
At this point, to get the most out of this, you shouldn't read past the end of this paragraph. Just study the script above and decide what you think the output should be. Then come back and read the rest of the post. No cheating now, look at the script first. ;)<br />
<br />
<b>Unexpected Behaviour</b><br />
<br />
When I ran the script on &quot;most&quot; shells, the output was totally unexpected.  It gave this:<br />
<br />
<code style="background-color: #dee3e7; padding: .2px; margin: .1em; width: 99%; display: inline;"><samp></samp> <kbd>Here</kbd></code><br />
<code style="background-color: #dee3e7; padding: .2px; margin: .1em; width: 99%; display: inline;"><samp></samp> <kbd>VAR = Old</kbd></code><br />
<br />
Note that since it prints &quot;Here&quot;, the script does go into the do loop where VAR gets set to New. Yet upon exiting the loop, VAR is back to the &quot;Old&quot; value!  It's as if what happens in the loop is somehow quite local, and is lost after leaving the loop.  I got this weird behaviour with the following shells:<br />
<br />
      bash<br />
      sh NetBSD<br />
      ksh NetBSD<br />
      ksh OpenBSD<br />
      sh  SunOS<br />
<br />
<b>Expected Behaviour</b><br />
<br />
The output I'd expected was this:<br />
<br />
<code style="background-color: #dee3e7; padding: .2px; margin: .1em; width: 99%; display: inline;"><samp></samp> <kbd>Here</kbd></code><br />
<code style="background-color: #dee3e7; padding: .2px; margin: .1em; width: 99%; display: inline;"><samp></samp> <kbd>VAR = New</kbd></code><br />
<br />
After checking more shells, this output <u>was</u> produced by:<br />
<br />
         ksh93 CentOS<br />
         ksh SunOS<br />
<br />
One conclusion is that Bourne-like shells are not consistent about this.<br />
<br />
Question: Is the &quot;locality&quot; of the unexpected output intended and is it documented somewhere?  I looked at some man pages a bit and didn't find anything, but maybe it's subtle or I plain missed it.<br />
<br />
Thanks for reading, and for any comments.</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=28">Programming</category>
			<dc:creator>IdOp</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7903</guid>
		</item>
		<item>
			<title>GUI for MYSQL55</title>
			<link>http://www.daemonforums.org//showthread.php?t=7902&amp;goto=newpost</link>
			<pubDate>Sat, 18 May 2013 01:20:57 GMT</pubDate>
			<description><![CDATA[Hi, 
I search GUI tools for Mysql55 on freebsd 9.1p3, because mysql_workbench52 is not supported. 
 
Code: 
--------- 
===> ...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I search GUI tools for Mysql55 on freebsd 9.1p3, because mysql_workbench52 is not supported.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">===&gt;&nbsp; mysql-workbench-oss52-5.2.1_8 cannot install: does not work with MySQL version 55 (MySQL 41 55 not supported).</code><hr />
</div>where are a software GUI tools for Mysql 55 ?<br />
<br />
regards<br />
Phil<br />
<br />
<br />
<br />
<br />
Bi quad Opteron</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=8">FreeBSD Ports and Packages</category>
			<dc:creator>philo_neo71</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7902</guid>
		</item>
		<item>
			<title><![CDATA[don't detect keyboard]]></title>
			<link>http://www.daemonforums.org//showthread.php?t=7901&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 17:22:05 GMT</pubDate>
			<description><![CDATA[hi, 
Since 2 days ago, i have the keyboard don't detected by Freebsd 9.1 (i686). 
at boot time the keyboard can selected item boot menu, 
but after...]]></description>
			<content:encoded><![CDATA[<div>hi,<br />
Since 2 days ago, i have the keyboard don't detected by Freebsd 9.1 (i686).<br />
at boot time the keyboard can selected item boot menu,<br />
but after gnome2 started the keyboard don't work. I search,<br />
how to plug keyboard for active it under x-windows manager Gnome2.<br />
i try with another keyboard. The keyboard interface is PS/2.<br />
i try to activate keyboard under x, the keyboard declaration are corrects,<br />
fr and usa. the Mouse are working. i can do ssh commands by another host for to change parametres keyboard files configuration.<br />
<br />
<br />
<br />
regards<br />
Philippe</div>

]]></content:encoded>
			<category domain="http://www.daemonforums.org//forumdisplay.php?f=7">FreeBSD General</category>
			<dc:creator>philo_neo71</dc:creator>
			<guid isPermaLink="true">http://www.daemonforums.org//showthread.php?t=7901</guid>
		</item>
	</channel>
</rss>
