<?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>Hao&#039;s Blog &#187; unix</title>
	<atom:link href="http://www.haostudio.idv.tw/blog/?cat=21&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://www.haostudio.idv.tw/blog</link>
	<description>小豪的日誌</description>
	<lastBuildDate>Thu, 10 Nov 2016 10:53:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>在Samba中新增一個目錄, 讓Windows User不需帳號也能存取</title>
		<link>https://www.haostudio.idv.tw/blog/?p=409</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=409#comments</comments>
		<pubDate>Mon, 21 Jun 2010 06:37:34 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[架站]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=409</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

最近有個需求, 就是要在Samba server 中開啟一個shared的目錄, 讓Windows 的User沒有帳號, 也可以存取此目錄.
感覺上是個簡單的問題, 但是我卻搞了好久才搞定&#8230;.
首先在Samba有開一個shared的目錄, 權限如下:

[shared]
        path = /home/shared
        writeable = no
        browseable = yes
        guest ok = yes

設定完後, 重新啟用samba, [...]]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=409</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安裝SID Simulator 到CentOS 5.2中</title>
		<link>https://www.haostudio.idv.tw/blog/?p=406</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=406#comments</comments>
		<pubDate>Fri, 11 Jun 2010 02:22:04 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[EDA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[embedded system]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=406</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

首先參考這裡,  去抓SID 的source code.
我抓的檔是:sid-20100601.tar.bz2
在Linux 中, 建立一個目錄src, 並將SID 的source code放到這個目錄.
然後將下面的code 存成build_sid.sh, 並且和SID 的source code 放在一起.

#!/bin/bash
INSTALL_PATH=~/bin/sid
SID_TAR_BALL=sid-20100601.tar.bz2

#
# Variables
#
BUILD_DIR=build
SRC_DIR=sid_src
#
# Remove old install-directory then create new
#
if [ -d ${INSTALL_PATH} ]; then
    rm -rf ${INSTALL_PATH}/*
else
    mkdir -p ${INSTALL_PATH}
fi

#
# Create source directory
#
if [ -d ${SRC_DIR} ]; then
    rm [...]]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=406</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crossplatform chm reader</title>
		<link>https://www.haostudio.idv.tw/blog/?p=400</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=400#comments</comments>
		<pubDate>Mon, 26 Apr 2010 02:05:34 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=400</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

真不錯, 幾乎所有平台都有xchm.
http://xchm.sourceforge.net/index.html
在MAC 下, 最簡單的方式就是用macport 來安裝.
sudo port install xchm

2010/05/05 更新.
@@##xxx用port install 竟然失敗, 卡在python 有問題, 過不了&#8230;..算了, 還是裝別人編譯好的檔來用吧~~
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=400</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synergy+ : Share Keyboard &amp; Mouse (支援Windows/Linux/MacOS)</title>
		<link>https://www.haostudio.idv.tw/blog/?p=388</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=388#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:24:21 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MAC]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=388</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

剛剛才找到的一個非常實用的軟體: 讓兩部電腦共用Keyboard &#038; Mouse. (螢幕沒有共用)
Synergy+
他是Synergy的延伸版本. 因為Synergy 在2006年以後就沒有再改版了.
而Synergy+ 是基於Synergy改版而來的. 到目前為止還有持續在改版喔~~
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=388</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Cygwin中安裝wxWidgets</title>
		<link>https://www.haostudio.idv.tw/blog/?p=383</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=383#comments</comments>
		<pubDate>Wed, 25 Nov 2009 09:48:56 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=383</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

繼在Linux中安裝wxWidgets之後,
現在又有需求將wxWidgets裝在Cygwin中.
(1) 先到http://www.cygwin.com/下載並安裝cygwin. 我目前裝的是1.7 beta版. 並且所有的套件全部裝上, 以免缺東缺西的很討厭. 反正我HDD夠大,沒差那1,2GB
(2) 到http://www.wxwidgets.org/下載wxWidgets source code. 我目前用的是wxX11-2.8.10.tar.gz. 並將其copy到Cygwin 中的$HOME/src
(3)因為我只想將wxWidget中安裝給自己使用, 所以目標是將wxWidget裝在自己的home directory.
(4) 新增一個檔案叫做install_wx_cygwin.sh 在$HOME/src中, 內容如下:

#!/bin/bash
export CFLAGS=-mno-cygwin
export CPPFLAGS=-mno-cygwin
export CXXFLAGS=-mno-cygwin
export LDFLAGS="-mno-cygwin -mwindows"
./configure --prefix=$HOME --with-msw --enable-unicode --disable-shared --enable-std_iostreams --disable-precomp-headers --without-expat
make
make install
make samples

(5) 接下來在Cygwin中執行的操作如下:

cd $HOME/src
chmod +x install_wx_cygwin.sh
tar -zxvf wxX11-2.8.10.tar.gz
cd wxX11-2.8.10
../install_wx_cygwin.sh

(6)裝完後, 將環境變數的PATH新增$HOME/bin 即可
參考文章http://wiki.wxwidgets.org/Cygwin
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=383</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux下, 又一個好用的editor, Kate</title>
		<link>https://www.haostudio.idv.tw/blog/?p=365</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=365#comments</comments>
		<pubDate>Wed, 23 Sep 2009 11:11:44 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[FreeSoftware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=365</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

剛剛在一台新裝CentOS 5.2 中, 臨時要用一個text editor來看C/C++ 的code.
又很懶得去裝 jedit/MadEdit/Geany 等這些軟體.
所以就很順手的使用了gedit.
雖然gedit還算可以, 但是總沒有我想要的功能: 『C/C++ symbol viewer』
剛剛才發現, 原來用yum 安裝kdeaddons 套件後, 可以使用kde 的一套text editor, 叫做kate.
它內建的plug-in就有』C/C++ symbol viewer』的功能&#8230;..耶~~ 還不錯用喔,  如下圖.

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=365</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>將cygwin 的default shell 改成rxvt</title>
		<link>https://www.haostudio.idv.tw/blog/?p=346</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=346#comments</comments>
		<pubDate>Fri, 31 Jul 2009 03:34:55 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=346</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

在裝完cygwin後, 修改c:\cygwin\cygwin.bat
改成如下:

@echo off

C:
chdir C:\cygwin\bin
rxvt -fn "Lucida Console-14" -e bash --login -i
rem bash --login -i

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=346</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用tar來取代cp的動作</title>
		<link>https://www.haostudio.idv.tw/blog/?p=327</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=327#comments</comments>
		<pubDate>Mon, 13 Jul 2009 15:27:03 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=327</guid>
		<description><![CDATA[



(adsbygoogle = window.adsbygoogle &#124;&#124; []).push({});

在solaris 中, 好像無法使用cp -a的指令.
但是我又想把某目錄下的所有檔案(含owner, group, 及所有屬性)copy到另一個目錄下.
記得以前看過可以用tar來完成這件事.
找了一下, 可以使用下列方式完成.
原cp 的使用方式如下
sudo cp -Rp &#60;source&#62;  &#60;target&#62;

改成tar的使用方式如下
sudo tar cf - &#60;source&#62; &#124; ( cd &#60;target&#62; tar xfp - )

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=327</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSolaris for ARM</title>
		<link>https://www.haostudio.idv.tw/blog/?p=246</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=246#comments</comments>
		<pubDate>Wed, 10 Jun 2009 08:13:10 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[embedded system]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=246</guid>
		<description><![CDATA[剛剛看到這個消息:First OpenSolaris ARM release
專案網址:OpenSolaris Project: ARM Platform Port
而且支援ZFS喔, 看來以後embedded system 的OS又多一個選擇了.

]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=246</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>讓Linux/Solaris 進入Single User Mode (for GRUB only)</title>
		<link>https://www.haostudio.idv.tw/blog/?p=231</link>
		<comments>https://www.haostudio.idv.tw/blog/?p=231#comments</comments>
		<pubDate>Wed, 27 May 2009 07:36:02 +0000</pubDate>
		<dc:creator>hao</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.haostudio.idv.tw/blog/?p=231</guid>
		<description><![CDATA[由於自己常常忘記該如何進入single user mode.
所以就把它記在blog.

開機後, 看到Grub畫面時,將光棒移到要開機的選項, 按下&#8217;e'鍵

將光棒移到』kernel &#8230;&#8230;』那一行, 按下&#8217;e'鍵, 來編輯kernel boot 的參數

在參數的最後面加上』-s』, 意即進入single user mode的意思.

輸入完後, 按』enter』回到選單畫面, 然後按下&#8217;b'鍵, 載入kernel.

然後, 嘿嘿~~ 就可以為所欲為了~~ 自己想像吧.
]]></description>
		<wfw:commentRss>https://www.haostudio.idv.tw/blog/?feed=rss2&amp;p=231</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
