<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>letoh’s workshop</title>
	<atom:link href="http://letoh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://letoh.wordpress.com</link>
	<description>備份用，建議到主站(http://vision.twbbs.org/~letoh/blog/)留言</description>
	<lastBuildDate>Sat, 31 Oct 2009 10:51:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='letoh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/fe1ad37efef414e25c45465930686f1e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>letoh’s workshop</title>
		<link>http://letoh.wordpress.com</link>
	</image>
			<item>
		<title>Test Yourself</title>
		<link>http://letoh.wordpress.com/2009/10/31/test-yourself/</link>
		<comments>http://letoh.wordpress.com/2009/10/31/test-yourself/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 10:51:14 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[forth]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2009/10/31/test-yourself/</guid>
		<description><![CDATA[
超過半年沒新文章了XD
每次看著空虛的 blog 就想把一些庫存丟出來充充版面，但有些內容過了該發表的時間點就沒什麼動力寫完，只好繼續讓 blog 就這樣晾著。沒寫文章的這陣子，程式也沒多寫，大概都把時間耗在 plurk 和 irc 上了 (也撥了一些時間看看土曜劇和晨間劇啦)。倒是最近遇到一個想用 forth 寫輸入法的狂熱份子，又喚醒我心中的 forth 魂了。


forth 毫無疑問是我最喜愛的程式語言，但本 blog 的 forth 分類卻只有屈指可數的兩篇文章。實在是因為我除了把 forth 當作頭腦體操外，根本很少使用 forth 來寫正式的程式 (而且功力也差&#8230;)。話雖如此，閒暇時仍舊會在 google 上搜尋相關資料，思考著怎麼利用在 forth 中的體會，幫助其他開發工作。但大多數時間還是抱著好玩的心態來看 forth，偶爾想到就會找出來玩一下。
這次嘗試了 reva 這套 forth engine，雖然提供了很多方便的函式庫，但卻不相容於 ANS 標準，所以一開始吃了不少苦頭。花了一點時間看了實作，再把以前在 pforth 上寫的練習程式移植到 reva 後，慢慢搞清楚 reva 與 ans 之間的差異了 (有些 word 的確方便多了)。
另外就是玩一下 ffi 的部份。第一個練習就是來個 vte，根據 caleb 提供的範例程式改寫一下 (去掉 turnkey 的部份)：

" libvte.so" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=223&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2009/10/31/test-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>

		<media:content url="http://static.zooomr.com/images/8430671_acb5c5c1e5_m.jpg" medium="image" />
	</item>
		<item>
		<title>Line wrap in Emacs</title>
		<link>http://letoh.wordpress.com/2009/02/12/line-wrap-in-emacs/</link>
		<comments>http://letoh.wordpress.com/2009/02/12/line-wrap-in-emacs/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 18:54:15 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2009/02/12/line-wrap-in-emacs/</guid>
		<description><![CDATA[在大部份的編輯器中，對付太長的文字列通常用的是自動換行 (line wrap)，就我目前所知，在 Emacs 中有以下幾種不同方式可以選擇：

Line wrap
預設行為即是一般常見的 line wrap。在這種環境下的文字內容並不會被更動，僅在顯示時將超出視窗邊界的部份顯示在下一行，同時在換行處加上一個記號 (如箭頭標示處)：




在切割視窗時情況不同：




可以設定一下得到相同行為：

(setq truncate-partial-width-windows nil)





Truncation
打開 truncate line 以後，超出視窗邊界的部份不顯示，同時會在邊界處顯示一個特殊符號作為識別 (與 line wrap 時用的符號不同)。一般適合在寫程式的時候使用

M-x toggle-truncate-lines





也可以寫到 .emacs

(setq default-truncate-lines t)

為了方便可以設個快速鍵：

(global-set-key [f11] 'toggle-truncate-lines)

Filling text
fill 是破壞性操作，會根據 fill-column 的值強制在特定位置插入換行字元。手動操作時只需要按下 M-q 即可，或是乾脆啟用 auto fill：

M-x auto-fill-mode





fill-column
換行寬度可以自行修改，因為設定 fill-column 要求一個數值當作參數，：

C-u 60 M-x set-fill-column

或

C-u 60 C-x f

fill-prefix
fill-prefix 的內容會自動加到被修改的文字列前面，預設為 nil (代表換行後前面不加任何字)。假設 fill-prefix 為 &#34;&#8230; &#34;，則換行後會在該列最前面加上 &#34;&#8230; &#34;。
設定這個參數可以用 set-fill-prefix 或 C-x .，要注意的是這個動作會將游標所在位置前的同列文字設為 fill-prefix，若在斷行處操作，則整列文字都會被採用。因此我建議透過 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=222&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2009/02/12/line-wrap-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>

		<media:content url="http://static.zooomr.com/images/6874459_a2531aa8d2_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874460_9cfe23b9cc_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874461_1a55f9280b_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874462_a9c143280d_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874463_fbdeea5aed_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874464_44efd54cc1_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874465_064b4aea36_m.jpg" medium="image" />

		<media:content url="http://static.zooomr.com/images/6874466_ddcf16bcb8_m.jpg" medium="image" />
	</item>
		<item>
		<title>透過 Outline mode 編輯 Muse 文稿內容</title>
		<link>http://letoh.wordpress.com/2009/02/05/%e9%80%8f%e9%81%8e-outline-mode-%e7%b7%a8%e8%bc%af-muse-%e6%96%87%e7%a8%bf%e5%85%a7%e5%ae%b9/</link>
		<comments>http://letoh.wordpress.com/2009/02/05/%e9%80%8f%e9%81%8e-outline-mode-%e7%b7%a8%e8%bc%af-muse-%e6%96%87%e7%a8%bf%e5%85%a7%e5%ae%b9/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 14:23:41 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2009/02/05/%e9%80%8f%e9%81%8e-outline-mode-%e7%b7%a8%e8%bc%af-muse-%e6%96%87%e7%a8%bf%e5%85%a7%e5%ae%b9/</guid>
		<description><![CDATA[前陣子在使用 muse 撰寫筆記的時候，總覺得要找標題不太方便，似乎也沒辦法透過 speedbar 顯示大綱，玩了半天就想到了 outline mode 這個好東西，剛好語法是一樣的，只要簡單配置一下就可以帶來很大的方便。測試了一下後加了一些設定：

(add-hook 'muse-mode-hook
	'(lambda ()
	   (outline-minor-mode t)))

(define-key muse-mode-map (kbd &#34;&#60;f5&#62;&#34;)  'outline-up-heading)
(define-key muse-mode-map (kbd &#34;&#60;f6&#62;&#34;)  'outline-backward-same-level)
(define-key muse-mode-map (kbd &#34;&#60;f7&#62;&#34;)  'outline-forward-same-level)
(define-key muse-mode-map (kbd &#34;&#60;f8&#62;&#34;)  'outline-next-heading)
(define-key muse-mode-map (kbd &#34;&#60;f12&#62;&#34;) 'outline-toggle-children)
(define-key muse-mode-map (kbd &#34;C-&#60;f12&#62;&#34;) 'outline-mark-subtree)

(define-key muse-mode-map (kbd &#34;C-&#60;f5&#62;&#34;) 'outline-promote)
(define-key muse-mode-map (kbd &#34;C-&#60;f6&#62;&#34;) 'outline-move-subtree-up)
(define-key muse-mode-map (kbd &#34;C-&#60;f7&#62;&#34;) 'outline-move-subtree-down)
(define-key muse-mode-map [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=221&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2009/02/05/%e9%80%8f%e9%81%8e-outline-mode-%e7%b7%a8%e8%bc%af-muse-%e6%96%87%e7%a8%bf%e5%85%a7%e5%ae%b9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
		<item>
		<title>Blogging with Emacs</title>
		<link>http://letoh.wordpress.com/2008/10/19/blogging-with-emacs-2/</link>
		<comments>http://letoh.wordpress.com/2008/10/19/blogging-with-emacs-2/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 14:24:22 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/10/19/blogging-with-emacs-2/</guid>
		<description><![CDATA[玩了幾個晚上，總算可以順利從 emacs 裡將文章送到 Blog 了。
自從開始用 emacs 後就一直改用 muse 在寫筆記和報告，設定好以後可以透過 LaTeX 轉換成 PDF 檔，相當方便。用習慣後也曾興起透過 muse 寫 Blog 的念頭，找了很多資料，也知道有很多人實作成功，但說真的要拿來用還是有點問題，主要還是 elisp 不熟，而且大部份的實作竟然都是直接在 emacs 裡寫 html 後送出去 (還有人推薦用 nxml)；就算直接在後台寫也有方便的 wysiwyg editor，但 emacs 還有 muse 這個好東西，何必那麼苦命呢。


目前的做法還是透過 xml-rpc 加 weblogger，後來找到有人針對 wordpress 的修改，安裝上並不難，只需稍微自訂一下就可以使用。
首先必須透過 weblogger-setup-weblog 建立設定檔，可以有多組設定，每一組設定會有一個名字作為識別。要注意的是預設並不儲存密碼，往後傳送資料時必須手動輸入。如果想偷懶可以設定一下 weblogger-save-password，建立設定資料時就會自動儲存密碼。
開始撰寫文章時先 M-x weblogger-start-entry，會自動建立簡單的樣板，填入 Subject 與內容即可。需要加上 Category 的話，可以在 header section 手動加入一行 &#34;Keywords: &#34;，各分類之間以逗點分隔 (必須是 server 上存在的 Category 名稱)。目前似乎還不支援 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=209&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/10/19/blogging-with-emacs-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs 發布測試</title>
		<link>http://letoh.wordpress.com/2008/10/17/emacs-%e7%99%bc%e5%b8%83%e6%b8%ac%e8%a9%a6/</link>
		<comments>http://letoh.wordpress.com/2008/10/17/emacs-%e7%99%bc%e5%b8%83%e6%b8%ac%e8%a9%a6/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 17:33:04 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[ACG]]></category>
		<category><![CDATA[Note]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/?p=167</guid>
		<description><![CDATA[test for blogging with emacs
透過 emacs 來寫 blog
Todo:

fetch entry 後，延伸閱讀以後的資料會抓不到 (也許是透過 rss/atom 抓 description 而已)，此時再存檔的話，當初沒抓下來的資料就會變成光了
拿掉 auto-fill-mode
整合 muse (目前看到有日本人實作過)，這樣等於間接把 local preview 做好
multi-server configuration
categories auto-completion (以前用 python 寫過，但現在得用 elisp 寫&#8230;囧rz)
自訂 ping-slug (印象中在 api 裡有看到)

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=167&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/10/17/emacs-%e7%99%bc%e5%b8%83%e6%b8%ac%e8%a9%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
		<item>
		<title>統計檔案大小</title>
		<link>http://letoh.wordpress.com/2008/08/31/%e7%b5%b1%e8%a8%88%e6%aa%94%e6%a1%88%e5%a4%a7%e5%b0%8f/</link>
		<comments>http://letoh.wordpress.com/2008/08/31/%e7%b5%b1%e8%a8%88%e6%aa%94%e6%a1%88%e5%a4%a7%e5%b0%8f/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 09:01:09 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Note]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/08/31/%e7%b5%b1%e8%a8%88%e6%aa%94%e6%a1%88%e5%a4%a7%e5%b0%8f/</guid>
		<description><![CDATA[
隨手寫了一個 script，用來統計檔案大小


	#!/usr/bin/perl -p
	BEGIN { my $total = 0; }
	/(\d+)/; $total += $1;
	END { print &#8220;Total: $total\t&#8221; . ($total / 1024) . &#8220;M\n&#8221;; }
	

存成 ts 後可以搭配 du 或 ls -s 使用，或者是輸出為每一行開頭有數字的任何指令，例如 seq 或 nl：


	$ seq 5 &#124; ts
	$ ls / &#124; nl &#124; ts
	

當然這只是好玩而已，沒什麼實際用途


突然想到這幾年陸續接觸了幾種不同的程式語言，包括平日使用最多的 python。但日常使用其實很少出現複雜的應用，大多數情況用 perl 處理起來還是簡潔多了 (雖然這個 perl script 寫得有點像 awk script&#8230;)


最後附一下 awk 版：


	BEGIN { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=166&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/08/31/%e7%b5%b1%e8%a8%88%e6%aa%94%e6%a1%88%e5%a4%a7%e5%b0%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
		<item>
		<title>Lilytan v0.1 released!!</title>
		<link>http://letoh.wordpress.com/2008/08/24/lilytan-v01-released/</link>
		<comments>http://letoh.wordpress.com/2008/08/24/lilytan-v01-released/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 14:32:42 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/08/24/lilytan-v01-released/</guid>
		<description><![CDATA[
今天花了將近四小時接生，終於把 Lilytan 生出來啦！


身為一個重度 CLI 使用者 (自稱)，有一個穩定好用的 terminal emulator 在手是相當重要的。以前習慣使用的是 mrxvt，但可惜的是不支援 UTF-8，在操作日文檔案時相當不便；後來有一陣子改用 xfce 內附的 Terminal 程式，大致上不錯，但常有一些小問題很難搞定，例如按鍵與 termcap 相關設定，使得部份程式的快速鍵會有問題。前陣子突然冒出一堆以 libvte 來實作的 terminal，試用之後發現有兩個還不錯，分別是 evilvte 和 lilyterm。


目前比較慣用的是 lilyterm，對我來說只要滿足：


UTF-8 支援
編碼設定
Tab 支援
emacs 與 vim 的按鍵正常


就是一個不錯的 terminal emulator。基本上以 libvte 的話就可以滿足大部份需求，但我選擇這兩套還有一個重大原因：開發很活躍，而且原作者很好找，bug report 方便 


今天在閒聊時扯到 OS-tan，催生 Lilytan 的構想便油然而生。把塵封已久的 tablet 拿出來拍拍灰塵，大概半個小時就把草圖畫好。不過既然都動手了，還是決定認真練習一下在 GIMP 中繪製 CG 的方法。經過將近三個小時的 &#8221;refactoring&#8221; 後，把一些部件拆開重新調整一下、製作 mask、加上陰影，看起來色彩豐富多了。不過因為很少畫 Q 版人物造型，所以整體看來還有進步空間&#8230;(藉口 藉口 藉口&#8230;)


Lilytan 的設定中其實有個鍵盤配件，而且也畫好了。但因為今天是第一次登場，所以來點殺必死，以泳裝造型亮相





大家要多多支持 Lilytan 喔！
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=165&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/08/24/lilytan-v01-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>

		<media:content url="http://lh4.ggpht.com/letoh.tw/SLFldPl2oJI/AAAAAAAAAZw/_a1c0PbUML0/s288/lilytan.jpg" medium="image" />
	</item>
		<item>
		<title>VirtualBox 1.6.2</title>
		<link>http://letoh.wordpress.com/2008/06/22/virtualbox-162/</link>
		<comments>http://letoh.wordpress.com/2008/06/22/virtualbox-162/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 14:34:55 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Note]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/06/22/virtualbox-162/</guid>
		<description><![CDATA[
由於 sane 不支援我的 scanner，為了試試透過 virtualbox 存取 scanner，這兩天在家把新版裝起來玩&#8230;


根據網路上看到的使用心得，新的 1.6.2 版似乎在 usb 的支援上增強不少，但為了在 guest OS 裡抓到 usb device 也費了不少工夫，一度還以為只有 windows 版才有改進&#8230;搞了一個下午才順利偵測到 scanner


網路沒設，主要是處理 usb 的部份，記錄一下大概的步驟：


新增 usbusers 群組，把自己的帳號加進去
修改 /etc/rc.d/rc.S 中 mount usbfs 的命令，加上 -o devgid=&#60;gid of usbusers&#62;,devmode=664 (我用的 distro 是 Slackware)
修改 /etc/udev/rules.d/65-permissions.rules，加一行 SUBSYSTEM=="usb_device", GROUP="usbusers", MODE="0664"
在 virtualbox 中加入 usb device filter (vid 和 pid 可以透過 lsusb 查到)


處理完以後啟動 guest OS 就可以抓到 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=164&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/06/22/virtualbox-162/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>

		<media:content url="http://lh4.ggpht.com/letoh.tw/SF5d_eA46kI/AAAAAAAAASQ/xefykGNy8W8/s288/working5.jpg" medium="image" />
	</item>
		<item>
		<title>libreadline.so.5: undefined symbol: PC</title>
		<link>http://letoh.wordpress.com/2008/06/21/libreadlineso5-undefined-symbol-pc/</link>
		<comments>http://letoh.wordpress.com/2008/06/21/libreadlineso5-undefined-symbol-pc/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 16:54:02 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Note]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/06/21/libreadlineso5-undefined-symbol-pc/</guid>
		<description><![CDATA[
這兩天在 slackware 12.1 環境編譯一個有用到 readline 的程式，可是搞了老半天編譯好的程式都沒有 readline 跟 history 的功能。測試一下發現會出現 undefined symbol 的訊息，按照 maillist 上提供的指令 ldd -d -r /usr/lib/libreadline.so.5.2 出現這些訊息：


	undefined symbol: PC    (/usr/lib/libreadline.so.5.2)
	undefined symbol: UP    (/usr/lib/libreadline.so.5.2)
	undefined symbol: BC    (/usr/lib/libreadline.so.5.2)
	undefined symbol: tgetflag      (/usr/lib/libreadline.so.5.2)
	undefined symbol: tgetent       (/usr/lib/libreadline.so.5.2)
	undefined [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=163&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/06/21/libreadlineso5-undefined-symbol-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
		<item>
		<title>Device driver check page</title>
		<link>http://letoh.wordpress.com/2008/06/15/device-driver-check-page/</link>
		<comments>http://letoh.wordpress.com/2008/06/15/device-driver-check-page/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 09:52:25 +0000</pubDate>
		<dc:creator>letoh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Note]]></category>

		<guid isPermaLink="false">http://letoh.wordpress.com/2008/06/15/deice-driver-check-page/</guid>
		<description><![CDATA[Debian GNU/Linux device driver check page
在 kerneltrap 上看來的網站，把 lspci -n 的結果丟進去即可，相當方便
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=letoh.wordpress.com&blog=120288&post=161&subd=letoh&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://letoh.wordpress.com/2008/06/15/device-driver-check-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cbddc0e588fea8f1e75344779813be64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">letoh</media:title>
		</media:content>
	</item>
	</channel>
</rss>